rstantools
Tools for Developing R Packages Interfacing with 'Stan'
v2.6.0
·
Jan 10, 2026
·
GPL (>= 3)
Description
Provides various tools for developers of R packages interfacing with 'Stan' <https://mc-stan.org>, including functions to set up the required package structure, S3 generics and default methods to unify function naming across 'Stan'-based R packages, and vignettes with recommendations for developers.
Downloads
CRAN
356.5K
Last 30 days
175th
681.8K
Last 90 days
1.7M
Last year
Trend: +88.9% (30d vs prior 30d)
r2u
CRAN
1.2K
Last 30 days
3.9K
Last 90 days
12.2K
Last year
Trend: -8.3% (30d vs prior 30d)
autoCRAN
33
Last 7 days
218
Last 30 days
8
All-time
⚠ Shared name: this package is also shipped elsewhere on openSUSE, so this count is not exclusive to autoCRAN (it is an upper bound).
CRAN Check Status
13
OK
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 11, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 10, 2026
ERROR
r-devel-windows-x86_64
tests
Running 'testthat.R' [11s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(rstantools)
This is rstantools version 2.6.0
>
> foo <- function(x) {"test function"}
>
> if (identical(Sys.gete
...[truncated]...
an_create_package.R:63:5
2. └─rstantools:::.rstan_make_pkg(...)
3. └─rstantools::rstan_config(pkgdir)
4. └─Rcpp::compileAttributes(pkgdir)
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 42 ]
Error:
! Test failures.
Execution halted
Reverse Dependencies (152)
depends
imports
AovBay BINtools BPrinStratTTE BRRAT BayesERtools BayesGmed BayesGrowth BayesSenMC BayesianPlatformDesignTimeTrend BeeGUTS Bernadette BinaryReplicates BoundIRT CARME CNVRG CausalQueries DCPO EcoEnsemble EloSteepness EpiNow2 EpiPvr FlexReg GUD HHBayes LMMELSM MADPop MIRES MetaStan OncoBayes2 PoolTestR ProbBreed R2D2ordinal RBesT RoBTT SLGP StanMoMo WhiteLabRt YPBP YPPE baggr bakR baldur bayes4psy bayesZIB bayesforecast bayeslist bayesqm bclogit beastt bellreg bennu blavaan bmgarch bmggum bmlm bmstdr breathteststan brms bsynth bws cbq cloneRate conStruct conformalbayes ctsem densEstBayes eDNAjoint eggCounts expertsurv fcirt geostan glmmPen glmmfields greencrab.toolkit hbamr hbsaems historicalborrowlong hmcdm hmde hsstan hwep imt imuGAP intervalpsych jfa lgpr measr metaBMA miniLNM mlts mlumr morseTKTD mrbayes multinma multipleDL mvgam ordbetareg parTimeROC pcFactorStan pema phacking phylopairs postlink projpred prophet psBayesborrow psrwe publipha rPBK rater rbioacc rcbayes rmBayes rmdcev rstanarm rstanbdp rstanemax rts2 saeHB.TF.beta serofoi serosv ssMousetrack statsExpressions surveil survstan thurstonianIRT trialr truncnormbayes tsnet ubms walker webSDM winputall zoid
Dependency Network
Version History
18 tracked
new
2.6.0
Mar 10, 2026