export_renv | R Documentation |
This function exports the results from resolve()
to a renv lockfile that can be used as an alternative to a docker container.
export_renv(rang, path = ".")
rang |
output from |
path |
character, path of the exported renv lockfile |
A renv lockfile is easier to handle than a docker container, but it cannot always reliably reproduce the exact computational environment,especially for very old code.
path
, invisibly
if (interactive()) {
graph <- resolve(pkgs = c("openNLP", "LDAvis", "topicmodels", "quanteda"),
snapshot_date = "2020-01-16")
export_renv(graph, ".")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.