project: Retrieve the Active Project

Description Usage Arguments Value Examples

View source: R/project.R

Description

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

Usage

1
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

1
2
3
4
5
6
7
## Not run: 

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


## End(Not run)

wnattt/renv documentation built on Dec. 23, 2021, 5:19 p.m.