thisfile()
, moved from kimisc (#8)..git
directories created with git clone --separate-git-dir=...
(#24, @karldw).New root criteria
is_projectile_project
recognize projectile projects (#21).has_dir()
constructs root criteria that check for existence of a directory.is_git_root
, is_svn_root
and is_vcs_root
look for a version control system root (#19).New function
get_root_desc()
returns the description of the criterion that applies to a given root, useful for composite criteria created with |
.Minor enhancements
Internal
$testfun
member of the rprojroot
S3 class is now a list of functions instead of a function.Compatibility
backports
package.New root criteria
is_remake_project
and find_remake_root_file()
look for remake project (#17).is_testthat
and find_testthat_root_file()
that looks for tests/testthat
root (#14).from_wd
, useful for creating accessors to a known path (#11).Minor enhancement
|
operator (#15).Documentation
find_file()
and make_fix_file()
in vignette (#9).pkgdown
to create website.Testing
Initial CRAN release.
S3 class root_criterion
:
find_file()
and make_fix_file()
root_criterion()
as.root_criterion()
is.root_criterion()
has_file()
has_file_pattern()
is_r_package
is_rstudio_project
Getting started:
find_package_root_file()
find_rstudio_root_file()
Use a custom notion of a project root:
find_root()
find_root_file()
Vignette
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.