Tools for Developing R Packages Interfacing with 'Stan'

Provides various tools for developers of R packages interfacing with 'Stan' <>, including functions to set up the required package structure, S3 generics and default methods to unify function naming across 'Stan'-based R packages, and a vignette with recommendations for developers.


rstantools 1.1.0

Changes to rstan_package_skeleton:

  • Add comment in Read-and-delete-me about importing all of Rcpp and methods packages.
  • Include methods in Depends field of DESCRIPTION file.
  • Also download rstanarm's file.

rstantools 1.0.0

  • Initial CRAN release

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


1.2.0 by Jonah Gabry, 3 months ago,!forum/stan-users

Report a bug at

Browse source code at

Authors: Jonah Gabry [aut, cre], Ben Goodrich [aut], Trustees of Columbia University [cph]

Documentation:   PDF Manual  

GPL (>= 3) license

Imports stats, utils

Suggests bayesplot, rstan, rstanarm, shinystan, loo, testthat, covr, knitr, rmarkdown

Imported by brms, hBayesDM, rstanarm.

Suggested by bayesplot, rstan.

See at CRAN