| 1 |
% Generated by roxygen2: do not edit by hand |
| 2 |
% Please edit documentation in R/project.R |
| 3 |
\name{project} |
| 4 |
\alias{project} |
| 5 |
\title{Retrieve the active project} |
| 6 |
\usage{ |
| 7 |
project(default = NULL) |
| 8 |
} |
| 9 |
\arguments{ |
| 10 |
\item{default}{The value to return when no project is |
| 11 |
currently active. Defaults to \code{NULL}.} |
| 12 |
} |
| 13 |
\value{ |
| 14 |
The active project directory, as a length-one character vector. |
| 15 |
} |
| 16 |
\description{ |
| 17 |
Retrieve the path to the active project (if any). |
| 18 |
} |
| 19 |
\examples{ |
| 20 |
\dontrun{ |
| 21 |
|
| 22 |
# get the currently-active renv project |
| 23 |
renv::project() |
| 24 |
|
| 25 |
} |
| 26 |
} |