Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

criteria

Prespecified criteria


Description

This is a collection of commonly used root criteria.

Usage

criteria

is_rstudio_project

is_r_package

is_remake_project

is_drake_project

is_projectile_project

is_git_root

is_svn_root

is_vcs_root

is_testthat

from_wd

Details

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_drake_project looks for a .drake directory.

is_projectile_project looks for a .projectile file.

is_git_root looks for a .git directory.

is_svn_root looks for a .svn directory.

is_vcs_root looks for the root of a version control system, currently only Git and SVN are supported.

is_testthat looks for the testthat directory, works when developing, testing, and checking a package.

from_wd uses the current working directory.


rprojroot

Finding Files in Project Subdirectories

v2.0.2
MIT + file LICENSE
Authors
Kirill Müller [aut, cre] (<https://orcid.org/0000-0002-1416-3412>)
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.