Skip to contents

Initialise project

Usage

projr_init(
  dir_proj = getwd(),
  yml_path_from = NULL,
  renv_force = FALSE,
  renv_bioconductor = TRUE
)

Arguments

dir_proj

character. Project directory. Default is getwd().

yml_path_from

character. Path to YAML file to use as _projr.yml. If not supplied, then default _projr.yml file is used.

renv_force

Logical. Passed to renv::init(). If FALSE, then renv::init() will not run if it detects that the working directory already is registered with renv. Default is FALSE.

renv_bioconductor

Logical. Whether renv should look for packages on Bioconductor. Default is TRUE.