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 software development best practices, precompiling Stan programs, R code and documentation, and more.

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.