Project Options
rv provides configurations for the project as well, including the ability to tune the lock file and a custom library location. These are used outside of the [project] header.
library- Specify a custom library location, optionally templated by R version or project nameuse_lockfile- Whether to use a lockfile or notlockfile_name- The name of the lockfile corresponding to the config file
Example Config File
Section titled “Example Config File”library = "/opt/rpkgs/{r_version}/{name}"use_lockfile = falselockfile_name = "custom.lock"[project]name = "project options"r_version = "4.5"repositories = [ { alias = "PPM", url = "https://packagemanager.posit.co/cran/latest" },]dependencies = [ "dplyr",]