rprojroot 2.0.4
  • Get started
  • Reference
  • Changelog

Reference

Finding the root

find_root() get_root_desc()

Find the root of a directory hierarchy

find_root_file() find_rstudio_root_file() find_package_root_file() find_remake_root_file() find_testthat_root_file()

File paths relative to the root of a directory hierarchy

Criteria

criteria is_rstudio_project is_r_package is_remake_project is_drake_project is_pkgdown_project is_renv_project is_projectile_project is_quarto_project is_git_root is_svn_root is_vcs_root is_testthat from_wd

Prespecified criteria

root_criterion() is_root_criterion() as_root_criterion() `|`(<root_criterion>) has_file() has_dir() has_file_pattern() has_basename()

Is a directory the project root?

Package documentation

rprojroot rprojroot-package

rprojroot: Finding Files in Project Subdirectories

Contents

Developed by Kirill Müller.

Site built with pkgdown 2.1.1.9000.