Closed elong0527 closed 1 year ago
In a CI/CD pipeline, we need to restore R packages from manifest.json using packrat.
manifest.json
I tried rsconnect:::addPackratSnapshot(".") but it seems not use manifest.json as source.
rsconnect:::addPackratSnapshot(".")
Could you guide a proper way to transfer manifest.json to packrat.lock or renv.lock file?
packrat.lock
renv.lock
In addition, the renv:::renv_lockfile_from_manifest seems have bugs.
renv:::renv_lockfile_from_manifest
https://github.com/rstudio/renv/issues/832
I believe the manifest.json is primarily for our internal use, and not something we expect others to use.
In a CI/CD pipeline, we need to restore R packages from
manifest.json
using packrat.I tried
rsconnect:::addPackratSnapshot(".")
but it seems not usemanifest.json
as source.Could you guide a proper way to transfer
manifest.json
topackrat.lock
orrenv.lock
file?In addition, the
renv:::renv_lockfile_from_manifest
seems have bugs.https://github.com/rstudio/renv/issues/832