powered by
Reads a {renv} lockfile (JSON format) and converts it to a manifesto-style TOML manifest. Extracts package versions and the R environment version.
{renv}
manifesto
manifest_from_renv(lockfile = "renv.lock", path, r_version)
Path to the generated TOML file (invisibly).
Path to a renv.lock JSON file. Defaults to 'renv.lock'.
renv.lock
'renv.lock'
Optional path to write the TOML manifest. Defaults to a temporary .toml file.
.toml
Optional R version settings. Defaults to version found in lockfile.
path <- manifest_from_renv(system.file(package = 'manifesto', 'renv.lock'))
Run the code above in your browser using DataLab