Package: rstantools 2.7.1

Andrew Johnson

rstantools: Tools for Developing R Packages Interfacing with 'Stan'

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.

Authors:Jonah Gabry [aut], Ben Goodrich [aut], Martin Lysy [aut], Andrew Johnson [aut, cre], Hamada S. Badr [ctb], Marco Colombo [ctb], Stefan Siegert [ctb], Visruth Srimath Kandali [ctb], Trustees of Columbia University [cph]

rstantools_2.7.1.tar.gz
rstantools_2.7.1.zip(r-4.7-any)rstantools_2.7.1.zip(r-4.6-any)rstantools_2.7.1.zip(r-4.5-any)
rstantools_2.7.1.tgz(r-4.6-any)rstantools_2.7.1.tgz(r-4.5-any)
rstantools_2.7.1.tar.gz(r-4.7-any)rstantools_2.7.1.tar.gz(r-4.6-any)
rstantools_2.7.1.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
rstantools/json (API)

# Install 'rstantools' in R:
install.packages('rstantools', repos = c('https://stan-dev.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/stan-dev/rstantools/issues

Pkgdown/docs site:https://mc-stan.org

On CRAN:

Conda:

bayesian-data-analysisbayesian-statisticsdeveloper-toolsstan

14.45 score 48 stars 252 packages 190 scripts 229k downloads 21 exports 6 dependencies

Last updated from:25541eb232. Checks:9 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-develOK177
source / vignettesOK214
linux-releaseOK181
macos-releaseOK105
macos-oldrelOK111
windows-develOK158
windows-releaseOK91
windows-oldrelOK122
wasm-releaseOK138

Exports:bayes_R2init_cpplog_likloo_epredloo_linpredloo_pitloo_predictloo_predictive_intervalloo_R2nsamplesposterior_epredposterior_intervalposterior_linpredposterior_predictpredictive_errorpredictive_intervalprior_summaryrstan_configrstan_create_packagerstantools_load_codeuse_rstan

Dependencies:clidescQuickJSRR6RcppRcppParallel

Step by step guide for creating a package that depends on RStan
Introduction | Creating the package skeleton | Read-and-delete-me file | Stan files | R files | Documentation | Install and use | Advanced options | Adding additional Stan models to an existing R package with Stan models | Links

Last update: 2026-07-20
Started: 2018-04-09

Guidelines for Developers of R Packages Interfacing with Stan
Note to developers | Guidelines for R packages providing interfaces to Stan | General package structure and development | Stan code | R code and documentation | Recommended resources

Last update: 2022-03-23
Started: 2016-10-28