Skip to content

MortalityLaws

Parametric Mortality Models, Life Tables and HMD

v2.1.3 · Apr 16, 2025 · MIT + file LICENSE

Description

Fit the most popular human mortality 'laws', and construct full and abridge life tables given various input indices. A mortality law is a parametric function that describes the dying-out process of individuals in a population during a significant portion of their life spans. For a comprehensive review of the most important mortality laws see Tabeau (2001) <doi:10.1007/0-306-47562-6_1>. Practical functions for downloading data from various human mortality databases are provided as well.

Downloads

804

Last 30 days

4443rd

2.4K

Last 90 days

11.7K

Last year

Trend: -20.5% (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 'Installation.Rmd' using rmarkdown
--- finished re-building 'Installation.Rmd'

--- re-building 'Intro.Rmd' using rmarkdown
! Package pdftex.def Error: File `814a858a4eb100702a30159ee34102a01f830602.pdf'
 not found: using draft setting.

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

SUMMARY: processing the following file failed:
  'Intro.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 'Installation.Rmd' using rmarkdown
--- finished re-building 'Installation.Rmd'

--- re-building 'Intro.Rmd' using rmarkdown
! Package pdftex.def Error: File `814a858a4eb100702a30159ee34102a01f830602.
...[truncated]...
ro.tex. See https://yihui.org/tinytex/r/#debugging for debugging tips. See Intro.log for more info.
--- failed re-building 'Intro.Rmd'

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

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

Reverse Dependencies (4)

imports

Dependency Network

Dependencies Reverse dependencies minpack.lm RCurl pbapply tidyr rvest httr demofit vital MortalityGaps ungroup MortalityLaws

Version History

new 2.1.3 Mar 10, 2026
updated 2.1.3 ← 2.1.2 diff Apr 15, 2025
updated 2.1.2 ← 2.1.0 diff Apr 1, 2025
updated 2.1.0 ← 2.0.3 diff Jan 14, 2024
updated 2.0.3 ← 1.9.9 diff Aug 7, 2023
updated 1.9.9 ← 1.9.4 diff Feb 21, 2023
updated 1.9.4 ← 1.9.3 diff Jun 30, 2022
updated 1.9.3 ← 1.8.5 diff Feb 4, 2022
updated 1.8.5 ← 1.8.4 diff Sep 15, 2020
updated 1.8.4 ← 1.8.3 diff Mar 15, 2020
updated 1.8.3 ← 1.8.2 diff Jan 15, 2020
updated 1.8.2 ← 1.8.1 diff Nov 25, 2019
updated 1.8.1 ← 1.8.0 diff Nov 6, 2019
updated 1.8.0 ← 1.7.0 diff Jun 17, 2019
updated 1.7.0 ← 1.6.0 diff Nov 5, 2018
updated 1.6.0 ← 1.5.0 diff Aug 30, 2018
updated 1.5.0 ← 1.4.0 diff Jul 28, 2018
updated 1.4.0 ← 1.3.0 diff Jun 19, 2018
updated 1.3.0 ← 1.2.0 diff Jan 10, 2018
updated 1.2.0 ← 1.0.5 diff Dec 7, 2017