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
102.2K
Last 30 days
344th
519.5K
Last 90 days
1.1M
Last year
Trend: -21.2% (30d vs prior 30d)
CRAN Check Status
14
OK
Show all 14 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-macos-arm64 | 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 (145)
depends
imports
AovBay
BINtools
BPrinStratTTE
BayesGmed
BayesGrowth
BayesSenMC
BayesianPlatformDesignTimeTrend
BeeGUTS
Bernadette
BinaryReplicates
CARME
CNVRG
CausalQueries
DCPO
EcoEnsemble
EloSteepness
EpiNow2
EpiPvr
FlexReg
GUD
LMMELSM
MADPop
MIRES
MetaStan
OncoBayes2
PoolTestR
ProbBreed
R2D2ordinal
RBesT
RoBTT
SLGP
StanMoMo
WhiteLabRt
YPBP
YPPE
baggr
bakR
baldur
bayes4psy
bayesZIB
bayesforecast
bayeslist
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
glmmrBase
greencrab.toolkit
hbamr
historicalborrowlong
hmcdm
hmde
hsstan
hwep
imt
intervalpsych
jfa
lgpr
measr
metaBMA
miniLNM
mlts
morseTKTD
mrbayes
multinma
multipleDL
mvgam
ordbetareg
parTimeROC
pcFactorStan
pema
phacking
phylopairs
projpred
prophet
psBayesborrow
psrwe
publipha
rPBK
rater
rbioacc
rcbayes
rmBayes
rmdcev
rstanarm
rstanbdp
rstanemax
rts2
saeHB.TF.beta
serofoi
serosv
spsurv
ssMousetrack
statsExpressions
surveil
survstan
thurstonianIRT
trialr
truncnormbayes
tsnet
ubms
walker
webSDM
winputall
zoid
Dependency Network
Version History
new
2.6.0
Mar 10, 2026
new
1.0.0
Nov 19, 2016