Stan Logo

The rstantools package provides various tools for developers of R packages interfacing with Stan, including functions to set up the required package structure, S3 generic methods to unify function naming across Stan-based R packages, and vignettes with guidelines for developers.

To get started building a package see the Guidelines for Developers of R Packages Interfacing with Stan vignette.


Install from CRAN:


Install latest development version from GitHub (requires devtools package):

if (!require("devtools"))

devtools::install_github("stan-dev/rstantools", build_vignettes = TRUE)