Description Usage Arguments Details See Also
Call snapshot()
to create a lockfile capturing the state of a project's
R package dependencies. The lockfile can be used to later restore these
project's dependencies as required. See the lockfile documentation for more
details on the structure of a lockfile.
1 2 |
project |
The project directory. If |
library |
The R library to snapshot. When |
lockfile |
The location where the generated lockfile should be written.
By default, the lockfile is written to a file called |
confirm |
Boolean; prompt the user before taking any action? |
When no project library is active, snapshot()
will capture only the
packages within use (as detected by dependencies()
) within a project.
Other reproducibility: lockfile
,
restore
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.