load {renv}R Documentation

Load a Project

Description

Load a project.

Usage

load(project = getwd(), quiet = FALSE)

Arguments

project

The project directory. If NULL, then the active project will be used. If no project is currently active, then the current working directory is used instead.

quiet

Boolean; be quiet during load?

Details

Normally, this is done automatically on session startup by the infrastructure generated by activate() – users should not need to call this function directly.

Value

The project directory, invisibly. Note that this function is normally called for its side effects.

Examples

## Not run: 

# load a project -- note that this is normally done automatically
# when the R session is started in an renv project after calling
# renv::activate()
renv::load()


## End(Not run)

[Package renv version 0.11.0 Index]