{
  "_id": "6a27d05524555f66ed544e9d",
  "Package": "ern",
  "Title": "Effective Reproduction Number Estimation",
  "Version": "2.1.2",
  "Authors@R": "c(\nperson(\"David\", \"Champredon\", , \"david.champredon@canada.ca\", role = c(\"aut\", \"cre\"),\ncomment = c(ORCID = \"0000-0002-7090-8757\")),\nperson(\"Warsame\", \"Yusuf\", , \"warsame.yusuf@canada.ca\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-5571-8122\")),\nperson(\"Irena\", \"Papst\", , \"irena.papst@canada.ca\", role = \"aut\",\ncomment = c(ORCID = \"0000-0001-5901-7585\"))\n)",
  "Maintainer": "David Champredon <david.champredon@canada.ca>",
  "Description": "Estimate the effective reproduction number from wastewater\nand clinical data sources.",
  "License": "MIT + file LICENSE",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.1",
  "LazyData": "true",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-09 08:31:01 UTC",
    "User": "root"
  },
  "Author": "David Champredon [aut, cre]\n(<https://orcid.org/0000-0002-7090-8757>), Warsame Yusuf [aut]\n(<https://orcid.org/0000-0001-5571-8122>), Irena Papst [aut]\n(<https://orcid.org/0000-0001-5901-7585>)",
  "Config/pak/sysreqs": "jags libicu-dev",
  "Repository": "https://davidchampredon.r-universe.dev",
  "Date/Publication": "2025-01-16 18:20:02 UTC",
  "RemoteUrl": "https://github.com/cran/ern",
  "RemoteRef": "HEAD",
  "RemoteSha": "d27f04cecfe522738e08985ad7270ff55ab1afe6",
  "MD5sum": "cc74332f5053478348278c4b7c622c9b",
  "_user": "davidchampredon",
  "_type": "src",
  "_file": "ern_2.1.2.tar.gz",
  "_fileid": "9d583116d196bb8c9aa67ff32ee9af7fafa6b26fd840c1730386859cfe93be6a",
  "_filesize": 944920,
  "_sha256": "9d583116d196bb8c9aa67ff32ee9af7fafa6b26fd840c1730386859cfe93be6a",
  "_created": "2026-06-09T08:31:01.000Z",
  "_published": "2026-06-09T08:35:33.222Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 80280657761,
      "time": 199,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7502537256"
    },
    {
      "job": 80280657777,
      "time": 202,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7502538071"
    },
    {
      "job": 80280657756,
      "time": 235,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7502541224"
    },
    {
      "job": 80280657747,
      "time": 235,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7502538297"
    },
    {
      "job": 80280032131,
      "time": 212,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7502457802"
    },
    {
      "job": 80280657750,
      "time": 139,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7502512470"
    },
    {
      "job": 80280657793,
      "time": 174,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7502526743"
    },
    {
      "job": 80280657780,
      "time": 180,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7502529593"
    },
    {
      "job": 80280657799,
      "time": 182,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7502530597"
    }
  ],
  "_buildurl": "https://github.com/r-universe/davidchampredon/actions/runs/27193721051",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/ern",
  "_commit": {
    "id": "d27f04cecfe522738e08985ad7270ff55ab1afe6",
    "author": "David Champredon <david.champredon@canada.ca>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 2.1.2\n",
    "time": 1737051602
  },
  "_maintainer": {
    "name": "David Champredon",
    "email": "david.champredon@canada.ca",
    "login": "davidchampredon",
    "description": "Public Health ; \nInfectious Diseases Modelling\n",
    "uuid": 8750871,
    "orcid": "0000-0002-7090-8757"
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "assertthat",
      "role": "Imports"
    },
    {
      "package": "coda",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "EpiEstim",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "lubridate",
      "role": "Imports"
    },
    {
      "package": "patchwork",
      "role": "Imports"
    },
    {
      "package": "rjags",
      "role": "Imports"
    },
    {
      "package": "runjags",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "stringr",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "zoo",
      "role": "Imports"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "bookdown",
      "role": "Suggests"
    },
    {
      "package": "purrr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 0,
  "_contributors": [
    {
      "user": "davidchampredon",
      "count": 3,
      "uuid": 8750871
    }
  ],
  "_userbio": {
    "uuid": 8750871,
    "type": "user",
    "name": "David Champredon",
    "description": "Public Health ; \r\nInfectious Diseases Modelling\r\n"
  },
  "_downloads": {
    "count": 141,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/ern"
  },
  "_searchresults": 17,
  "_topics": [
    "jags",
    "cpp"
  ],
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/ern.html",
    "manual.pdf"
  ],
  "_realowner": "davidchampredon",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.3.1",
      "date": "2024-01-30"
    },
    {
      "version": "2.0.0",
      "date": "2024-04-22"
    },
    {
      "version": "2.1.2",
      "date": "2025-01-17"
    }
  ],
  "_exports": [
    "agg_to_daily",
    "def_dist",
    "estimate_R_cl",
    "estimate_R_ww",
    "get_discrete_dist",
    "plot_diagnostic_cl",
    "plot_diagnostic_ww",
    "plot_dist"
  ],
  "_datasets": [
    {
      "name": "cl.data",
      "title": "Sample of aggregated clinical reports",
      "object": "cl.data",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "pt",
        "date",
        "value"
      ],
      "rows": 996,
      "table": true,
      "tojson": true
    },
    {
      "name": "ww.data",
      "title": "Sample of wastewater concentration",
      "object": "ww.data",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date",
        "value"
      ],
      "rows": 31,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "agg_to_daily",
      "title": "Infer daily counts from aggregates",
      "topics": [
        "agg_to_daily"
      ]
    },
    {
      "page": "cl.data",
      "title": "Sample of aggregated clinical reports",
      "topics": [
        "cl.data"
      ]
    },
    {
      "page": "def_dist",
      "title": "Define a family of distributions.",
      "topics": [
        "def_dist"
      ]
    },
    {
      "page": "estimate_R_cl",
      "title": "Estimate the effective reproduction from clinical report data",
      "topics": [
        "estimate_R_cl"
      ]
    },
    {
      "page": "estimate_R_ww",
      "title": "Estimate the effective reproduction from wastewater concentration data.",
      "topics": [
        "estimate_R_ww"
      ]
    },
    {
      "page": "extract_mcmc_values",
      "title": "Extract MCMC chains from a JAGS object",
      "topics": [
        "extract_mcmc_values"
      ]
    },
    {
      "page": "get_discrete_dist",
      "title": "Get a discretized, truncated version of a distribution",
      "topics": [
        "get_discrete_dist"
      ]
    },
    {
      "page": "linear_int_daily",
      "title": "Daily incidence from linear interpolation",
      "topics": [
        "linear_int_daily"
      ]
    },
    {
      "page": "plot_diagnostic_cl",
      "title": "Diagnostic plot for R estimation from clinical report data",
      "topics": [
        "plot_diagnostic_cl"
      ]
    },
    {
      "page": "plot_diagnostic_ww",
      "title": "Diagnostic plot for R estimation from wastewater data",
      "topics": [
        "plot_diagnostic_ww"
      ]
    },
    {
      "page": "plot_dist",
      "title": "Plot a distribution",
      "topics": [
        "plot_dist"
      ]
    },
    {
      "page": "plot_gelman_rubin",
      "title": "Plot the Gelman Rubin statistic for all parameters.",
      "topics": [
        "plot_gelman_rubin"
      ]
    },
    {
      "page": "plot_traces",
      "title": "Plot MCMC traces",
      "topics": [
        "plot_traces"
      ]
    },
    {
      "page": "ww.data",
      "title": "Sample of wastewater concentration",
      "topics": [
        "ww.data"
      ]
    }
  ],
  "_rundeps": [
    "assertthat",
    "aweek",
    "cli",
    "coarseDataTools",
    "coda",
    "cpp11",
    "dplyr",
    "EpiEstim",
    "farver",
    "fitdistrplus",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "incidence",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lubridate",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mcmc",
    "MCMCpack",
    "patchwork",
    "pillar",
    "pkgconfig",
    "plyr",
    "purrr",
    "quantreg",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "reshape2",
    "rjags",
    "rlang",
    "runjags",
    "S7",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_sysdeps": [
    {
      "shlib": "libjags",
      "package": "jags",
      "headers": "jags",
      "source": "jags",
      "version": "4.3.2-2.2404.0",
      "name": "jags",
      "homepage": "https://mcmc-jags.sourceforge.io",
      "description": "Just Another Gibbs Sampler for Bayesian MCMC - binary"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "est-rt.Rmd",
      "filename": "est-rt.html",
      "title": "Estimating the effective reproductive number using ern",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Using inferred daily incidence to compute $\\mathcal{R}_t$",
        "Using the input data to infer daily incidence",
        "Wastewater input data",
        "Clinical input data",
        "Estimating $\\mathcal",
        "Specifying inputs",
        "Specifying parameters",
        "Estimating $\\mathcal{R}_t$",
        "Visualizing $\\mathcal{R}_t$ estimates",
        "Estimating $\\mathcal",
        "Specifying inputs",
        "Specifying parameters"
      ],
      "created": "2024-01-30 02:31:36",
      "modified": "2024-04-23 02:36:16",
      "commits": 2
    }
  ],
  "_score": 2.230448921378274,
  "_indexed": true,
  "_nocasepkg": "ern",
  "_universes": [
    "davidchampredon"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "2.1.2",
      "date": "2026-06-09T08:33:21.000Z",
      "distro": "noble",
      "commit": "d27f04cecfe522738e08985ad7270ff55ab1afe6",
      "fileid": "8c44985d1b244c8ea9da7c9c06f7f416d96b084f40332e056d668322f063c4bb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/davidchampredon/actions/runs/27193721051"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "2.1.2",
      "date": "2026-06-09T08:33:24.000Z",
      "distro": "noble",
      "commit": "d27f04cecfe522738e08985ad7270ff55ab1afe6",
      "fileid": "5a9b38fd52c7e65fa0e60d5ae74557dd9874c738bffbad5cf51388394f136490",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/davidchampredon/actions/runs/27193721051"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "2.1.2",
      "date": "2026-06-09T08:33:51.000Z",
      "commit": "d27f04cecfe522738e08985ad7270ff55ab1afe6",
      "fileid": "653591ac9e96ba5e11b7fd3699c4f499898a8e5255727fd14281d4bf8cd4de45",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/davidchampredon/actions/runs/27193721051"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "2.1.2",
      "date": "2026-06-09T08:33:21.000Z",
      "commit": "d27f04cecfe522738e08985ad7270ff55ab1afe6",
      "fileid": "4e9a797029af8afd5a20e7e84f8e9d6f49814a51d5296f411e2dc3dd0dba4890",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/davidchampredon/actions/runs/27193721051"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "2.1.2",
      "date": "2026-06-09T08:33:38.000Z",
      "commit": "d27f04cecfe522738e08985ad7270ff55ab1afe6",
      "fileid": "cd3b0929e5e37dc36082d2b26855afdd4a7efd395e2f5c54f4b48698b35f110d",
      "status": "success",
      "buildurl": "https://github.com/r-universe/davidchampredon/actions/runs/27193721051"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "2.1.2",
      "date": "2026-06-09T08:32:30.000Z",
      "commit": "d27f04cecfe522738e08985ad7270ff55ab1afe6",
      "fileid": "6064ea52dfd54fef981a413d797855fb76f345ff63cad60b7f79b94c91fbe13d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/davidchampredon/actions/runs/27193721051"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "2.1.2",
      "date": "2026-06-09T08:32:31.000Z",
      "commit": "d27f04cecfe522738e08985ad7270ff55ab1afe6",
      "fileid": "e513bcdbb4c962622ab8e53b3684e534abd10d6ec1ca2f152aea74be08462b21",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/davidchampredon/actions/runs/27193721051"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "2.1.2",
      "date": "2026-06-09T08:32:33.000Z",
      "commit": "d27f04cecfe522738e08985ad7270ff55ab1afe6",
      "fileid": "02c1caa28f5f6f74ce95434ad7ff5aa9a81bffd0992a5a8e1d8707bd01c5090b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/davidchampredon/actions/runs/27193721051"
    }
  ]
}