mlr3misc
The mlr3 utility belt has spent a year rebuilding how errors travel
A side-by-side editorial comparison of rappdirs and xfun — release velocity, themes, recent moves, and the top alternatives to consider.
Load-bearing across CRAN, and untouched since January 2021.
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.
Yihui's utility grab-bag is quietly growing a web server and a headless browser.
xfun is the shared utility layer under knitr, rmarkdown, bookdown and litedown, and its recent releases cluster in three places: the record() function that captures code output for litedown, a local app-serving stack built on R's internal httpd, and a headless-browser toolkit. Version 0.58 replaced direct httpd routing with a proxy and added serve_dir() and random_port(); 0.55 added browser_print() and 0.60 added browser_dom(), which runs JavaScript on a page and returns the rendered DOM.
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.
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.
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.
xfun is the shared utility layer under knitr, rmarkdown, bookdown and litedown, and its recent releases cluster in three places: the record() function that captures code output for litedown, a local app-serving stack built on R's internal httpd, and a headless-browser toolkit. Version 0.58 replaced direct httpd routing with a proxy and added serve_dir() and random_port(); 0.55 added browser_print() and 0.60 added browser_dom(), which runs JavaScript on a page and returns the rendered DOM.
The package is accreting the infrastructure Yihui's publishing tools need rather than staying a pile of small helpers. Serving directories, allocating ports, proxying the help server, driving a headless browser and printing to PDF are all pieces of one pipeline: render R output to HTML, then get it onto a screen or into a static file without a heavyweight dependency. The rest of the release stream is release-automation tooling for the author's own CRAN workflow and a long tail of parser bug fixes in taml_load().
Expect the browser functions to consolidate into a documented interface used directly by litedown, and expect cache_rds() to be fully retired in favour of cache_exec() now that it is no longer recommended.
Other DevOps products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either rappdirs or xfun.
The mlr3 utility belt has spent a year rebuilding how errors travel
Zed ships weekly, and the Git surface is finally catching up to the agent surface
odbc keeps turning into an authentication broker with a database driver attached.
ps grew from a process inspector into the thing that reliably kills what you started.
wk spent one release fixing what empty means, then went quiet.
A package whose entire job is to ship someone else's database on time.
See all rappdirs alternatives → · See all xfun alternatives →
Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.
They serve adjacent needs but don't currently overlap on shipped themes. rappdirs and xfun are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.
Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. rappdirs and xfun are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other DevOps products to evaluate alongside.
Top rappdirs alternatives in DevOps are ranked by recent ship velocity. Browse the "rappdirs alternatives" section above for the current picks, or visit /alternatives/rappdirs for the full list with editorial commentary on each.
Top xfun alternatives in DevOps are ranked by recent ship velocity. Browse the "xfun alternatives" section above for the current picks, or visit /alternatives/xfun for the full list with editorial commentary on each.