Skip to content

vital

2.0.3

Tidy Analysis Tools for Mortality, Fertility, Migration and Population Data

0packages depend
3.4Kdownloads / year
68.7%test coverage
13/13checks pass

Overview

About
Maintained by Rob HyndmanFirst published 2024-06-046 releasesCRAN page ↗GitHub ↗

Analysing vital statistics based on tools consistent with the tidyverse. Tools are provided for data visualization, life table calculations, computing net migration numbers, Lee-Carter modelling; functional data modelling and forecasting.

Install

Health

CRAN checks
13OK
Slowest check: 8.6 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 7.28
68.7%
Coverage · measured lines
100%
Documentation · exports
18
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 224 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
79%
Documented parameters
100%
Return-value docs
97%
References docs
29%

Downloads

3.4K
CRAN downloads in the past year
Rank #14,834 · ~9/day · ~287/mo
Daily download trend is not available in this view yet.
21930 days
70090 days
3.4K1 year
Compare downloads with other packages →
Also on203 r2u3 autocran

Repository

Repository
32Stars
5Forks
7Open issues
0Open PRs
6Releases
544Commits
8Contributors
544 commits · Last activity 2026-05-04 · 0% stars, 30d

Stars over time

2025-07-15 · 292026-07-07 · 32

Repository practices

Upstream repositoryBeta

5 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/robjhyndman/vital on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Docs source (1)
README.qmd
Show all practices
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
25 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (4)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (2)
Author, Maintainer, Copyright holder
Author · added in 2.0.0
Contributors (2)
Contributor · added in 2.0.0
Copyright holders (1)
Author, Maintainer, Copyright holder
Package Timeline

6 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.0.3Latest
    2026-02-13 · current release · diff ↗
  • 2.0.2
    2026-01-19 · diff ↗
  • 2.0.1
    2025-10-06 · diff ↗
  • 2.0.0
    2025-08-20 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.1.0
    2024-06-21 · diff ↗
  • 1.0.0
    2024-06-04
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-06-04
Total releases
6 / 2 yrs
License
GPL-3 OSI
Minimum R
≥ 4.1.0
Bundled data
347 KB / 3 files
Download size
2.4 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("vital")
Hyndman, R., McBain, M., O'Hara-Wild, M., & Tang, S. (2026). vital: Tidy Analysis Tools for Mortality, Fertility, Migration and Population Data (Version 2.0.3) [Computer software]. https://doi.org/10.32614/CRAN.package.vital

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for vital version 2.0.3 [Data set]. HJJB, LLC. Data release v2026-08-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy