pkgsnap (version 1.0.0)

restore: Restore (=install) certain CRAN package versions

Description

Functions that were not installed from CRAN will not be restored, they will be ignored with a warning. The pkgsnap package itself is also ignored as it must be installed to run this function.

Usage

restore(from = "packages.csv", R = TRUE, ...)

Arguments

from

Name of a file created by snap. Alternatively a data frame with columns Package and Version.

R

If TRUE the target version of R must match. Otherwise it will only give a warning.

...

Additional arguments, passed to install.packages.