Skip to content

rstanarm

2.32.2Package record

Bayesian Applied Regression Modeling via Stan

11packages dependsuggested by 45
417.6Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Estimates previously compiled regression models using the 'rstan' package, which provides the R interface to the Stan C++ library for Bayesian estimation. Users specify models via the customary R syntax with a formula and data.frame plus some additional arguments for priors.

Install

Health

CRAN checks
13OK
Slowest check: 46.5 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-29
  • ERROR12 OK, 1 ERROR2026-07-27
  • OK13 OK2026-06-23
Show 7 earlier changesHide 7 earlier changes
  • ERROR12 OK, 1 ERROR2026-06-20
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-07
  • OK12 OK2026-04-25
  • NOTE11 OK, 3 NOTE2026-04-22
  • ERROR10 OK, 3 NOTE, 1 ERROR2026-04-18
  • NOTE11 OK, 3 NOTE2026-03-10
Advisories

none known

Documentation

In release 2.32.2
README· In the repository, left out of the releaseVignettesYes · 14 · evaluation depends on the environmentNEWSYes · 100% structured · does not mention 2.32.2Citation fileYes · computed when R runs itWebsiteYes · pkgdown
Help pages
66 (12 internal)includes a package overview page
Examples that run
100%41 run in a plain check
Exported functions with examples
83%
Documented parameters
73%
Return-value docs
88%
Help pages citing references
33%

Also includes 10 demo scripts (run with demo())

Downloads

417.6K
CRAN downloads in the past year
Rank #581 · ~1.1K/day · ~34.8K/mo
Daily download trend is not available in this view yet.
32K30 days
112.3K90 days
417.6K1 year
Compare downloads with other packages →
Also on6.8K r2u11 autocran6.4K conda_forge272 c2d4u

Repository

402Stars
136Forks
165Open issues
9Open PRs
8Releases
3,394Commits
42Commit identities
stanmultilevel-modelsr-packagebayesianbayesian-inferencebayesian-methodsbayesian-statisticsbayesian-data-analysis
License file reads as GPL-3.0 · 3,394 commits · Last activity 2026-10-13 · +0.2% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
86%
Median days to close, 50 most recently updated closed issues
100
Median days to close, 50 most recently updated closed PRs
5

Stars over time

2025-09-11 · 3952026-10-01 · 402
PracticesBeta

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

Checks run against github.com/stan-dev/rstanarm on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows

Governance and community (3)
Issue templatesFunding

Funding links: GitHub Sponsors, mc-stan.org

The repository owner accepts GitHub Sponsors

Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-09-28 · The repository has a site deploy workflow

pkgdown site last built 2026-09-28

Automation and maintenance (1)
Dependabot
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
31 external dependencies (excludes base and recommended)

Installing rstanarm adds 111 packages (56 with compiled code, 114 MB of source tarballs). Heaviest: BH 14 MB, stringi 11 MB, ggplot2 6.0 MB.

Depends (3)
R >= 3.4.0Rcppmethods
Enhances (0)
none

Datasets

People & History

People (16)
Maintainer since 2.9.0-1 (2016), Author
Contributor · added in 2.17.3
R/stan_jm.R
Contributor · added in 2.15.2
Contributor · added in 2.17.2
Contributor · added in 2.17.3
R/stan_jm.R
Copyright holder
R/pp_data.R
Copyright holder
R/pp_data.R
Copyright holder · added in 2.17.4
R/misc.R
Copyright holder
R/stan_aov.R
Copyright holder
R/pp_data.R
Copyright holder
R/stan_aov.R, R/stan_polr.R
Copyright holder
R/stan_polr.R
Show 2 more copyright holdersHide 2 copyright holders
Copyright holder
R/pp_data.R
Copyright holder · added in 2.17.2
R/stan_gamm4.R
Releases (23)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.32.2Latest
    record
    2025-09-30 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 2.32.1
    record
    2024-01-19 · diff ↗
  • 2.26.1
    record
    2023-09-14 · diff ↗ ·
    added 6 exports
    as_draws, as_draws_array, as_draws_df, as_draws_list, as_draws_matrix, as_draws_rvars
  • R
    R 4.3.0 released · 2023-04-21
  • 2.21.4
    record
    2023-04-08 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 2.21.3
    record
    2022-04-09 · diff ↗
  • R
    R 4.1.0 released · 2021-05-18
  • 2.21.1
    record
    2020-07-20 · diff ↗ ·
    added 5 exports
    default_prior_coef, default_prior_intercept, invlogit, logit, posterior_epred
  • R
    R 4.0.0 released · 2020-04-24
  • 2.19.3
    record
    2020-02-11 · diff ↗
  • 2.19.2
    record
    2019-10-03 · diff ↗ ·
    added 3 exports
    loo_R2, loo_compare, nsamples
  • R
    R 3.6.0 released · 2019-04-26
Show 19 earlier eventsHide 19 earlier events
  • 2.18.2
    record
    2018-11-10 · diff ↗
  • 2.18.1
    record
    2018-10-21 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 2.17.4
    record
    2018-04-13 · diff ↗ ·
    added 4 exports
    loo_model_weights, stanjm_list, stanmvreg_list, stanreg_list
  • 2.17.3
    record
    2018-02-18 · diff ↗
  • 2.17.2
    record
    2017-12-21 · diff ↗ ·
    added 11 exports
    Surv, bayes_R2, lkj, plot_stack_jm, posterior_survfit, posterior_traj, ps_check, stan_clogit, stan_jm, stan_mvmer, stan_nlmer
  • 2.15.3
    record
    2017-04-29 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • 2.15.2
    record
    2017-04-19 · diff ↗ ·
    added 5 exports
    loo_linpred, loo_predict, loo_predictive_interval, pairs_condition, pairs_style_np
  • 2.14.1
    record
    2017-01-17 · diff ↗ ·
    removed 1 export
    compare
    added 7 exports
    compare_models, exponential, laplace, lasso, product_normal, stan_betareg, stan_betareg.fit
  • 2.13.1
    record
    2016-11-20 · diff ↗ ·
    added 4 exports
    plot_nonlinear, predictive_error, predictive_interval, prior_summary
  • 2.12.1
    record
    2016-09-13 · diff ↗
  • 2.11.1
    record
    2016-07-29 · diff ↗ ·
    added 2 exports
    stan_biglm, stan_biglm.fit
  • 2.10.1
    record
    2016-06-25 · diff ↗ ·
    added 2 exports
    kfold, posterior_linpred
  • 2.9.0-4
    record
    2016-05-24 · diff ↗ ·
    added 2 exports
    posterior_vs_prior, pp_validate
  • R
    R 3.3.0 released · 2016-05-03
  • 2.9.0-3
    record
    2016-02-13 · diff ↗ ·
    removed 1 export
    ppcheck
  • 2.9.0-1
    record
    2016-01-09
  • R
    R 3.2.0 released · 2015-04-16

Package metadata

First published
2016-01-09
Total releases
23 / 10 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.4.0
Bundled data
38 KB / 10 files
Download size
3.8 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("rstanarm")

The package provides a citation file that builds its entry when R runs it. Run citation() to see it.

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 rstanarm version 2.32.2 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-18, 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