Learn R Programming

renv (version 0.9.3)

project: 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

Run this code
# NOT RUN {
# get the currently-active renv project
renv::project()

# }

Run the code above in your browser using DataLab