get.snowball: Generates dataframe with all dependencies needed to install a...

View source: R/get.snowball.R

get.snowballR 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 FALSE. When set to TRUE, includes dependencies classified in the DESCRIPTION file as suggested.

force.install

logical, defaults to FALSE. When set to TRUE, the column installed in the generated snowball is set FALSE for all packages, causing them to be installed even if already installed.

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)

groundhog documentation built on Sept. 29, 2024, 9:06 a.m.