get.snowball {groundhog} | R Documentation |
Generates dataframe with all dependencies needed to install a package, in the order they will be loaded
Description
Generates dataframe with all dependencies needed to install a package, in the order they will be loaded
Usage
get.snowball(pkg, date, include.suggests = FALSE, force.install = FALSE)
Arguments
pkg |
character string, name of target package to load (and install if needed), |
date |
character string (yyyy-mm-dd), or date value, with the date which determines the version of the package, and all dependencies, to be loaded (and installed if needed). |
include.suggests |
logical, defaults to |
force.install |
logical, defaults to |
Value
a dataframe with all packages that need to be installed, their version , whether they are installed, where to obtain them if not locally available (CRAN vs MRAN), which date to use for MRAN, installation time from source (in seconds), and local path for storage
Examples
## Not run:
get.snowball("rio", "2020-07-12")
## End(Not run)