renvInitialise: Initialise renv infrastructure

View source: R/renv.R

renvInitialiseR Documentation

Initialise renv infrastructure

Description

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 the renv config documentation for more information on sandboxing in renv.

Examples

## Not run: 
projectSkeleton(paste0(tempdir(),'/test_project'))
renvInitialise(paste0(tempdir(),'/test_project'))

## End(Not run)

jasenfinch/projecttemplates documentation built on July 30, 2023, 5:28 a.m.