Description Usage Arguments Details
Use embed()
to embed a compact representation of an renv
lockfile
directly within a file, using use()
to automatically provision an
R library when that script is run.
1 |
path |
The path to an R or R Markdown script. |
... |
Unused arguments, reserved for future expansion. If any arguments
are matched to |
lockfile |
The path to an |
project |
The project directory. If |
Using embed()
is useful if you'd like to be able to share "reproducible"
R scripts – when these scripts are sourced, the generated call to
renv::use()
will ensure that an R library with the requested packages
is automatically provisioned.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.