An open API service indexing awesome lists of open source software.

https://github.com/stan-dev/rstantools

Tools for Developing R Packages Interfacing with Stan
https://github.com/stan-dev/rstantools

bayesian-data-analysis bayesian-statistics developer-tools r-package stan

Last synced: 4 months ago
JSON representation

Tools for Developing R Packages Interfacing with Stan

Awesome Lists containing this project

README

          

# rstantools

[![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/rstantools?color=blue)](https://cran.r-project.org/web/packages/rstantools)
[![RStudio_CRAN_mirror_downloads_badge](https://cranlogs.r-pkg.org/badges/rstantools?color=blue)](https://cran.r-project.org/web/packages/rstantools)
[![R-CMD-check](https://github.com/stan-dev/rstantools/workflows/R-CMD-check/badge.svg)](https://github.com/stan-dev/rstantools/actions)

### Overview

The __rstantools__ package provides tools for developing R packages interfacing
with [Stan](https://mc-stan.org/). 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.

* [Guidelines for developers of R Packages interfacing with Stan](https://mc-stan.org/rstantools/articles/developer-guidelines.html)

* [Step by step guide for creating a package that depends on RStan](https://mc-stan.org/rstantools/articles/minimal-rstan-package.html)

### Resources

* [mc-stan.org/rstantools](https://mc-stan.org/rstantools) (online documentation, vignettes)
* [Ask a question](https://discourse.mc-stan.org) (Stan Forums on Discourse)
* [Open an issue](https://github.com/stan-dev/rstantools/issues) (GitHub issues for bug reports, feature requests)

### Installation

* Install from CRAN:

```r
install.packages("rstantools")
```

* Install latest development version from GitHub:

```r
# 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](https://mc-stan.org/rstantools/articles/).