Description Usage Arguments Examples
Download and install the latest versions of packages hosted on CRAN as of a specific date from the MRAN server.
1 | install.dates(pkgs, dates, lib, ...)
|
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 |
1 2 3 4 5 6 7 8 9 10 11 12 13 | ## 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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.