project: Retrieve the active project

View source: R/project.R

projectR Documentation

Retrieve the active project

Description

Retrieve the path to the active project (if any).

Usage

project(default = NULL)

Arguments

default

The value to return when no project is currently active. Defaults to NULL.

Value

The active project directory, as a length-one character vector.

Examples

## Not run: 

# get the currently-active renv project
renv::project()


## End(Not run)

renv documentation built on Sept. 19, 2023, 9:06 a.m.