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