rprojroot: Finding Files in Project Subdirectories

Share:

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.

Author
Kirill Müller [aut, cre]
Date of publication
2016-10-29 22:24:09
Maintainer
Kirill Müller <krlmlr+r@mailbox.org>
License
GPL-3
Version
1.1
URLs

View on CRAN

Man pages

criteria
Prespecified criteria
find_root
Find the root of a directory hierarchy
find_root_file
File paths relative to the root of a directory hierarchy
root_criterion
Is a directory the project root?
rprojroot-package
Finding Files in Project Subdirectories

Files in this package

rprojroot
rprojroot/inst
rprojroot/inst/doc
rprojroot/inst/doc/rprojroot.Rmd
rprojroot/inst/doc/rprojroot.html
rprojroot/inst/doc/rprojroot.R
rprojroot/tests
rprojroot/tests/testthat.R
rprojroot/tests/testthat
rprojroot/tests/testthat/test-criterion.R
rprojroot/tests/testthat/test-testthat.R
rprojroot/tests/testthat/test-root.R
rprojroot/tests/testthat/test-make.R
rprojroot/tests/testthat/package
rprojroot/tests/testthat/package/tests
rprojroot/tests/testthat/package/tests/testthat.R
rprojroot/tests/testthat/package/tests/testthat
rprojroot/tests/testthat/package/tests/testthat/test-something.R
rprojroot/tests/testthat/package/DESCRIPTION
rprojroot/tests/testthat/hierarchy
rprojroot/tests/testthat/hierarchy/a
rprojroot/tests/testthat/hierarchy/a/b
rprojroot/tests/testthat/hierarchy/a/b/a
rprojroot/tests/testthat/hierarchy/a/b/c
rprojroot/tests/testthat/hierarchy/a/b/c/d
rprojroot/tests/testthat/hierarchy/a/b/b
rprojroot/tests/testthat/hierarchy/c
rprojroot/tests/testthat/hierarchy/DESCRIPTION
rprojroot/tests/testthat/hierarchy/b
rprojroot/NAMESPACE
rprojroot/NEWS.md
rprojroot/R
rprojroot/R/has-file.R
rprojroot/R/shortcut.R
rprojroot/R/file.R
rprojroot/R/rprojroot-package.R
rprojroot/R/root.R
rprojroot/R/criterion.R
rprojroot/R/rrmake.R
rprojroot/vignettes
rprojroot/vignettes/rprojroot.Rmd
rprojroot/MD5
rprojroot/build
rprojroot/build/vignette.rds
rprojroot/DESCRIPTION
rprojroot/man
rprojroot/man/find_root.Rd
rprojroot/man/find_root_file.Rd
rprojroot/man/criteria.Rd
rprojroot/man/root_criterion.Rd
rprojroot/man/rprojroot-package.Rd