The C++ header files of the Stan project are provided by this package, but it contains no R code, shared objects, vignettes, or function documentation. It is only 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 Bayesian statistical inference via Markov Chain Monte Carlo and (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.

Bayesian Mortality Modelling with 'Stan'
c(person(given = "Karim", family = "Barigou", role = c("aut", "cre"), email = "karim290492@gmail.com",comment = c(ORCID = "0000-0003-3389-9596")),
person(given = "Pierre-Olivier", family = "Goffard",role="aut",comment = c(ORCID = "0000-0002-2667-6207")))
Implementation of popular mortality models using the 'rstan'
package, which provides the R interface to the 'Stan' C++ library for
Bayesian estimation. The package supports well-known models proposed in the
actuarial and demographic literature including the Lee-Carter (1992)
<doi:10.1080/01621459.1992.10475265> and the Cairns-Blake-Dowd (2006)
<doi:10.1111/j.1539-6975.2006.00195.x> models. By a simple call, the user
inputs deaths and exposures and the package outputs the MCMC simulations for
each parameter, the log likelihoods and predictions. Moreover, the package
includes tools for model selection and Bayesian model averaging by leave
future-out validation.
loo, methods, RcppParallel, Rcpp (>= 0.12.0), rstan (>=
2.18.1), rstantools (>= 2.0.0), tidyverse, dplyr, tibble, httr,
bridgesampling, stats, utils, tidyselect, latex2exp, tidyr,
ggplot2, ggfan
Karim Barigou [aut, cre] (<https://orcid.org/0000-0003-3389-9596>),
Pierre-Olivier Goffard [aut] (<https://orcid.org/0000-0002-2667-6207>)