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)

rstudio/renv documentation built on Nov. 20, 2024, 7:34 a.m.