# NOT RUN {
# }
# NOT RUN {
lock <- lockfile("renv.lock")
# set the repositories for a lockfile
lock$repos(CRAN = "https://cran.r-project.org")
# depend on digest 0.6.22
lock$add(digest = "digest@0.6.22")
# write to file
lock$write("renv.lock")
# }
Run the code above in your browser using DataLab