Skip to content

rprojroot

2.1.1Package record

Finding Files in Project Subdirectories

37packages dependsuggested by 45
9.3Mdownloads / year
90.8%test coverage
13/13flavors OK

Overview

About

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.

Changes in 2.1.1

Features

  • is_vscode_project looks for .vscode/settings.json instead of just .vscode/ (#162, #163).

Documentation

  • Use single quotes to avoid nested double quotes (#161).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.0 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-11
  • ERROR12 OK, 1 ERROR2026-06-09
  • OK14 OK2026-03-18
Show 2 earlier changesHide 2 earlier changes
  • ERROR13 OK, 1 ERROR2026-03-17
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 2.1.1
READMEYes · 221 wordsVignettesYes · 1 · evaluation depends on the environmentNEWSYes · 100% structured · mentions 2.1.1Citation fileNoWebsiteYes · pkgdown
Help pages
7 (2 internal)includes a package overview page
Examples that run
40%2 run in a plain check · 3 never run
Exported functions with examples
67%
Documented parameters
93%
Return-value docs
67%
Help pages citing references
14%

Downloads

9.3M
CRAN downloads in the past year
Rank #93 · ~25.5K/day · ~776.8K/mo
Daily download trend is not available in this view yet.
612.9K30 days
2M90 days
9.3M1 year
Compare downloads with other packages →
Also on179.3K r2u91 autocran605.7K conda_forge7.2K c2d4u

Repository

150Stars
29Forks
2Open issues
4Open PRs
12Releases
984Commits
18Commit identities
984 commits · Last activity 2026-10-11 · +0.7% stars, 30d · Default branch at 2.1.1.9021, ahead of CRAN 2.1.1 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
63%
Median days to close, 50 most recently updated closed issues
56
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-07-14 · 1482026-09-21 · 150
PracticesBeta

12 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/r-lib/rprojroot on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux and Windows

Governance and community (1)
Code of conduct
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-09-27 · The repository has a site deploy workflow

pkgdown site last built 2026-06-08

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 3 practices
CRAN release process (2)
cran-comments.mdrevdep/
Lint, format, editor (1)
RStudio project
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen on or before 2026-05-16
    Pull request it wrote: opened by a project member
    Commits: 1 by its own account · at least 39 crediting it in the message
From outside contributors
  • Claude Code
    Pull requests: 6 from outside contributors, first on 2026-09-12, 6 from forks
Models named in its commits
  • Claude Opus 513 commits · Aug to Sep 2026
  • Claude Opus 5.53 commits · Sep 2026
  • Claude Fable 51 commit · Aug 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
7 external dependencies (excludes base and recommended)

Installing rprojroot adds no packages beyond those that come with R.

Depends (1)
R >= 3.0.0
Imports (0)
none
LinkingTo (0)
none
Enhances (0)
none

People & History

People (1)
Author, Maintainer since 1.0 (2016)
Releases (12)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.1.1Latest
    record
    2025-08-26 · current release · diff ↗
  • 2.1.0
    record
    2025-07-12 · diff ↗ ·
    added 2 exports
    is_targets_project, is_vscode_project
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 2.0.4
    record
    2023-11-05 · diff ↗ ·
    added 2 exports
    is_quarto_project, is_renv_project
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 2.0.3
    record
    2022-04-02 · diff ↗ ·
    added 1 export
    is_pkgdown_project
  • R
    R 4.1.0 released · 2021-05-18
  • 2.0.2
    record
    2020-11-15 · diff ↗ ·
    removed 1 export
    has_dirname
    added 4 exports
    as_root_criterion, has_basename, is_drake_project, is_root_criterion
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 1.3-2
    record
    2018-01-03 · diff ↗
  • 1.3-1
    record
    2017-12-18 · diff ↗ ·
    added 5 exports
    thisfile, thisfile_knit, thisfile_r, thisfile_rscript, thisfile_source
Show 8 earlier eventsHide 8 earlier events
  • R
    R 3.4.0 released · 2017-04-21
  • 1.2
    record
    2017-01-16 · diff ↗ ·
    added 6 exports
    get_root_desc, has_dir, is_git_root, is_projectile_project, is_svn_root, is_vcs_root
  • 1.1
    record
    2016-10-29 · diff ↗ ·
    added 6 exports
    find_remake_root_file, find_testthat_root_file, from_wd, has_dirname, is_remake_project, is_testthat
  • R
    R 3.3.0 released · 2016-05-03
  • 1.0-2
    record
    2016-03-28 · diff ↗
  • 1.0-1
    record
    2016-03-27 · diff ↗
  • 1.0
    record
    2016-03-26
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2016-03-26
Total releases
12 / 10 yrs
License
MIT + file LICENSE OSI · relicensed from GPL-3 in 2.0.2
Minimum R
≥ 3.0.0
Download size
58 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("rprojroot")
Müller, K. (2025). rprojroot: Finding Files in Project Subdirectories (Version 2.1.1) [Computer software]. https://doi.org/10.32614/CRAN.package.rprojroot

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for rprojroot version 2.1.1 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy