criteria {rprojroot}R Documentation

Prespecified criteria

Description

This is a collection of commonly used root criteria.

Usage

criteria

is_rstudio_project

is_r_package

is_remake_project

is_testthat

from_wd

Format

An object of class root_criteria of length 5.

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_testthat looks for the testthat directory, works when developing, testing, and checking a package.

from_wd uses the current working directory.


[Package rprojroot version 1.1 Index]