Changelog
Source:NEWS.md
vital 2.1.0
CRAN release: 2026-10-05
- Updated to work with fabletools v0.7.0+
-
read_stmf()now takesusernameandpasswordarguments, as the HMD now requires a login to download STMF data. -
model()now estimates models in parallel when thefuturepackage is attached, as in fabletools (the previous implementation never ran) -
interpolate()now works forFNAIVE(),LC(),FDM()and GAPC models (APC(),CBD(), etc.), as well asFMEAN() -
autoplot()now plots the age, period and cohort components of GAPC models (GAPC(),LC2(),CBD(),APC(),RH(),M7()andPLAT()) -
tidy()now returns the coefficients ofLC(),FDM(),FNAIVE()and GAPC models in long form (termandestimate, with the age, time or birth year to which each refers) -
LC(),FDM(),FMEAN()andFNAIVE()now give an error for unused arguments, so misspelled arguments are no longer silently ignored - Many bug fixes, documentation improvements, more informative errors, and speed ups.
vital 2.0.3
CRAN release: 2026-02-13
- Added default ARFIMA modelling for coherent FDM
- Fixed to work with fabletools v0.6.0+
vital 2.0.0
CRAN release: 2025-08-20
- New data functions:
read_ktdb(),read_ktdb_files(),read_stmf(),read_stmf_files() - New model functions:
GAPC(),PLAT(),M7(),RH(),CBD(),LC2() - New smoothing function:
smooth_mortality_law() - New stochastic simulation function:
generate_population() - Added vignette introducing the package
- Added vignette on stochastic population forecasting
- Removed Australian data sets to reduce package size
- Updated Norwegian data sets
- Bug fixes and unit tests
vital 1.1.0
CRAN release: 2024-06-21
- Improved formatting of vital objects when printed
- Added
vital_vars()function - Added
age_components()methods forFNAIVE()andFMEAN()models - Data before 1900 removed from
norway_xxxdata sets