| install.dates {versions} | R Documentation | 
install.dates
Description
Download and install the latest versions of packages hosted on CRAN as of a specific date from the MRAN server.
Usage
install.dates(pkgs, dates, lib, ...)
Arguments
pkgs | 
 character vector of the names of packages that should be downloaded and installed  | 
dates | 
 character or Date vector of the dates for which to install the
latest versions of   | 
lib | 
 character vector giving the library directories where to
install the packages. Recycled as needed. If missing, defaults to the
first element of   | 
... | 
 other arguments to be passed to   | 
Examples
## Not run: 
# install yesterday's version of checkpoint
install.dates('checkpoint', Sys.Date() - 1)
# install yesterday's versions of checkpoint and devtools
install.dates(c('checkpoint', 'devtools'), Sys.Date() - 1)
# install yesterday's version of checkpoint and the day before's devtools
install.dates(c('checkpoint', 'devtools'), Sys.Date() - 1:2)
## End(Not run)