Learn R Programming

rprojroot (version 2.0.4)

rprojroot-package: rprojroot: Finding Files in Project Subdirectories

Description

Robust, reliable and flexible paths to files below a project root. The 'root' of a project is defined as a directory that matches a certain criterion, e.g., it contains a certain regular file.

Arguments

Author

Maintainer: Kirill Müller kirill@cynkra.com (ORCID)

Details

See the "Value" section in root_criterion() for documentation of root criterion objects, and criteria for useful predefined root criteria.

See Also

Examples

Run this code
criteria
if (FALSE) {
is_r_package$find_file("NAMESPACE")
root_fun <- is_r_package$make_fix_file()
root_fun("NAMESPACE")
}

Run the code above in your browser using DataLab