StanHeaders: C++ Header Files for Stan

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.

Version: 2.32.10
Depends: R (≥ 3.4.0)
Imports: RcppParallel (≥ 5.1.4)
LinkingTo: RcppEigen (≥, RcppParallel (≥ 5.1.4)
Suggests: Rcpp, BH (≥ 1.75.0-0), knitr (≥ 1.36), rmarkdown, Matrix, methods, rstan, withr
Published: 2024-07-15
DOI: 10.32614/CRAN.package.StanHeaders
Author: Ben Goodrich [cre, aut], Joshua Pritikin [ctb], Andrew Gelman [aut], Bob Carpenter [aut], Matt Hoffman [aut], Daniel Lee [aut], Michael Betancourt [aut], Marcus Brubaker [aut], Jiqiang Guo [aut], Peter Li [aut], Allen Riddell [aut], Marco Inacio [aut], Mitzi Morris [aut], Jeffrey Arnold [aut], Rob Goedman [aut], Brian Lau [aut], Rob Trangucci [aut], Jonah Gabry [aut], Alp Kucukelbir [aut], Robert Grant [aut], Dustin Tran [aut], Michael Malecki [aut], Yuanjun Gao [aut], Hamada S. Badr ORCID iD [aut], Trustees of Columbia University [cph], Lawrence Livermore National Security [cph] (CVODES), The Regents of the University of California [cph] (CVODES), Southern Methodist University [cph] (CVODES)
Maintainer: Ben Goodrich <benjamin.goodrich at>
License: BSD_3_clause + file LICENSE
NeedsCompilation: yes
SystemRequirements: GNU make, pandoc
Citation: StanHeaders citation info
In views: Distributions
CRAN checks: StanHeaders results


Reference manual: StanHeaders.pdf
Vignettes: Using the Stan Math C++ Library


Package source: StanHeaders_2.32.10.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): StanHeaders_2.32.10.tgz, r-oldrel (arm64): StanHeaders_2.32.9.tgz, r-release (x86_64): StanHeaders_2.32.10.tgz, r-oldrel (x86_64): StanHeaders_2.32.9.tgz
Old sources: StanHeaders archive

Reverse dependencies:

Reverse depends: bayesvl, llbayesireg, rstan
Reverse imports: bayesforecast, modeltime, prophet
Reverse linking to: AovBay, baggr, bakR, baldur, BASiCStan, bayes4psy, bayesdfa, bayesforecast, bayesGAM, BayesGmed, BayesGrowth, BayesianPlatformDesignTimeTrend, BayesSenMC, bayesZIB, bbmix, beanz, BeeGUTS, bellreg, bennu, Bernadette, BINtools, birdie, bistablehistory, blavaan, bmgarch, bmggum, bmlm, bmstdr, BPrinStratTTE, breathteststan, bsynth, bws, CARME, CausalQueries, cbq, cloneRate, CNVRG, coconots, conStruct, ctsem, DCPO, decontX, densEstBayes, disbayes, EcoEnsemble, eggCounts, EloSteepness, EpiNow2, fcirt, FlexReg, gastempt, geostan, glmmfields, glmmPen, glmmrBase, greencrab.toolkit, GUD, hbamr, hBayesDM, historicalborrowlong, hsstan, hwep, idem, IgGeneUsage, isotracer, jfa, lgpr, LMMELSM, MADPop, measr, metaBMA, MetaStan, MIRES, mlts, mrbayes, multinma, multipleDL, networkscaleup, OncoBayes2, oncomsm, OpenMx, parTimeROC, pcFactorStan, pema, phacking, phylopairs, PoolTestR, ppcseq, prome, prophet, psBayesborrow, publipha, rater, RBesT, rbioacc, rbmi, rcbayes, Rlgt, rmBayes, rmsb, RoBTT, rPBK, rstan, rstanarm, rstanbdp, rstanemax, rts2, rxode2ll, rxode2parse, sccomp, scMET, spsurv, ssMousetrack, StanMoMo, surveil, survstan, thurstonianIRT, tipsae, tmbstan, trialr, TriDimRegression, truncnormbayes, tsnet, ubms, visit, walker, winputall, YPBP, YPPE, zoid
Reverse suggests: Bernadette, brms.mmrm, rstanarm


Please use the canonical form to link to this page.