Recommendations for R package development with Stan

This vignette provides many recommendations for developers interested in creating an R package that interface with Stan. Topics include development best practices, precompiling Stan programs, R code and documentation, and more.

Guidelines for developers of R packages interfacing with Stan

Step-by-step guide

This vignette walks through the steps required to set up a package with a precompiled Stan model, from creating the initial package structure to adding the precompiled Stan program and writing the R function that users will call to fit the model.

Step by step guide for creating a package that depends on RStan