Skip to content

MortalityGaps

The Double-Gap Life Expectancy Forecasting Model

v1.0.7 · Apr 1, 2025 · GPL-3

Description

Life expectancy is highly correlated over time among countries and between males and females. These associations can be used to improve forecasts. Here we have implemented a method for forecasting female life expectancy based on analysis of the gap between female life expectancy in a country compared with the record level of female life expectancy in the world. Second, to forecast male life expectancy, the gap between male life expectancy and female life expectancy in a country is analysed. We named this method the Double-Gap model. For a detailed description of the method see Pascariu et al. (2018). <doi:10.1016/j.insmatheco.2017.09.011>.

Downloads

287

Last 30 days

14430th

678

Last 90 days

2.7K

Last year

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

CRAN Check Status

1 ERROR
13 OK
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 OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 ERROR
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 (1 non-OK)
ERROR r-oldrel-windows-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building 'Manual.Rmd' using rmarkdown
! Package pdftex.def Error: File `712a86eb1b15edcbceca17e96a28a268ceda11d1.pdf'
 not found: using draft setting.

Error: processing vignette 'Manual.Rmd' failed with diagnostics:
LaTeX failed to compile D:/RCompile/CRANpkg/local/4.4/MortalityGaps.Rcheck/vign_test/MortalityGaps/vignettes/Manual.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See Manual.log for more info.
--- failed re-building 'Manual.Rmd'

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

Error: Vignette re-building failed.
Execution halted

Check History

ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 30, 2026
ERROR r-oldrel-windows-x86_64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building 'Manual.Rmd' using rmarkdown
! Package pdftex.def Error: File `712a86eb1b15edcbceca17e96a28a268ceda11d1.pdf'
 not found: using draft setting.

Error: processing vignette 'Manual.Rmd' failed with diag
...[truncated]...
tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See Manual.log for more info.
--- failed re-building 'Manual.Rmd'

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

Error: Vignette re-building failed.
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Dependency Network

Dependencies Reverse dependencies forecast MASS crch pbapply (>= 1.3) Rdpack MortalityGaps

Version History

new 1.0.7 Mar 10, 2026
updated 1.0.7 ← 1.0.0 diff Apr 1, 2025
new 1.0.0 Jul 19, 2018