usethis (version 1.2.0)

proj_get: Get and set currently active project

Description

When attached, usethis uses rprojroot to find the project root of the current working directory. It establishes the project root by looking for for a .here file, an RStudio project, a package DESCRIPTION, a remake.yml, or a .projectile file. It then stores the project directory for use for the remainder of the session. If needed, you can manually override by running proj_set().

Usage

proj_get()

proj_set(path = ".", force = FALSE)

Arguments

path

Path to set.

force

If TRUE, uses this path without checking if any parent directories are existing projects.