rstantools
Tools for Developing R Packages Interfacing with Stan
The scaffolding layer for Stan-backed R packages, maintained rather than extended.
◆Recent moves
- 19d ago
Deprecated syntax allowed for pinned package versions
The one change downstream maintainers will notice is an allowance for deprecated syntax in specified versions of specified packages, which keeps older Stan-backed packages building without an immediate rewrite. The rest is contribution policy, a dependabot bump, and pkgdown workflow fixes.
View source ↗ - 7mo ago
pkgdown theme refresh, C++14 dropped from SystemRequirements
Documentation site theming, a stale C++14 SystemRequirements declaration removed, and a fix so an error no longer opens the project. No change to generated package structure.
View source ↗ - 11mo ago
loo_epred() generic added, loo_pit() extended to discrete data
The most substantive API growth in recent history: a new loo_epred() generic and loo_pit() extended for discrete data, both part of the posterior-prediction vocabulary downstream packages implement. Also fixes a 2.4.0 regression in compiling packages with custom Stan functions.
View source ↗ - 2y ago
Standalone Stan functions fixed for rstan 2.33+
A compatibility release restoring builds for packages that ship standalone Stan functions under rstan 2.33 and later, plus template imports that suppress R CMD check NOTEs. Typical of how this package responds to upstream Stan changes.
View source ↗ - 3y ago
init_cpp deprecated, standalone-function bugfix under Stan 2.31
Deprecates init_cpp, fixes standalone functions under Stan 2.31, and limits Makevars generation to the current platform. Housekeeping against a moving upstream.
View source ↗ - 3y ago
C++17 standard adopted, standalone function export reworked
Moves generated packages to C++17 and reworks how standalone Stan functions are exported for StanHeaders and rstan 2.26 onward. A toolchain floor change that downstream packages inherit whether or not they touch their own code.
View source ↗