export_renv: Export The Resolved Result As a renv Lockfile
Description
This function exports the results from resolve() to a renv lockfile that can be used as an alternative to a docker container.
Usage
export_renv(rang, path = ".")
Value
path, invisibly
Arguments
rang
output from resolve()
path
character, path of the exported renv lockfile
Details
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.