Skip to content

StanHeaders

2.39.1Package record

C++ Header Files for Stan

156packages dependsuggested by 1
11.4Mdownloads / year
–test coverage
13/13flavors OK

Overview

About

The C++ header files of the Stan project are provided by this package, but it contains little R code or documentation. The main reference is the vignette. There is a shared object containing part of the 'CVODES' library, but its functionality is not accessible from R. 'StanHeaders' is primarily useful for developers who want to utilize the 'LinkingTo' directive of their package's DESCRIPTION file to build on the Stan library without incurring unnecessary dependencies. The Stan project develops a probabilistic programming language that implements full or approximate Bayesian statistical inference via Markov Chain Monte Carlo or 'variational' methods and implements (optionally penalized) maximum likelihood estimation via optimization. The Stan library includes an advanced automatic differentiation scheme, 'templated' statistical and linear algebra functions that can handle the automatically 'differentiable' scalar types (and doubles, 'ints', etc.), and a parser for the Stan language. The 'rstan' package provides user-facing R functions to parse, compile, test, estimate, and analyze Stan models.

Install

Health

CRAN checks
13OK
Slowest check: 16.1 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-09-08
  • ERROR12 OK, 1 ERROR2026-09-07
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-29
Show 5 earlier changesHide 5 earlier changes
  • ERROR12 OK, 1 ERROR2026-07-27
  • 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.39.1
READMENoVignettesYes · 1 · dynamicNEWSNoCitation fileYes · software entry onlyWebsiteYes · pkgdown
Help pages
2
Examples that run
100%1 run in a plain check
Exported functions with examples
100%
Documented parameters
14%
Return-value docs
100%
Help pages citing references
0%

Downloads

11.4M
CRAN downloads in the past year
Rank #37 · ~31.1K/day · ~946.5K/mo
Daily download trend is not available in this view yet.
955.7K30 days
3.6M90 days
11.4M1 year
Compare downloads with other packages →
Also on18.9K r2u196 autocran49.9K conda_forge1.2K c2d4u

Repository

1,087Stars
266Forks
346Open issues
12Open PRs
11Releases
4,255Commits
81Commit identities
stanmcmcbayesian-inferencebayesian-data-analysisbayesian-statisticsrr-package
4,255 commits · Last activity 2026-10-22 · +0.1% stars, 30d
Responsiveness
How these are sampled
PRs merged (all time)
84%
Median days to close, 50 most recently updated closed issues
4
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2026-01-26 · 1,0662026-10-01 · 1,087
PracticesBeta

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

Checks run against github.com/stan-dev/rstan on 2026-10-21.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Governance and community (4)
Issue templatesPR templateFunding

Funding links: GitHub Sponsors, mc-stan.org

The repository owner accepts GitHub Sponsors

Docs source (2)

GitHub Pages site last deployed 2026-10-19 · The repository has a site deploy workflow

pkgdown site last built 2025-12-10, before release 2.39.1 (2026-09-02)

CRAN release process (1)
revdep/
Show all practicesHide 2 practices
Automation and maintenance (1)
Dependabot
Git structural (1)
Submodules
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)

Installing StanHeaders adds 3 packages (3 with compiled code, 4.2 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppEigen 1.7 MB, RcppParallel 744 KB.

Depends (1)
R >= 3.4.0
Imports (1)
Suggests (8)
Enhances (0)
none

People & History

People (28)
Maintainer since 2.7.0 (2015), Author · added in 2.7.0
Author · added in 2.7.0
Author · added in 2.26.25
Author · added in 2.7.0
Author · added in 2.7.0
Author · added in 2.7.0
Author · added in 2.7.0
Author · added in 2.7.0
Author · added in 2.7.0
Author · added in 2.7.0
Author · added in 2.7.0
Author · added in 2.7.0
Author · added in 2.7.0
Author · added in 2.7.0
Author · added in 2.7.0
Author · added in 2.7.0
Author · added in 2.7.0
Author · added in 2.7.0
Author · added in 2.7.0
Author · added in 2.7.0
Author · added in 2.7.0
Author · added in 2.7.0
Author · added in 2.7.0
Contributor · added in 2.7.0
Copyright holder · added in 2.10.0
Copyright holder · added in 2.10.0
CVODES
Copyright holder · added in 2.10.0
CVODES
Copyright holder · added in 2.10.0
CVODES

Previously maintained by Joshua N. Pritikin (2.6.0-10).

Listed in earlier versions (2)
Stan Development Team
no longer listed · 2.6.0-10
Joshua N.
no longer listed · 2.6.0-10
Releases (38)

Pick two releases to compare their code metrics.

Show 35 earlier eventsHide 35 earlier events

Package metadata

First published
2015-02-10
Total releases
38 / 11 yrs
License
BSD_3_clause + file LICENSE OSI
Minimum R
≥ 3.4.0
Download size
2.5 MB
Appears in task views

Cite

Cite this package

Run in R for the authors' entry:

citation("StanHeaders")

The package provides a citation file, so citation() returns the authors' own entry.

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

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