develop R packages interfacing with Stan

The rstantools package (R) 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 a vignette with guidelines for package developers.


Visit for vignettes/tutorials, function documentation, and other information about the package.

Download and Get Started

The rstantools package, documentation (including developer guidelines), and examples are available from CRAN.

Source Code and Issue Tracker

The rstantools package’s source code and issue tracker are hosted by GitHub.


The rstantools package is open-source licensed under the