Description Usage Arguments Details
generate a lockfile from a requested set of packages
| 1 | gen_snapshot(pkgs, .dir = tempdir(), snapshot_tars = TRUE, ...)
 | 
| pkgs | packages to install | 
| .dir | directory to use when generating the snapshot details | 
| snapshot_tars | whether to snapshot the tars | 
| ... | params for packrat settings | 
generate a packrat snapshot from a requested set of packages by mocking a project folder and letting packrat scan and generate a lockfile
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.