Skip to content

rstantools

2.7.0

Tools for Developing R Packages Interfacing with 'Stan'

158packages depend
2.2Mdownloads / year
10.2%test coverage
13/13checks pass

Overview

About
Maintained by Andrew JohnsonFirst published 2016-11-2018 releasesCRAN page ↗GitHub ↗

Provides various tools for developers of R packages interfacing with 'Stan' https://mc-stan.org, including functions to set up the required package structure, S3 generics and default methods to unify function naming across 'Stan'-based R packages, and vignettes with recommendations for developers.

Install

Health

CRAN checks
13OK
Slowest check: 2.1 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.84
10.2%
Coverage · measured lines
100%
Documentation · exports
6
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-12
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-03-10
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
98%
Return-value docs
88%
References docs
12%

Downloads

2.2M
CRAN downloads in the past year
Rank #183 · ~5.9K/day · ~180.7K/mo
Daily download trend is not available in this view yet.
380.5K30 days
1M90 days
2.2M1 year
Compare downloads with other packages →
Also on13K r2u180 autocran21.2K conda_forge356 c2d4u

Repository

Repository
48Stars
24Forks
22Open issues
1Open PRs
16Releases
513Commits
23Contributors
stanr-packagedeveloper-toolsbayesian-data-analysisbayesian-statistics
License GPL-3.0 · 513 commits · Last activity 2026-07-26

Releases over time

2026-07-14 · 152026-07-26 · 16

Repository practices

Upstream repositoryBeta

5 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/stan-dev/rstantools on 2026-08-16.

Continuous integration (1)
GitHub Actions
CRAN release process (1)
CRAN-SUBMISSION
Automation and maintenance (1)
Dependabot
Lint, format, editor (1)
RStudio project
Show all practices
Governance and community (1)
Funding
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
13 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

People & History

People (9)
Maintainer (1)
Author, Maintainer · added in 2.2.0
Authors (4)
Author, Maintainer · added in 2.2.0
Author · added in 2.0.0
Contributors (4)
Contributor · added in 2.2.0
Contributor · added in 2.2.0
Contributor · added in 1.5.0
Contributor · added in 2.6.0
Copyright holders (1)
Package Timeline

18 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 2.7.0Latest
    2026-07-26 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 2.6.0
    2026-01-10 · diff ↗
  • 2.5.0
    2025-09-01 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 2.4.0
    2024-01-31 · diff ↗
  • 2.3.1.1
    2023-07-18 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 2.3.1
    2023-03-30 · diff ↗
  • 2.3.0
    2023-03-09 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 2.2.0
    2022-04-08 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 2.1.1
    2020-07-06 · diff ↗
  • 2.0.0
    2020-06-05 · diff ↗
Show 13 earlier events
  • 2.1.0
    2020-06-01 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 1.5.1
    2018-08-22 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 1.5.0
    2018-04-17 · diff ↗
  • 1.4.0
    2017-12-21 · diff ↗
  • 1.3.0
    2017-08-02 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 1.2.0
    2017-03-17 · diff ↗
  • 1.1.0
    2016-12-20 · diff ↗
  • 1.0.0
    2016-11-20
  • R
    R 3.3.0 released · 2016-05-03

Package metadata

First published
2016-11-20
Total releases
18 / 10 yrs
License
GPL (>= 3) OSI
Download size
531 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("rstantools")
Johnson, A., Badr, H. S., Colombo, M., Columbia University, T. o., Gabry, J., Goodrich, B., Lysy, M., Siegert, S., & Srimath Kandali, V. (2026). rstantools: Tools for Developing R Packages Interfacing with 'Stan' (Version 2.7.0) [Computer software]. https://doi.org/10.32614/CRAN.package.rstantools

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for rstantools version 2.7.0 [Data set]. HJJB, LLC. Data release v2026-08-16. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-16, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy