Skip to content

rappdirs

0.3.4Package record

Application Directories: Determine Where to Save Data, Caches, and Logs

118packages dependsuggested by 20
12.8Mdownloads / year
96.6%test coverage
12/13flavors OK

Overview

About

An easy way to determine which directories on the users computer you should use to save data, caches and logs. A port of Python's 'Appdirs' (https://github.com/ActiveState/appdirs) to R.

Changes in 0.3.4
  • Upkeep

From NEWS.md in the release

Install

Health

CRAN checks
1ERROR12OK
Check messages
ERRORtestsr-release-macos-arm64
Running ‘testthat.R’ [0s/1s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(rappdirs)
  > 
  > # ensure CRAN settings don't affect tests
  > Sys.unsetenv("R_USER_DATA_DIR")
  > Sys.unsetenv("R_USER_CONFIG_DIR")
  > Sys.unsetenv("R_USER_CACHE_DIR")
  > 
  > test_check("rappdirs")
  [ FAIL 0 | WARN 0 | SKIP 3 | PASS 45 ]
  
  ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
  Error in base::nchar(wide_chars$test, type = "width") : 
    cannot open file '/Volumes/Builds/packages/sonoma-arm64/Rlib/4.6/cli/R/sysdata.rdb': No such file or directory
  Calls: test_check ... unicode_pre -> setup_unicode_width_fix -> <Anonymous>
  Execution halted

CRAN check page ↗

Slowest check: 2.0 min · r-devel-windows-x86_64
Status changes
  • ERROR12 OK, 1 ERRORNow
  • ERROR11 OK, 1 ERROR2026-04-27
  • OK14 OK2026-03-10
Advisories

none known

Documentation

Documentation signals are not tracked yet for this package.

Downloads

12.8M
CRAN downloads in the past year
Rank #63 · ~35.1K/day · ~1.1M/mo
rappdirs
Daily download trend is not available in this view yet.
928.3K30 days
2.9M90 days
12.8M1 year
Compare downloads with other packages →
Also on327.8K r2u5 autocran1.5M conda_forge816 bioconda20.6K c2d4u

Repository

92Stars
14Forks
6Open issues
0Open PRs
5Releases
178Commits
8Commit identities
rappdir
178 commits · Last activity 2026-01-20 · 0% stars, 30d · Default branch at 0.3.4.9000, ahead of CRAN 0.3.4 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
75%
Median days to close, 50 most recently updated closed issues
3
Median days to close, 50 most recently updated closed PRs
3
PracticesBeta

13 development-tooling and community-health practices detected across 6 families in the upstream repository

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

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

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

GitHub Pages site last deployed 2026-01-20 · The repository has a site deploy workflow

pkgdown site last built 2026-01-20

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

Dependencies

Declared dependencies
4 external dependencies (excludes base and recommended)

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

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

People & History

People (9)
Translator, Maintainer since 0.3 (2014), Copyright holder
Translator, Author
Contributor
Contributor
Contributor
Copyright holder
R/appdir.r, R/cache.r, R/data.r, R/log.r translated from appdirs
Copyright holder, Funder · added in 0.3.4
Listed in earlier versions (1)
RStudio
no longer listed · 0.3 to 0.3.3
Releases (5)
  • R
    R 4.6.0 released · 2026-04-24
  • 0.3.4Latest
    2026-01-17 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.3.3
    2021-01-31 · diff ↗
  • 0.3.2
    2021-01-27 · diff ↗
  • 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
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 0.3.1
    2016-03-28 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
Show 2 earlier eventsHide 2 earlier events
  • 2014-09-02
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2014-09-02
Total releases
5 / 12 yrs
License
MIT + file LICENSE OSI
Download size
11 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("rappdirs")
Wickham, H., ActiveState, Posit Software, PBC, Csardi, G., Davis, T., Jefferis, G., Mick, T., Petrisor, E., & Ratnakumar, S. (2026). rappdirs: Application Directories: Determine Where to Save Data, Caches, and Logs (Version 0.3.4) [Computer software]. https://doi.org/10.32614/CRAN.package.rappdirs

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 rappdirs version 0.3.4 [Data set]. HJJB, LLC. Data release v2026-10-19. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-19, 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