gen_snapshot: generate a lockfile from a requested set of packages

Description Usage Arguments Details

Description

generate a lockfile from a requested set of packages

Usage

1
gen_snapshot(pkgs, .dir = tempdir(), snapshot_tars = TRUE, ...)

Arguments

pkgs

packages to install

.dir

directory to use when generating the snapshot details

snapshot_tars

whether to snapshot the tars

...

params for packrat settings

Details

generate a packrat snapshot from a requested set of packages by mocking a project folder and letting packrat scan and generate a lockfile


dpastoor/pkglock documentation built on May 7, 2019, 8:24 a.m.