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()
.
proj_get()proj_set(path = ".", force = FALSE)
Path to set.
If TRUE
, uses this path without checking if any parent
directories are existing projects.