Skip to content

lifecontingencies

Financial and Actuarial Mathematics for Life Contingencies

v1.4.4 · Nov 27, 2025 · MIT + file LICENSE

Description

Classes and methods that allow the user to manage life table, actuarial tables (also multiple decrements tables). Moreover, functions to easily perform demographic, financial and actuarial mathematics on life contingencies insurances calculations are contained therein. See Spedicato (2013) <doi:10.18637/jss.v055.i10>.

Downloads

1.8K

Last 30 days

2910th

1.8K

Last 90 days

1.8K

Last year

CRAN Check Status

2 WARNING
12 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 WARNING
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 WARNING
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (14 non-OK)
OK 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

*


            
WARNING r-oldrel-macos-arm64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘an_introduction_to_lifecontingencies_package.Rnw’ using Sweave
Package:  lifecontingencies
Authors:  Giorgio Alfredo Spedicato [aut, cre] (ORCID:
    <https://orcid.org/0000-0002-0315-8888>),
  Christophe Dutang [ctb] (ORCID:
    <https://orcid.org/0000-0001-6732-1501>),
  Reinhold Kainhofer [ctb] (ORCID:
    <https://orcid.org/0000-0002-7895-1311>),
  Kevin J Owens [ctb],
  Ernesto Schirmacher [ctb],
  Gian Paolo Clemente [ctb] (ORCID:
    <https://orcid.org/0000-0001-6795-4595>),
  Ivan Williams [ctb]
Version:  1.4.4
Date:     2025-11-27 22:40:02 UTC
BugReport: https://github.com/spedygiorgio/lifecontingencies/issues

Loading required package: markovchain
Loading required package: Matrix
Package:  markovchain
Version:  0.10.0
Date:     2024-11-14 00:00:02 UTC
BugReport: https://github.com/spedygiorgio/markovchain/issues

Loading required package: parallel
Error: processing vignette 'an_introduction_to_lifecontingencies_package.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'an_introduction_to_lifecontingencies_package.tex' failed.
LaTeX errors:
! Package pict2e Error: Driver file ``p2e-pdftex.def'' not found.

See the pict2e package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Emergency stop.
 ...                                              
                                                  
l.125 ... Is the file properly installed? A: No!}}
                                                  
!  ==> Fatal error occurred, no output PDF file produced!
--- failed re-building 'an_introduction_to_lifecontingencies_package.Rnw'

--- re-building ‘mortality_projection.Rnw’ using Sweave
Loading required package: forecast
This is demography 2.0.1 

Package:  lifecontingencies
Authors:  Giorgio Alfredo Spedicato [aut, cre] (ORCID:
    <https://orcid.org/0000-0002-0315-8888>),
  Christophe Dutang [ctb] (ORCID:
    <https://orcid.org/0000-0001-6732-1501>),
  Reinhold Kainhofer [ctb] (ORCID:
    <https://orcid.org/0000-0002-7895-1311>),
  Kevin J Owens [ctb],
  Ernesto Schirmacher [ctb],
  Gian Paolo Clemente [ctb] (ORCID:
    <https://orcid.org/0000-0001-6795-4595>),
  Ivan Williams [ctb]
Version:  1.4.4
Date:     2025-11-27 22:40:02 UTC
BugReport: https://github.com/spedygiorgio/lifecontingencies/issues

Loading required package: StMoMo
Loading required package: gnm
Error: processing vignette 'mortality_projection.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'mortality_projection.tex' failed.
LaTeX errors:
! Package pict2e Error: Driver file ``p2e-pdftex.def'' not found.

See the pict2e package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Emergency stop.
 ...                                              
                                                  
l.125 ... Is the file properly installed? A: No!}}
                                                  
!  ==> Fatal error occurred, no output PDF file produced!
--- failed re-building ‘mortality_projection.Rnw’

--- re-building ‘PensionPlanVal.Rmd’ using rmarkdown
2025-12-01 09:57:03.131 R[21523:374328] XType: Using static font registry.
--- finished re-building ‘PensionPlanVal.Rmd’

--- re-building ‘compute-detail.Rmd’ using rmarkdown
--- finished re-building ‘compute-detail.Rmd’

--- re-building ‘pensionfunding.Rmd’ using rmarkdown
2025-12-01 09:57:05.899 R[21801:375019] XType: Using static font registry.
--- finished re-building ‘pensionfunding.Rmd’

SUMMARY: processing the following files failed:
  ‘an_introduction_to_lifecontingencies_package.Rnw’
  ‘mortality_projection.Rnw’

Error: Vignette re-building failed.
Execution halted
OK r-oldrel-macos-x86_64

*


            
OK r-oldrel-windows-x86_64

*


            
OK r-patched-linux-x86_64

*


            
OK r-release-linux-x86_64

*


            
WARNING r-release-macos-arm64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘an_introduction_to_lifecontingencies_package.Rnw’ using Sweave
Package:  lifecontingencies
Authors:  Giorgio Alfredo Spedicato [aut, cre] (ORCID:
    <https://orcid.org/0000-0002-0315-8888>),
  Christophe Dutang [ctb] (ORCID:
    <https://orcid.org/0000-0001-6732-1501>),
  Reinhold Kainhofer [ctb] (ORCID:
    <https://orcid.org/0000-0002-7895-1311>),
  Kevin J Owens [ctb],
  Ernesto Schirmacher [ctb],
  Gian Paolo Clemente [ctb] (ORCID:
    <https://orcid.org/0000-0001-6795-4595>),
  Ivan Williams [ctb]
Version:  1.4.4
Date:     2025-11-27 22:40:02 UTC
BugReport: https://github.com/spedygiorgio/lifecontingencies/issues

Loading required package: markovchain
Loading required package: Matrix
Package:  markovchain
Version:  0.10.0
Date:     2024-11-14 00:00:02 UTC
BugReport: https://github.com/spedygiorgio/markovchain/issues

Loading required package: parallel
Error: processing vignette 'an_introduction_to_lifecontingencies_package.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'an_introduction_to_lifecontingencies_package.tex' failed.
LaTeX errors:
! Package pict2e Error: Driver file ``p2e-pdftex.def'' not found.

See the pict2e package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Emergency stop.
 ...                                              
                                                  
l.125 ... Is the file properly installed? A: No!}}
                                                  
!  ==> Fatal error occurred, no output PDF file produced!
--- failed re-building 'an_introduction_to_lifecontingencies_package.Rnw'

--- re-building ‘mortality_projection.Rnw’ using Sweave
Loading required package: forecast
This is demography 2.0.1 

Package:  lifecontingencies
Authors:  Giorgio Alfredo Spedicato [aut, cre] (ORCID:
    <https://orcid.org/0000-0002-0315-8888>),
  Christophe Dutang [ctb] (ORCID:
    <https://orcid.org/0000-0001-6732-1501>),
  Reinhold Kainhofer [ctb] (ORCID:
    <https://orcid.org/0000-0002-7895-1311>),
  Kevin J Owens [ctb],
  Ernesto Schirmacher [ctb],
  Gian Paolo Clemente [ctb] (ORCID:
    <https://orcid.org/0000-0001-6795-4595>),
  Ivan Williams [ctb]
Version:  1.4.4
Date:     2025-11-27 22:40:02 UTC
BugReport: https://github.com/spedygiorgio/lifecontingencies/issues

Loading required package: StMoMo
Loading required package: gnm
Error: processing vignette 'mortality_projection.Rnw' failed with diagnostics:
Running 'texi2dvi' on 'mortality_projection.tex' failed.
LaTeX errors:
! Package pict2e Error: Driver file ``p2e-pdftex.def'' not found.

See the pict2e package documentation for explanation.
Type  H <return>  for immediate help.
 ...                                              
! Emergency stop.
 ...                                              
                                                  
l.125 ... Is the file properly installed? A: No!}}
                                                  
!  ==> Fatal error occurred, no output PDF file produced!
--- failed re-building ‘mortality_projection.Rnw’

--- re-building ‘PensionPlanVal.Rmd’ using rmarkdown
2025-12-01 10:27:53.317 R[79317:1195334] XType: Using static font registry.
--- finished re-building ‘PensionPlanVal.Rmd’

--- re-building ‘compute-detail.Rmd’ using rmarkdown
--- finished re-building ‘compute-detail.Rmd’

--- re-building ‘pensionfunding.Rmd’ using rmarkdown
2025-12-01 10:27:56.128 R[80116:1196779] XType: Using static font registry.
--- finished re-building ‘pensionfunding.Rmd’

SUMMARY: processing the following files failed:
  ‘an_introduction_to_lifecontingencies_package.Rnw’
  ‘mortality_projection.Rnw’

Error: Vignette re-building failed.
Execution halted
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

WARNING 12 OK · 0 NOTE · 2 WARNING · 0 ERROR · 0 FAILURE Mar 9, 2026
WARNING r-release-macos-arm64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘an_introduction_to_lifecontingencies_package.Rnw’ using Sweave
Package:  lifecontingencies
Authors:  Giorgio Alfredo Spedicato [aut, cre] (ORCID:
    <https://orcid.org/0000-0002-0315-8888>),
  Christophe Dutang [ctb] (ORCID:
    <https://orcid.org/0000-0001-6732-1501>),
  Reinhold Kainhofer [ctb] (ORCID:
    <https://orcid.org/0000-0002-7895-1311>),
  Kevin J Owens [ctb],
  Ernesto Schirmacher [ctb],
  Gian Paolo Clemente [ctb] (ORCID:
    <ht
WARNING r-oldrel-macos-arm64

re-building of vignette outputs

Error(s) in re-building vignettes:
--- re-building ‘an_introduction_to_lifecontingencies_package.Rnw’ using Sweave
Package:  lifecontingencies
Authors:  Giorgio Alfredo Spedicato [aut, cre] (ORCID:
    <https://orcid.org/0000-0002-0315-8888>),
  Christophe Dutang [ctb] (ORCID:
    <https://orcid.org/0000-0001-6732-1501>),
  Reinhold Kainhofer [ctb] (ORCID:
    <https://orcid.org/0000-0002-7895-1311>),
  Kevin J Owens [ctb],
  Ernesto Schirmacher [ctb],
  Gian Paolo Clemente [ctb] (ORCID:
    <ht

Dependency Network

Dependencies Reverse dependencies markovchain Rcpp lifecontingencies

Version History

new 1.4.4 Mar 10, 2026