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
- Host: GitHub
- URL: https://github.com/stan-dev/rstantools
- Owner: stan-dev
- License: gpl-3.0
- Created: 2016-10-27T22:23:33.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2025-07-24T14:29:21.000Z (6 months ago)
- Last Synced: 2025-08-05T07:38:48.316Z (5 months ago)
- Topics: bayesian-data-analysis, bayesian-statistics, developer-tools, r-package, stan
- Language: R
- Homepage: https://mc-stan.org/rstantools
- Size: 942 KB
- Stars: 50
- Watchers: 12
- Forks: 22
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- Changelog: NEWS.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# rstantools 
[](https://cran.r-project.org/web/packages/rstantools)
[](https://cran.r-project.org/web/packages/rstantools)
[](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/).