Skip to content

rstan

2.32.7

R Interface to Stan

248packages depend
7.2Mdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Ben GoodrichFirst published 2015-07-1832 releasesCRAN page ↗GitHub ↗

User-facing R functions are provided to parse, compile, test, estimate, and analyze Stan models by accessing the header-only Stan library provided by the 'StanHeaders' package. The Stan project develops a probabilistic programming language that implements full Bayesian statistical inference via Markov Chain Monte Carlo, rough Bayesian inference via 'variational' approximation, and (optionally penalized) maximum likelihood estimation via optimization. In all three cases, automatic differentiation is used to quickly and accurately evaluate gradients without burdening the user with the need to derive the partial derivatives.

Install

Health

CRAN checks
13OK
Code health
Yes
Tests · ratio 0.40
not tracked
Coverage
100%
Documentation · exports
Yes
Vignettes
No
README
11
Dependencies · direct
Check history
  • OK2026-06-08
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-07
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-04-22
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-04-18
    10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
Show 1 earlier snapshots
  • NOTE2026-03-10
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

7.2M
CRAN downloads in the past year
Rank #68 · ~19.8K/day · ~600.8K/mo
1.5M30 days
2.8M90 days
7.2M1 year
Also on13.8K r2u110 autocran21.2K conda_forge482 c2d4u
Source & community
GitHub ↗

Repository stars, issues, and contributor activity are not tracked yet.

Dependencies

Declared dependencies
23 external dependencies (excludes base and recommended)
Depends (2)
R >= 3.4.0StanHeaders
Enhances (0)
none

Code

21,564Lines of code
56Exported functions

Code intelligence has not been computed for this package yet.

People & History

People (18)
Maintainer (1)
Maintainer, Author
Authors (5)
Contributors (4)
Contributor
Contributor
Contributor
Copyright holders (8)
Copyright holder
Copyright holder
Copyright holder
Copyright holder
Copyright holder
Copyright holder
Release timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 2.32.7Latest
    2025-03-10 · current release
  • R
    R 4.4.0 released · 2024-04-24
  • 2.32.6
    2024-03-05 · diff ↗
  • 2.32.5
    2024-01-10 · diff ↗
  • 2.32.3
    2023-10-15 · diff ↗
  • 2.26.23
    2023-09-08 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 2.21.8
    2023-01-17 · diff ↗
  • 2.21.7
    2022-09-08 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 2.21.5
    2022-04-11 · diff ↗
  • 2.21.3
    2021-12-20 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 2.21.2
    2020-07-27 · diff ↗
Show 27 earlier events
  • 2.21.1
    2020-07-08 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • 2.19.3
    2020-02-11 · diff ↗
  • 2.19.2
    2019-07-09 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 2.18.2
    2018-11-07 · diff ↗
  • 2.18.1
    2018-10-16 · diff ↗
  • 2.17.4
    2018-10-01 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 2.17.3
    2018-01-20 · diff ↗
  • 2.17.2
    2017-12-21 · diff ↗
  • 2.16.2
    2017-07-03 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 2.15.1
    2017-04-19 · diff ↗
  • 2.14.2
    2017-03-19 · diff ↗
  • 2.14.1
    2016-12-28 · diff ↗
  • 2.13.2
    2016-12-18 · diff ↗
  • 2.12.1
    2016-09-12 · diff ↗
  • 2.11.1
    2016-07-29 · diff ↗
  • 2.10.1
    2016-06-24 · diff ↗
  • R
    R 3.3.0 released · 2016-05-03
  • 2.9.0-3
    2016-02-12 · diff ↗
  • 2.9.0
    2016-01-05 · diff ↗
  • 2.8.2
    2015-11-27 · diff ↗
  • 2.8.1
    2015-11-19 · diff ↗
  • 2.8.0
    2015-09-19 · diff ↗
  • 2.7.0-1
    2015-07-18

Package metadata

First published
2015-07-18
Total releases
32 / 11 yrs
License
GPL (>= 3) OSI
Download size
not tracked yet
Installed size
not tracked yet
With dependencies
not tracked yet