Initialise renv infrastructure in a project directory.
Usage
renvInitialise(
project_directory,
bioconductor = FALSE,
dependencies = character(),
sandbox = FALSE
)
Arguments
- project_directory
the project directory file path
- bioconductor
The version of bioconductor to use with the project. Set to TRUE to use the default version of Bioconductor.
- dependencies
additional package dependencies to install into the cache upon initialisation
- sandbox
Should sandboxing be enabled for
renv
? See therenv
config documentation for more information on sandboxing inrenv
.
Examples
if (FALSE) {
projectSkeleton(paste0(tempdir(),'/test_project'))
renvInitialise(paste0(tempdir(),'/test_project'))
}