criteria {rprojroot} | R Documentation |
This is a collection of commonly used root criteria.
criteria is_rstudio_project is_r_package is_remake_project is_testthat from_wd
An object of class root_criteria
of length 5.
is_rstudio_project
looks for a file with extension .Rproj
.
is_r_package
looks for a DESCRIPTION
file.
is_remake_project
looks for a remake.yml
file.
is_testthat
looks for the testthat
directory, works when
developing, testing, and checking a package.
from_wd
uses the current working directory.