{
  "_id": "6acb843afe5cc25786e9117a",
  "Package": "MortalityLaws",
  "Type": "Package",
  "Title": "Parametric Mortality Models, Life Tables and HMD",
  "Version": "3.0.0",
  "Authors@R": "c(\nperson(\"Marius D.\", \"Pascariu\", role = c(\"aut\", \"cre\", \"cph\"), email = \"mpascariu@outlook.com\", comment = c(ORCID = \"0000-0002-2568-6489\")),\nperson(\"Vladimir\", \"Canudas-Romo\", role = \"ctb\"))",
  "Maintainer": "Marius D. Pascariu <mpascariu@outlook.com>",
  "Description": "Fit the most popular human mortality 'laws', and construct\nfull and abridged life tables given various input indices. A\nmortality law is a parametric function that describes the\ndying-out process of individuals in a population during a\nsignificant portion of their life spans. For a comprehensive\nreview of the most important mortality laws see Tabeau (2001)\n<doi:10.1007/0-306-47562-6_1>. Practical functions for\ndownloading data from various human mortality databases are\nprovided as well.",
  "License": "MIT + file LICENSE",
  "LazyData": "TRUE",
  "URL": "https://mpascariu.github.io/MortalityLaws/,\nhttps://github.com/mpascariu/MortalityLaws",
  "BugReports": "https://github.com/mpascariu/MortalityLaws/issues",
  "Encoding": "UTF-8",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.1.0",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://mpascariu.r-universe.dev",
  "Date/Publication": "2026-10-07 17:03:14 UTC",
  "RemoteUrl": "https://github.com/mpascariu/mortalitylaws",
  "RemoteRef": "HEAD",
  "RemoteSha": "3cdc54db5f0f30a66711aecdcbe742e1d89a83d6",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-11 12:39:26 UTC",
    "User": "root"
  },
  "Author": "Marius D. Pascariu [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-2568-6489>),\nVladimir Canudas-Romo [ctb]",
  "_user": "mpascariu",
  "_type": "src",
  "_file": "MortalityLaws_3.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/f35f7e8b57fb4bdd6df55475ff201f65f0bf51a6ebf9b1f23b77d18b409d4db9",
  "_filesize": 3203702,
  "_sha256": "f35f7e8b57fb4bdd6df55475ff201f65f0bf51a6ebf9b1f23b77d18b409d4db9",
  "_expires": "2027-01-19T12:42:32.000Z",
  "_created": "2026-10-11T12:39:26.000Z",
  "_published": "2026-10-11T12:42:34.445Z",
  "_buildurl": "https://github.com/r-universe/mpascariu/actions/runs/38139899780",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 114472056877,
      "time": 155,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11703180226"
    },
    {
      "job": 114472056941,
      "time": 145,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11702856068"
    },
    {
      "job": 114472056822,
      "time": 121,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11701459975"
    },
    {
      "job": 114472056885,
      "time": 130,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11703295064"
    },
    {
      "job": 114471489203,
      "time": 180,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11703170371"
    },
    {
      "job": 114472056828,
      "time": 91,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11702446744"
    },
    {
      "job": 114472056911,
      "time": 126,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11703215096"
    },
    {
      "job": 114472056917,
      "time": 92,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11701539784"
    },
    {
      "job": 114472056900,
      "time": 76,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11703020295"
    }
  ],
  "_upstream": "https://github.com/mpascariu/mortalitylaws",
  "_commit": {
    "id": "3cdc54db5f0f30a66711aecdcbe742e1d89a83d6",
    "author": "Marius D Pascariu <rpascariu@outlook.com>",
    "committer": "Marius D Pascariu <rpascariu@outlook.com>",
    "message": "v3.0.0 - \"candle clock\" - documentation, website, logo colourways, rebuilt plots, life tables from e(x), 38 laws and near-full tests\n\nMajor release standing on the 2.2.0 to 2.13.1 series. No package code changes\nhere: the version is the roll-up, and the work it names already shipped in the\nreleases below it.\n\nNEWS: a 3.0.0 entry summarises everything since the last CRAN release (2.2.0) in\nfive bullets - the documentation and website, the rebuilt plots, the life tables\nbuilt from e(x), the first-year average now following the Andreev-Kingkade rule\n(the one user-visible break: life expectancy at birth shifts), the catalogue at\n38 laws on their published formulas, the logo, and the near-complete coverage.\nThe detailed 2.3 to 2.13 entries stay below it. DESCRIPTION and both README\ncitation strings move to 3.0.0.\n\nLogo: the README header is a <picture> now, serving the ink hexagon in light mode\nand the lime one in dark mode. man/figures/hex-mortalitylaws-lime.png joins the\nink one there because pkgdown copies man/figures/ wholesale into the site\n(reference/figures/), which is what the srcset resolves against. Checked in two\nrenderers: GitHub's own markdown pipeline keeps the element inside the h1 (wrapped\nin themed-picture), and the built site picks the right file with\nprefers-color-scheme emulated both ways in Chromium.\n\nHero figure: data-raw/fig_readme_hero.R and man/figures/README-hero.png reworked -\nblack cross marks instead of grey circles, Kannisto-Makeham over 60-100 and\nGompertz over 40-80, and a double-resolution canvas - and the README alt text now\ndescribes what the figure draws.\n\nLeft alone deliberately: the hero keeps a brighter palette than the plot methods\nin R/plot-shared.R, and inst/figures/ still ships two unused hex PNGs.\n\nVerified: R CMD build --no-manual renders the vignettes, R CMD check --no-manual\nStatus OK; pkgdown::build_home plus the local site checked in a browser.\n",
    "time": 1791392594
  },
  "_maintainer": {
    "name": "Marius D. Pascariu",
    "email": "mpascariu@outlook.com",
    "orcid": "0000-0002-2568-6489"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.5.0",
      "role": "Depends"
    },
    {
      "package": "pbapply",
      "version": ">= 1.7-4",
      "role": "Imports"
    },
    {
      "package": "httr",
      "version": ">= 1.4.8",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.3.2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    }
  ],
  "_owner": "mpascariu",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2026-18",
      "n": 1
    },
    {
      "week": "2026-19",
      "n": 4
    },
    {
      "week": "2026-40",
      "n": 16
    },
    {
      "week": "2026-41",
      "n": 6
    }
  ],
  "_tags": [],
  "_topics": [
    "actuarial-science",
    "demography",
    "download-hmd",
    "human-mortality-laws",
    "life-table",
    "mortality"
  ],
  "_stars": 37,
  "_contributors": [
    {
      "user": "mpascariu",
      "count": 97,
      "uuid": 6264977
    },
    {
      "user": "timriffe",
      "count": 2,
      "uuid": 904603
    }
  ],
  "_userbio": {
    "uuid": 6264977,
    "type": "user",
    "name": "Marius D. Pascariu",
    "followers": 96,
    "description": "R&D actuary. Statistical demographer. Data scientist. Interested in mortality modelling and forecasting & finance."
  },
  "_downloads": {
    "count": 880,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/MortalityLaws"
  },
  "_devurl": "https://github.com/mpascariu/mortalitylaws",
  "_pkgdown": "https://mpascariu.github.io/MortalityLaws/",
  "_searchresults": 127,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/MortalityLaws.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/mpascariu/mortalitylaws",
  "_realowner": "mpascariu",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2017-10-24"
    },
    {
      "version": "1.0.5",
      "date": "2017-10-26"
    },
    {
      "version": "1.2.0",
      "date": "2017-12-08"
    },
    {
      "version": "1.3.0",
      "date": "2018-01-11"
    },
    {
      "version": "1.4.0",
      "date": "2018-06-20"
    },
    {
      "version": "1.5.0",
      "date": "2018-07-29"
    },
    {
      "version": "1.6.0",
      "date": "2018-08-31"
    },
    {
      "version": "1.7.0",
      "date": "2018-11-06"
    },
    {
      "version": "1.8.0",
      "date": "2019-06-18"
    },
    {
      "version": "1.8.1",
      "date": "2019-11-07"
    },
    {
      "version": "1.8.2",
      "date": "2019-11-26"
    },
    {
      "version": "1.8.3",
      "date": "2020-01-16"
    },
    {
      "version": "1.8.4",
      "date": "2020-03-16"
    },
    {
      "version": "1.8.5",
      "date": "2020-09-16"
    },
    {
      "version": "1.9.3",
      "date": "2022-02-05"
    },
    {
      "version": "1.9.4",
      "date": "2022-07-01"
    },
    {
      "version": "1.9.9",
      "date": "2023-02-22"
    },
    {
      "version": "2.0.3",
      "date": "2023-08-08"
    },
    {
      "version": "2.1.0",
      "date": "2024-01-15"
    },
    {
      "version": "2.1.2",
      "date": "2025-04-02"
    },
    {
      "version": "2.1.3",
      "date": "2025-04-16"
    },
    {
      "version": "2.2.0",
      "date": "2026-05-05"
    },
    {
      "version": "3.0.0",
      "date": "2026-10-07"
    }
  ],
  "_exports": [
    "availableHMD",
    "availableLaws",
    "availableLF",
    "beard",
    "beard_makeham",
    "carriere1",
    "carriere2",
    "convertFx",
    "demoivre",
    "dispersion",
    "ggompertz",
    "gompertz",
    "gompertz_logquad",
    "gompertz0",
    "HP",
    "HP2",
    "HP3",
    "HP4",
    "invgompertz",
    "invweibull",
    "kannisto",
    "kannisto_makeham",
    "kostaki",
    "LawTable",
    "LifeTable",
    "makeham",
    "makeham_logquad",
    "makeham0",
    "martinelle",
    "MortalityLaw",
    "neggompertz",
    "opperman",
    "pareto_2",
    "perks",
    "quadratic",
    "ReadAHMD",
    "ReadCHMD",
    "ReadHMD",
    "ReadJMD",
    "rogersplanck",
    "scholey",
    "scholey_shifted_power",
    "siler",
    "steffensen",
    "strehler_mildvan",
    "thiele",
    "vandermaen",
    "vandermaen2",
    "weibull",
    "wittstein"
  ],
  "_datasets": [
    {
      "name": "ahmd",
      "title": "MortalityLaws Test Data",
      "object": "ahmd",
      "class": [
        "list"
      ],
      "fields": [],
      "table": true,
      "tojson": true
    },
    {
      "name": "AHMD_sample",
      "title": "AHMD sample Data object generated by the 'ReadAHMD()' function.",
      "object": "AHMD_sample",
      "class": [
        "ReadAHMD"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "CHMD_sample",
      "title": "CHMD sample Data object generated by the 'ReadCHMD()' function.",
      "object": "CHMD_sample",
      "class": [
        "ReadCHMD"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "HMD_sample",
      "title": "HMD sample Data object generated by the 'ReadHMD()' function.",
      "object": "HMD_sample",
      "class": [
        "ReadHMD"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "JMD_sample",
      "title": "JMD sample Data object generated by the 'ReadJMD()' function.",
      "object": "JMD_sample",
      "class": [
        "ReadJMD"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    }
  ],
  "_help": [
    {
      "page": "ahmd",
      "title": "MortalityLaws Test Data",
      "topics": [
        "ahmd"
      ]
    },
    {
      "page": "AIC.MortalityLaw",
      "title": "Extract the AIC of a Fitted Mortality Law",
      "topics": [
        "AIC.MortalityLaw"
      ]
    },
    {
      "page": "availableHMD",
      "title": "Check Data Availability in HMD",
      "topics": [
        "availableHMD"
      ]
    },
    {
      "page": "availableLaws",
      "title": "Check the Available Mortality Laws",
      "topics": [
        "availableLaws"
      ]
    },
    {
      "page": "availableLF",
      "title": "Check Available Loss Functions",
      "topics": [
        "availableLF"
      ]
    },
    {
      "page": "convertFx",
      "title": "Convert Life Table Indicators",
      "topics": [
        "convertFx"
      ]
    },
    {
      "page": "deviance.MortalityLaw",
      "title": "Extract the Deviance of a Fitted Mortality Law",
      "topics": [
        "deviance.MortalityLaw"
      ]
    },
    {
      "page": "df.residual.MortalityLaw",
      "title": "Extract the Residual Degrees of Freedom of a Fitted Mortality Law",
      "topics": [
        "df.residual.MortalityLaw"
      ]
    },
    {
      "page": "dispersion.MortalityLaw",
      "title": "Dispersion of a Fitted Mortality Law",
      "topics": [
        "dispersion",
        "dispersion.MortalityLaw"
      ]
    },
    {
      "page": "LawTable",
      "title": "Compute Life Tables from Parameters of a Mortality Law",
      "topics": [
        "LawTable"
      ]
    },
    {
      "page": "LifeTable",
      "title": "Compute Life Tables from Mortality Data",
      "topics": [
        "LifeTable"
      ]
    },
    {
      "page": "logLik.MortalityLaw",
      "title": "Extract the Log-Likelihood of a Fitted Mortality Law",
      "topics": [
        "logLik.MortalityLaw"
      ]
    },
    {
      "page": "MortalityLaw",
      "title": "Fit Mortality Laws",
      "topics": [
        "MortalityLaw"
      ]
    },
    {
      "page": "MortalityLaws",
      "title": "MortalityLaws: Parametric Mortality Models, Life Tables and HMD",
      "topics": [
        "MortalityLaws-package",
        "MortalityLaws"
      ]
    },
    {
      "page": "plot.convertFx",
      "title": "Plot a Life Table Indicator Conversion",
      "topics": [
        "plot.convertFx"
      ]
    },
    {
      "page": "plot.LifeTable",
      "title": "Plot a Life Table",
      "topics": [
        "plot.LifeTable"
      ]
    },
    {
      "page": "plot.MortalityLaw",
      "title": "Plot a Fitted Mortality Law",
      "topics": [
        "plot.MortalityLaw"
      ]
    },
    {
      "page": "predict.MortalityLaw",
      "title": "Predict from a Fitted Mortality Law",
      "topics": [
        "predict.MortalityLaw"
      ]
    },
    {
      "page": "ReadAHMD",
      "title": "Download the Australian Human Mortality Database (AHMD)",
      "topics": [
        "ReadAHMD"
      ]
    },
    {
      "page": "ReadCHMD",
      "title": "Download the Canadian Human Mortality Database (CHMD)",
      "topics": [
        "ReadCHMD"
      ]
    },
    {
      "page": "ReadHMD",
      "title": "Download The Human Mortality Database (HMD)",
      "topics": [
        "ReadHMD"
      ]
    },
    {
      "page": "ReadJMD",
      "title": "Download the Japanese Mortality Database (JMD)",
      "topics": [
        "ReadJMD"
      ]
    },
    {
      "page": "summary.MortalityLaw",
      "title": "Summarise a Fitted Mortality Law",
      "topics": [
        "summary.MortalityLaw"
      ]
    }
  ],
  "_readme": "https://github.com/mpascariu/mortalitylaws/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "curl",
    "httr",
    "jsonlite",
    "mime",
    "openssl",
    "pbapply",
    "R6",
    "sys"
  ],
  "_vignettes": [
    {
      "source": "Intro.Rmd",
      "filename": "Intro.html",
      "title": "Introduction to MortalityLaws",
      "author": "Marius D. Pascariu",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Welcome",
        "Install and load",
        "Mortality in four shapes",
        "Getting data",
        "Fitting a law",
        "What comes back",
        "Reading the figure",
        "Fitting on a subset of ages",
        "Age scaling",
        "Custom laws",
        "From fit to life table",
        "Where to go next",
        "sessionInfo()"
      ],
      "created": "2018-08-16 15:11:01",
      "modified": "2026-10-07 16:05:22",
      "commits": 8
    },
    {
      "source": "Life-tables.Rmd",
      "filename": "Life-tables.html",
      "title": "Life tables and how MortalityLaws builds them",
      "author": "Marius D. Pascariu",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What a life table is",
        "The six ways in",
        "The count case",
        "The rate case",
        "Feeding columns back in",
        "From rates to probabilities",
        "How the columns are built",
        "Choosing ax",
        "The open age group",
        "Closing and extending the table",
        "convertFx: one indicator at a time",
        "LawTable: a table from a law",
        "The ex inverse: a table from life expectancies",
        "Reading the output",
        "Session info",
        "References"
      ],
      "created": "2026-10-05 21:23:37",
      "modified": "2026-10-07 16:05:22",
      "commits": 2
    },
    {
      "source": "Mortality-models.Rmd",
      "filename": "Mortality-models.html",
      "title": "Mortality models and estimation",
      "author": "Marius D. Pascariu",
      "engine": "knitr::rmarkdown",
      "headings": [
        "What a law is",
        "The catalogue of laws",
        "Lifespan types",
        "Family biographies",
        "The Gompertz-Makeham lineage",
        "Siler and the competing risks view",
        "The Heligman-Pollard family",
        "Old age: the Kannisto family",
        "Carriere mixtures",
        "The infant laws of Scholey",
        "Pareto, Lomax and the power hazards",
        "The log-quadratic family",
        "Rogers-Planck",
        "Heterogeneity: a note on what a fitted curve describes",
        "Choosing among the families",
        "Bibliographic notes",
        "Fitting a law with MortalityLaw",
        "The eight objectives",
        "The optimisation procedure",
        "Goodness of fit",
        "How to get it wrong",
        "Custom laws",
        "Session info and references",
        "References"
      ],
      "created": "2026-10-05 21:23:37",
      "modified": "2026-10-07 16:05:22",
      "commits": 2
    }
  ],
  "_score": 8.22830794579024,
  "_indexed": true,
  "_nocasepkg": "mortalitylaws",
  "_universes": [
    "mpascariu"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.0.0",
      "date": "2026-10-11T12:41:35.000Z",
      "distro": "resolute",
      "commit": "3cdc54db5f0f30a66711aecdcbe742e1d89a83d6",
      "fileid": "https://r2.ropensci.org/564354430a85ce765e6576e63f734e60dfa462e1a0a5f6e49c97ca32d6eb2b88",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpascariu/actions/runs/38139899780"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "3.0.0",
      "date": "2026-10-11T12:41:31.000Z",
      "distro": "resolute",
      "commit": "3cdc54db5f0f30a66711aecdcbe742e1d89a83d6",
      "fileid": "https://r2.ropensci.org/16dc6759e28d06180eb9effaeb8a4578d060ac7f6cf9d0e53668fe22d3df99d6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpascariu/actions/runs/38139899780"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.0.0",
      "date": "2026-10-11T12:41:10.000Z",
      "commit": "3cdc54db5f0f30a66711aecdcbe742e1d89a83d6",
      "fileid": "https://r2.ropensci.org/112fd53017ace6b1f23da3ae5f64f629a400a706a9173c98501162c41535f847",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpascariu/actions/runs/38139899780"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "3.0.0",
      "date": "2026-10-11T12:41:15.000Z",
      "commit": "3cdc54db5f0f30a66711aecdcbe742e1d89a83d6",
      "fileid": "https://r2.ropensci.org/45838367275997c6d1d06bfbd6b12596d0f06800d691d713ce84f3d42e7dcb25",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpascariu/actions/runs/38139899780"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "3.0.0",
      "date": "2026-10-11T12:41:11.000Z",
      "commit": "3cdc54db5f0f30a66711aecdcbe742e1d89a83d6",
      "fileid": "https://r2.ropensci.org/1171517780d54910654b521d737b10bbbc807f99c9aa3a4f915677d8a753bc23",
      "status": "success",
      "buildurl": "https://github.com/r-universe/mpascariu/actions/runs/38139899780"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "3.0.0",
      "date": "2026-10-11T12:40:44.000Z",
      "commit": "3cdc54db5f0f30a66711aecdcbe742e1d89a83d6",
      "fileid": "https://r2.ropensci.org/094fb4f57b258bf337fa88ba08be97a8fbf754e6efce860aa8ca1eda3a3704d4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpascariu/actions/runs/38139899780"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "3.0.0",
      "date": "2026-10-11T12:40:39.000Z",
      "commit": "3cdc54db5f0f30a66711aecdcbe742e1d89a83d6",
      "fileid": "https://r2.ropensci.org/83e070e82c9e2a9af6a1f0f9c451d4818d728ed6a5070aa7dd8aa412a84328dd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpascariu/actions/runs/38139899780"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "3.0.0",
      "date": "2026-10-11T12:40:20.000Z",
      "commit": "3cdc54db5f0f30a66711aecdcbe742e1d89a83d6",
      "fileid": "https://r2.ropensci.org/4a6588030d08b75641a9da7a798e41e725191501543ca3392c8f1015ae80eb2e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/mpascariu/actions/runs/38139899780"
    }
  ]
}