if (FALSE) {
# create a lockfile from a Posit Connect 'manifest.json' file
lock <- lockfile(from = "manifest.json")
# convert a 'manifest.json' file and write 'renv.lock' in a single call
lockfile(from = "manifest.json", to = "renv.lock")
}
Run the code above in your browser using DataLab