Description
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.
Downloads
258
Last 30 days
12327th
258
Last 90 days
258
Last year
CRAN Check Status
Show all 14 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 | NOTE |
| r-devel-linux-x86_64-fedora-gcc | NOTE |
| r-devel-macos-arm64 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | NOTE |
| r-oldrel-macos-x86_64 | NOTE |
| r-oldrel-windows-x86_64 | NOTE |
| 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 details (17 non-OK)
*
*
dependencies in R code
Namespaces in Imports field not imported from: ‘RcppParallel’ ‘httr’ ‘latex2exp’ ‘rstantools’ ‘tibble’ ‘tidyverse’ ‘utils’ All declared Imports should be used.
dependencies in R code
Namespaces in Imports field not imported from: ‘RcppParallel’ ‘httr’ ‘latex2exp’ ‘rstantools’ ‘tibble’ ‘tidyverse’ ‘utils’ All declared Imports should be used.
*
*
for GNU extensions in Makefiles
GNU make is a SystemRequirements.
installed package size
installed size is 100.9Mb
sub-directories of 1Mb or more:
libs 100.1Mb
for GNU extensions in Makefiles
GNU make is a SystemRequirements.
installed package size
installed size is 92.1Mb
sub-directories of 1Mb or more:
libs 91.3Mb
for GNU extensions in Makefiles
GNU make is a SystemRequirements.
installed package size
installed size is 5.7Mb
sub-directories of 1Mb or more:
libs 5.0Mb
*
*
*
*
*
Check History
NOTE 9 OK · 5 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
dependencies in R code
Namespaces in Imports field not imported from: ‘RcppParallel’ ‘httr’ ‘latex2exp’ ‘rstantools’ ‘tibble’ ‘tidyverse’ ‘utils’ All declared Imports should be used.
dependencies in R code
Namespaces in Imports field not imported from: ‘RcppParallel’ ‘httr’ ‘latex2exp’ ‘rstantools’ ‘tibble’ ‘tidyverse’ ‘utils’ All declared Imports should be used.
installed package size
installed size is 100.9Mb
sub-directories of 1Mb or more:
libs 100.1Mb
installed package size
installed size is 92.1Mb
sub-directories of 1Mb or more:
libs 91.3Mb
installed package size
installed size is 5.7Mb
sub-directories of 1Mb or more:
libs 5.0Mb