Skip to content

StanHeaders

C++ Header Files for Stan

v2.32.10 · Jul 15, 2024 · BSD_3_clause + file LICENSE

Description

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.

Downloads

CRAN

1.4M

Last 30 days

31st

2.6M

Last 90 days

6.9M

Last year

Trend: +104.1% (30d vs prior 30d)

r2u CRAN

1.7K

Last 30 days

4.7K

Last 90 days

13.7K

Last year

Trend: +20.1% (30d vs prior 30d)

autoCRAN

24

Last 7 days

144

Last 30 days

6

All-time

⚠ Shared name: this package is also shipped elsewhere on openSUSE, so this count is not exclusive to autoCRAN (it is an upper bound).

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 25, 2026
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 17.0Mb
  sub-directories of 1Mb or more:
    include  11.7Mb
    lib       3.3Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 17.4Mb
  sub-directories of 1Mb or more:
    include  11.7Mb
    lib       3.7Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is 14.1Mb
  sub-directories of 1Mb or more:
    include  11.3Mb
ERROR 10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building 'stanmath.Rmd' using rmarkdown

Quitting from stanmath.Rmd:66-68 [unnamed-chunk-1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_er
...[truncated]...
ng vignette 'stanmath.Rmd' failed with diagnostics:
Error 1 occurred building shared library.
--- failed re-building 'stanmath.Rmd'

SUMMARY: processing the following file failed:
  'stanmath.Rmd'

Error: Vignette re-building failed.
Execution halted
NOTE r-oldrel-macos-arm64

installed package size

installed size is 17.0Mb
  sub-directories of 1Mb or more:
    include  11.7Mb
    lib       3.3Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 17.4Mb
  sub-directories of 1Mb or more:
    include  11.7Mb
    lib       3.7Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is 14.1Mb
  sub-directories of 1Mb or more:
    include  11.3Mb
NOTE 11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

installed package size

installed size is 17.0Mb
  sub-directories of 1Mb or more:
    include  11.7Mb
    lib       3.3Mb
NOTE r-oldrel-macos-x86_64

installed package size

installed size is 17.4Mb
  sub-directories of 1Mb or more:
    include  11.7Mb
    lib       3.7Mb
NOTE r-oldrel-windows-x86_64

installed package size

installed size is 14.1Mb
  sub-directories of 1Mb or more:
    include  11.3Mb

Reverse Dependencies (146)

depends

Dependency Network

Dependencies Reverse dependencies RcppParallel bayesvl rstan SMNlmec modeltime prophet AovBay BINtools BPrinStratTTE BRRAT BayesGmed BayesGrowth BayesPET BayesSenMC BayesianPlatformDesignTimeTrend BeeGUTS +131 more reverse deps StanHeaders

Version History

38 tracked
new 2.32.10 Mar 10, 2026
updated 2.32.10 ← 2.32.9 diff Jul 14, 2024
updated 2.32.9 ← 2.32.8 diff May 28, 2024
updated 2.32.8 ← 2.32.7 diff May 20, 2024
updated 2.32.7 ← 2.32.6 diff Apr 24, 2024
updated 2.32.6 ← 2.32.5 diff Feb 29, 2024
updated 2.32.5 ← 2.26.28 diff Jan 9, 2024
updated 2.26.28 ← 2.26.27 diff Sep 6, 2023
updated 2.26.27 ← 2.26.26 diff Jun 14, 2023
updated 2.26.26 ← 2.26.25 diff May 30, 2023
updated 2.26.25 ← 2.21.0-7 diff May 16, 2023
updated 2.21.0-7 ← 2.21.0-6 diff Dec 16, 2020
updated 2.21.0-6 ← 2.21.0-5 diff Aug 15, 2020
updated 2.21.0-5 ← 2.21.0-3 diff Jun 8, 2020
updated 2.21.0-3 ← 2.19.2 diff May 27, 2020