stan-dev / rstantools

Tools for Developing R Packages Interfacing with Stan
https://mc-stan.org/rstantools
GNU General Public License v3.0
51 stars 21 forks source link
bayesian-data-analysis bayesian-statistics developer-tools r-package stan

rstantools

CRAN_Status_Badge RStudio_CRAN_mirror_downloads_badge R-CMD-check

Overview

The rstantools package provides tools for developing R packages interfacing with Stan. The package vignettes provide guidelines and recommendations for developers as well as a demonstration of creating a working R package with a pre-compiled Stan program.

Resources

Installation

install.packages("rstantools")
# install.packages("remotes")
remotes::install_github("stan-dev/rstantools")

This installation from GitHub will not build the vignettes, but we recommend viewing them online at mc-stan.org/rstantools/articles.