← Back to all sparks
R

rappdirs

DEVOPS
Velocity0.0

Determine platform-appropriate directories for caching, config and data in R

Load-bearing across CRAN, and untouched since January 2021.

filesystemconfig-pathsdependencydormantcross-platform
Current state
rappdirs answers one question — where does an application put its data, cache and config on this operating system — and it has answered it the same way since 2014. The last release was 0.3.3 in January 2021, a revert of accidental vectorisation introduced four days earlier. The only substantive change in the package's visible history is 0.3.2 teaching user_data_dir(), use_cache_dir() and use_config_dir() to respect the R_USER_DATA_DIR, R_USER_CACHE_DIR and R_USER_CONFIG_DIR environment variables.
Where it's heading
Nothing is heading anywhere, and that is the finding. A port of a Python utility with no open direction, four releases in eleven years, and a dependency position underneath a large share of CRAN packages that need a cache directory. The 0.3.2 and 0.3.3 pair is instructive: a real improvement shipped alongside an accidental behaviour change that had to be reverted within the week, and then silence.
Prediction
The entries give no basis for predicting a next release; on eleven years of evidence the most likely next change is a CRAN-mandated check fix rather than anything user-facing.

Recent moves

  1. 5y ago

    Revert accidental vectorisation from 0.3.2

    Reverts the accidental vectorisation of rappdirs functions introduced in 0.3.2 four days earlier. A behaviour restoration rather than a fix, and the last release the package has shipped.

    View source ↗
  2. 5y ago

    Respect the R_USER_*_DIR environment variables

    Makes the user data, cache and config directory functions respect R_USER_DATA_DIR, R_USER_CACHE_DIR and R_USER_CONFIG_DIR, aligning the package with R's own conventions so administrators and users can redirect where packages write. Also drops the methods dependency.

    View source ↗
  3. 10y ago

    rappdirs 0.3.1

    Minor R CMD check and test fixes, five years before the next release. Housekeeping to stay on CRAN.

    View source ↗
  4. 11y ago

    First CRAN release

    The first CRAN release, mostly documentation and project scaffolding plus a fix to how xxx_dir() handles version when appname is null. Modest notes for a package that ended up in the dependency tree of much of CRAN.

    View source ↗