rprojroot (version 1.3-2)

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

Details

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

See Also

Useful links:

Examples

Run this code
# NOT RUN {
criteria
# }
# NOT RUN {
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