StanHeaders
C++ Header Files for Stan
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
1.4M
Last 30 days
31st
2.6M
Last 90 days
6.9M
Last year
Trend: +104.1% (30d vs prior 30d)
1.7K
Last 30 days
4.7K
Last 90 days
13.7K
Last year
Trend: +20.1% (30d vs prior 30d)
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
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
installed package size
installed size is 17.0Mb
sub-directories of 1Mb or more:
include 11.7Mb
lib 3.3Mb
installed package size
installed size is 17.4Mb
sub-directories of 1Mb or more:
include 11.7Mb
lib 3.7Mb
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
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
installed package size
installed size is 17.0Mb
sub-directories of 1Mb or more:
include 11.7Mb
lib 3.3Mb
installed package size
installed size is 17.4Mb
sub-directories of 1Mb or more:
include 11.7Mb
lib 3.7Mb
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
installed package size
installed size is 17.0Mb
sub-directories of 1Mb or more:
include 11.7Mb
lib 3.3Mb
installed package size
installed size is 17.4Mb
sub-directories of 1Mb or more:
include 11.7Mb
lib 3.7Mb
installed package size
installed size is 14.1Mb
sub-directories of 1Mb or more:
include 11.3Mb