{
  "_id": "6ae9d2ba1e2c7b3a4f5335b1",
  "Type": "Package",
  "Package": "distspec",
  "Title": "Probability Distributions with Certain or Uncertain Parameters",
  "Version": "0.3.1",
  "Authors@R": "c(person(given = \"Sebastian\",\nfamily = \"Funk\",\nrole = c(\"aut\", \"cre\"),\nemail = \"sebastian.funk@lshtm.ac.uk\",\ncomment = c(ORCID = \"0000-0002-2842-3406\")),\nperson(given = \"James M.\",\nfamily = \"Azam\",\nrole = \"aut\",\nemail = \"james.azam@lshtm.ac.uk\",\ncomment = c(ORCID = \"0000-0001-5782-7330\")),\nperson(given = \"Sam\",\nfamily = \"Abbott\",\nrole = c(\"aut\"),\nemail = \"sam.abbott@lshtm.ac.uk\",\ncomment = c(ORCID = \"0000-0001-8057-8037\"))\n)",
  "Description": "Represents probability distributions with fixed or\npotentially uncertain parameters, with tools to discretise,\nconvolve, sample from and summarise them.",
  "License": "MIT + file LICENSE",
  "URL": "https://epiforecasts.io/distspec/,\nhttps://github.com/epiforecasts/distspec",
  "BugReports": "https://github.com/epiforecasts/distspec/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "Language": "en-GB",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Repository": "https://epiforecasts.r-universe.dev",
  "Date/Publication": "2026-11-03 11:56:22 UTC",
  "RemoteUrl": "https://github.com/epiforecasts/distspec",
  "RemoteRef": "HEAD",
  "RemoteSha": "417b53d2fa097c2c1f43ac88822a26e04454eadc",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-03 12:02:12 UTC",
    "User": "root"
  },
  "Author": "Sebastian Funk [aut, cre] (ORCID:\n<https://orcid.org/0000-0002-2842-3406>),\nJames M. Azam [aut] (ORCID: <https://orcid.org/0000-0001-5782-7330>),\nSam Abbott [aut] (ORCID: <https://orcid.org/0000-0001-8057-8037>)",
  "Maintainer": "Sebastian Funk <sebastian.funk@lshtm.ac.uk>",
  "_user": "epiforecasts",
  "_type": "src",
  "_file": "distspec_0.3.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/7c2bf6223f898f0d416a0d97a948702fd57b3ccdba8b280d06ce2bb5841683d3",
  "_filesize": 481442,
  "_sha256": "7c2bf6223f898f0d416a0d97a948702fd57b3ccdba8b280d06ce2bb5841683d3",
  "_expires": "2027-02-11T12:25:29.000Z",
  "_created": "2026-11-03T12:02:12.000Z",
  "_published": "2026-11-03T12:25:30.836Z",
  "_upstream": "https://github.com/epiforecasts/distspec",
  "_status": "success",
  "_maintainer": {
    "name": "Sebastian Funk",
    "email": "sebastian.funk@lshtm.ac.uk",
    "login": "sbfnk",
    "mastodon": "@sbfnk@fosstodon.org",
    "bluesky": "@sbfnk.bsky.social",
    "orcid": "0000-0002-2842-3406",
    "description": "Professor of Infectious Disease Dynamics at LSHTM. epiforecasts.io",
    "uuid": 1156307
  },
  "_jobs": [
    {
      "job": 125904933793,
      "time": 147,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13228971538"
    },
    {
      "job": 125904933704,
      "time": 117,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13227998859"
    },
    {
      "job": 125904933591,
      "time": 101,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13230526094"
    },
    {
      "job": 125904933860,
      "time": 131,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13230531040"
    },
    {
      "job": 125903447197,
      "time": 185,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13229520083"
    },
    {
      "job": 125904933733,
      "time": 86,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13229560238"
    },
    {
      "job": 125904933637,
      "time": 92,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13227829179"
    },
    {
      "job": 125904933782,
      "time": 93,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13229260686"
    },
    {
      "job": 125904933767,
      "time": 129,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13228098677"
    }
  ],
  "_buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/41631876469",
  "_commit": {
    "id": "417b53d2fa097c2c1f43ac88822a26e04454eadc",
    "author": "Sebastian Funk - robot edition <242615673+sbfnk-bot@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Release distspec 0.3.1 (#179)\n\nCo-authored-by: sbfnk <sebastian.funk@lshtm.ac.uk>",
    "time": 1793706982
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "primarycensored",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "truncnorm",
      "role": "Imports"
    },
    {
      "package": "utils",
      "role": "Imports"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "role": "Suggests"
    }
  ],
  "_owner": "epiforecasts",
  "_selfowned": true,
  "_usedby": 2,
  "_updates": [
    {
      "week": "2025-46",
      "n": 1
    },
    {
      "week": "2025-48",
      "n": 2
    },
    {
      "week": "2025-51",
      "n": 5
    },
    {
      "week": "2026-27",
      "n": 4
    },
    {
      "week": "2026-28",
      "n": 13
    },
    {
      "week": "2026-29",
      "n": 22
    },
    {
      "week": "2026-30",
      "n": 40
    },
    {
      "week": "2026-31",
      "n": 3
    },
    {
      "week": "2026-34",
      "n": 2
    },
    {
      "week": "2026-35",
      "n": 4
    },
    {
      "week": "2026-36",
      "n": 6
    },
    {
      "week": "2026-40",
      "n": 1
    },
    {
      "week": "2026-41",
      "n": 4
    },
    {
      "week": "2026-42",
      "n": 1
    },
    {
      "week": "2026-45",
      "n": 3
    }
  ],
  "_tags": [
    {
      "name": "v0.2.0",
      "date": "2026-09-01"
    },
    {
      "name": "v0.3.0",
      "date": "2026-10-07"
    }
  ],
  "_stars": 1,
  "_contributors": [
    {
      "user": "sbfnk",
      "count": 115,
      "uuid": 1156307
    },
    {
      "user": "sbfnk-bot",
      "count": 58,
      "uuid": 242615673
    },
    {
      "user": "seabbs",
      "count": 1,
      "uuid": 20317649
    }
  ],
  "_userbio": {
    "uuid": 54675094,
    "type": "organization",
    "name": "Epiforecasts",
    "followers": 77,
    "description": "Researchers at the London School of Hygiene & Tropical Medicine doing research to forecast infectious diseases and perform real-time analyses."
  },
  "_downloads": {
    "count": 360,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/distspec"
  },
  "_devurl": "https://github.com/epiforecasts/distspec",
  "_pkgdown": "https://epiforecasts.io/distspec/",
  "_searchresults": 4,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/distspec.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/epiforecasts/distspec",
  "_realowner": "epiforecasts",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2026-08-07"
    },
    {
      "version": "0.2.0",
      "date": "2026-09-08"
    },
    {
      "version": "0.3.0",
      "date": "2026-10-12"
    }
  ],
  "_exports": [
    "as_dist_spec",
    "Beta",
    "bound_dist",
    "cdf",
    "collapse",
    "convert_to_logmean",
    "convert_to_logsd",
    "Dirichlet",
    "discretise",
    "discretize",
    "dist_cdf",
    "dist_quantile",
    "Exp",
    "Exponential",
    "fix_parameters",
    "Fixed",
    "Gamma",
    "get_distribution",
    "get_parameters",
    "get_pmf",
    "has_uncertainty",
    "is_constrained",
    "LogNormal",
    "lower_bounds",
    "natural_params",
    "ndist",
    "new_dist_spec",
    "NonParametric",
    "Normal",
    "sample_dist",
    "sd",
    "Weibull"
  ],
  "_help": [
    {
      "page": "plus-.dist_spec",
      "title": "Creates a delay distribution as the sum of two other delay distributions.",
      "topics": [
        "+.dist_spec"
      ]
    },
    {
      "page": "equals-.dist_spec",
      "title": "Compares two delay distributions",
      "topics": [
        "!=.dist_spec",
        "==.dist_spec"
      ]
    },
    {
      "page": "as_dist_spec",
      "title": "Coerce an object to a <dist_spec>",
      "topics": [
        "as_dist_spec",
        "as_dist_spec.default",
        "as_dist_spec.dist_spec",
        "as_dist_spec.numeric"
      ]
    },
    {
      "page": "Beta",
      "title": "Beta distribution",
      "topics": [
        "Beta"
      ]
    },
    {
      "page": "bound_dist",
      "title": "Define bounds of a <dist_spec>",
      "topics": [
        "bound_dist"
      ]
    },
    {
      "page": "c.dist_spec",
      "title": "Combines multiple delay distributions for further processing",
      "topics": [
        "c.dist_spec"
      ]
    },
    {
      "page": "cdf",
      "title": "Returns the cumulative distribution function of a delay distribution",
      "topics": [
        "cdf",
        "cdf.dist_spec",
        "cdf.multi_dist_spec"
      ]
    },
    {
      "page": "collapse",
      "title": "Collapse nonparametric distributions in a <dist_spec>",
      "topics": [
        "collapse",
        "collapse.dist_spec"
      ]
    },
    {
      "page": "convert_to_logmean",
      "title": "Convert mean and sd to log mean for a log normal distribution",
      "topics": [
        "convert_to_logmean"
      ]
    },
    {
      "page": "convert_to_logsd",
      "title": "Convert mean and sd to log standard deviation for a log normal distribution",
      "topics": [
        "convert_to_logsd"
      ]
    },
    {
      "page": "Dirichlet",
      "title": "Dirichlet prior for a nonparametric distribution",
      "topics": [
        "Dirichlet"
      ]
    },
    {
      "page": "discretise",
      "title": "Discretise a <dist_spec>",
      "topics": [
        "discretise",
        "discretise.dist_spec",
        "discretize"
      ]
    },
    {
      "page": "Distributions",
      "title": "Probability distributions",
      "topics": [
        "Distributions"
      ]
    },
    {
      "page": "Exponential",
      "title": "Exponential distribution",
      "topics": [
        "Exp",
        "Exponential"
      ]
    },
    {
      "page": "fix_parameters",
      "title": "Fix the parameters of a <dist_spec>",
      "topics": [
        "fix_parameters",
        "fix_parameters.dist_spec"
      ]
    },
    {
      "page": "Fixed",
      "title": "Fixed (point-mass) distribution",
      "topics": [
        "Fixed"
      ]
    },
    {
      "page": "Gamma",
      "title": "Gamma distribution",
      "topics": [
        "Gamma"
      ]
    },
    {
      "page": "get_distribution",
      "title": "Get the distribution of a <dist_spec>",
      "topics": [
        "get_distribution"
      ]
    },
    {
      "page": "get_parameters",
      "title": "Get parameters of a parametric distribution",
      "topics": [
        "get_parameters",
        "get_parameters.dist_spec"
      ]
    },
    {
      "page": "get_pmf",
      "title": "Get the probability mass function of a nonparametric distribution",
      "topics": [
        "get_pmf"
      ]
    },
    {
      "page": "has_uncertainty",
      "title": "Check whether a <dist_spec> is uncertain",
      "topics": [
        "has_uncertainty"
      ]
    },
    {
      "page": "is_constrained",
      "title": "Check if a <dist_spec> is constrained, i.e. has a finite maximum or nonzero CDF cutoff.",
      "topics": [
        "is_constrained",
        "is_constrained.dist_spec"
      ]
    },
    {
      "page": "LogNormal",
      "title": "Lognormal distribution",
      "topics": [
        "LogNormal"
      ]
    },
    {
      "page": "max.dist_spec",
      "title": "Returns the maximum of one or more delay distribution",
      "topics": [
        "max.dist_spec"
      ]
    },
    {
      "page": "mean.dist_spec",
      "title": "Returns the mean of one or more delay distribution",
      "topics": [
        "mean.dist_spec"
      ]
    },
    {
      "page": "new_dist_spec",
      "title": "Internal function for generating a 'dist_spec' given parameters and a distribution.",
      "topics": [
        "new_dist_spec"
      ]
    },
    {
      "page": "NonParametric",
      "title": "Nonparametric distribution",
      "topics": [
        "NonParametric"
      ]
    },
    {
      "page": "Normal",
      "title": "Normal distribution",
      "topics": [
        "Normal"
      ]
    },
    {
      "page": "plot.dist_spec",
      "title": "Plot PMF and CDF for a dist_spec object",
      "topics": [
        "plot.dist_spec"
      ]
    },
    {
      "page": "print.dist_spec",
      "title": "Prints the parameters of one or more delay distributions",
      "topics": [
        "print.dist_spec"
      ]
    },
    {
      "page": "quantile.dist_spec",
      "title": "Returns quantiles of a delay distribution",
      "topics": [
        "quantile.dist_spec",
        "quantile.multi_dist_spec"
      ]
    },
    {
      "page": "sample_dist",
      "title": "Sample from a distribution",
      "topics": [
        "sample_dist",
        "sample_dist.dist_spec",
        "sample_dist.multi_dist_spec"
      ]
    },
    {
      "page": "Weibull",
      "title": "Weibull distribution",
      "topics": [
        "Weibull"
      ]
    }
  ],
  "_pkglogo": "https://github.com/epiforecasts/distspec/raw/HEAD/man/figures/logo.svg",
  "_readme": "https://github.com/epiforecasts/distspec/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "lifecycle",
    "primarycensored",
    "rlang",
    "truncnorm"
  ],
  "_vignettes": [
    {
      "source": "distspec.Rmd",
      "filename": "distspec.html",
      "title": "Getting started with distspec",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Quick start",
        "Defining a distribution",
        "Uncertain parameters",
        "Discretising",
        "Combining distributions",
        "Plotting",
        "Sampling",
        "Uncertain nonparametric distributions"
      ],
      "created": "2026-07-20 08:44:31",
      "modified": "2026-08-24 17:59:27",
      "commits": 5
    }
  ],
  "_score": 5.954242509439325,
  "_indexed": true,
  "_nocasepkg": "distspec",
  "_universes": [
    "epiforecasts",
    "sbfnk"
  ],
  "_previous": "0.3.0",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-11-03T12:04:28.000Z",
      "distro": "resolute",
      "commit": "417b53d2fa097c2c1f43ac88822a26e04454eadc",
      "fileid": "https://r2.ropensci.org/b5b5f7c97bfe1940b1e47d4d8637c9653d4baf0d997498e9b0fe9577d28992f8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/41631876469"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-11-03T12:04:07.000Z",
      "distro": "resolute",
      "commit": "417b53d2fa097c2c1f43ac88822a26e04454eadc",
      "fileid": "https://r2.ropensci.org/257f08e24ecae961aa008fda67241b542266c9b9c161ec2b7f8a7b6648d90af6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/41631876469"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-11-03T12:23:59.000Z",
      "commit": "417b53d2fa097c2c1f43ac88822a26e04454eadc",
      "fileid": "https://r2.ropensci.org/e8df65663948c2db97905cfa3835392e5c023dfe7a530fac3f84111fd0cffa27",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/41631876469"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-11-03T12:24:45.000Z",
      "commit": "417b53d2fa097c2c1f43ac88822a26e04454eadc",
      "fileid": "https://r2.ropensci.org/4e6e6637e5e8431fa39c0dd1024ca937be7749ef78e787b54131cf8bd2d86187",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/41631876469"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.1",
      "date": "2026-11-03T12:03:56.000Z",
      "commit": "417b53d2fa097c2c1f43ac88822a26e04454eadc",
      "fileid": "https://r2.ropensci.org/686837835c38fbe9ff747e4f234443be34be40bd8f19507add0d668c69a53bcd",
      "status": "success",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/41631876469"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-11-03T12:03:27.000Z",
      "commit": "417b53d2fa097c2c1f43ac88822a26e04454eadc",
      "fileid": "https://r2.ropensci.org/adaa3d448d009e5d7c531ba93b621d1a50087e18208d005129fe1b380328a22d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/41631876469"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-11-03T12:03:27.000Z",
      "commit": "417b53d2fa097c2c1f43ac88822a26e04454eadc",
      "fileid": "https://r2.ropensci.org/390260d2ba606d368dfb1c7cabbe2e14adf2341c9bc7e6a54fbd0e2a7d4e22da",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/41631876469"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-11-03T12:04:08.000Z",
      "commit": "417b53d2fa097c2c1f43ac88822a26e04454eadc",
      "fileid": "https://r2.ropensci.org/a7347a66be60ce405b0d48845255a56d06253fd35a10f20888b073011562b709",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/epiforecasts/actions/runs/41631876469"
    }
  ]
}