{
  "_id": "6ad20c2dc96d212026e70862",
  "Type": "Package",
  "Package": "rtestim",
  "Title": "Estimate the Effective Reproductive Number with Trend Filtering",
  "Version": "1.0.2.9001",
  "Authors@R": "c(\nperson(\"Daniel J.\", \"McDonald\", , \"daniel@stat.ubc.ca\", role = c(\"aut\", \"cre\", \"cph\")),\nperson(\"Jiaping\", \"Liu\", , \"jiaping.liu@stat.ubc.ca\", role = \"aut\"),\nperson(\"Zhenglun\", \"Cai\", , \"zhenglun.cai@stat.ubc.ca\", role = \"ctb\")\n)",
  "Description": "Use trend filtering, a type of regularized nonparametric\nregression, to estimate the instantaneous reproduction number,\nalso called Rt. This value roughly says how many new infections\nwill result from each new infection today.  Values larger than\n1 indicate that an epidemic is growing while those less than 1\nindicate decline. For more details about this methodology, see\nLiu, Cai, Gustafson, and McDonald (2024)\n<doi:10.1371/journal.pcbi.1012324>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/dajmcdon/rtestim,\nhttps://dajmcdon.github.io/rtestim/",
  "BugReports": "https://github.com/dajmcdon/rtestim/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/Needs/website": "rmarkdown",
  "Config/pak/sysreqs": "cmake make libuv1-dev",
  "Repository": "https://dajmcdon.r-universe.dev",
  "Date/Publication": "2026-05-14 19:23:37 UTC",
  "RemoteUrl": "https://github.com/dajmcdon/rtestim",
  "RemoteRef": "HEAD",
  "RemoteSha": "fa078efe991c2ed1b90b658e7ec181101665af97",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-16 11:28:30 UTC",
    "User": "root"
  },
  "Author": "Daniel J. McDonald [aut, cre, cph],\nJiaping Liu [aut],\nZhenglun Cai [ctb]",
  "Maintainer": "Daniel J. McDonald <daniel@stat.ubc.ca>",
  "_user": "dajmcdon",
  "_type": "src",
  "_file": "rtestim_1.0.2.9001.tar.gz",
  "_fileid": "https://r2.ropensci.org/45f258928897ce9dfac821fcdde972a61e8f915aa6c7721a7ef5ea25d50baf59",
  "_filesize": 1628100,
  "_sha256": "45f258928897ce9dfac821fcdde972a61e8f915aa6c7721a7ef5ea25d50baf59",
  "_expires": "2027-01-24T11:36:11.000Z",
  "_created": "2026-10-16T11:28:30.000Z",
  "_published": "2026-10-16T11:36:13.167Z",
  "_buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/38893492355",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 116950281513,
      "time": 143,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12042518907"
    },
    {
      "job": 116950281387,
      "time": 150,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12043291587"
    },
    {
      "job": 116950281453,
      "time": 144,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12043536003"
    },
    {
      "job": 116950281468,
      "time": 170,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12043171617"
    },
    {
      "job": 116950281492,
      "time": 108,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12042778806"
    },
    {
      "job": 116950281485,
      "time": 356,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12043616371"
    },
    {
      "job": 116950281409,
      "time": 146,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12042569392"
    },
    {
      "job": 116950281466,
      "time": 396,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12043915224"
    },
    {
      "job": 116948461430,
      "time": 303,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12042648017"
    },
    {
      "job": 116950281356,
      "time": 134,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12043037027"
    },
    {
      "job": 116950281414,
      "time": 250,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12042923177"
    },
    {
      "job": 116950281490,
      "time": 196,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12042728976"
    },
    {
      "job": 116950281416,
      "time": 148,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12043541137"
    },
    {
      "job": 116950281449,
      "time": 243,
      "config": "windows-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12043082719"
    },
    {
      "job": 116950281502,
      "time": 153,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12043022801"
    }
  ],
  "_upstream": "https://github.com/dajmcdon/rtestim",
  "_commit": {
    "id": "fa078efe991c2ed1b90b658e7ec181101665af97",
    "author": "Daniel J. McDonald <dajmcdon@gmail.com>",
    "committer": "Daniel J. McDonald <dajmcdon@gmail.com>",
    "message": "bump version to reflect update.\n",
    "time": 1778786617
  },
  "_maintainer": {
    "name": "Daniel J. McDonald",
    "email": "daniel@stat.ubc.ca",
    "login": "dajmcdon",
    "description": "",
    "uuid": 20528078
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.6.2",
      "role": "Depends"
    },
    {
      "package": "BH",
      "role": "LinkingTo"
    },
    {
      "package": "dspline",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "role": "LinkingTo"
    },
    {
      "package": "testthat",
      "role": "LinkingTo"
    },
    {
      "package": "tvdenoising",
      "role": "LinkingTo"
    },
    {
      "package": "checkmate",
      "role": "Imports"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "dspline",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "Matrix",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "tvdenoising",
      "role": "Imports"
    },
    {
      "package": "vctrs",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "forcats",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "nnet",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "xml2",
      "role": "Suggests"
    }
  ],
  "_owner": "dajmcdon",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-43",
      "n": 4
    },
    {
      "week": "2026-10",
      "n": 5
    },
    {
      "week": "2026-11",
      "n": 2
    },
    {
      "week": "2026-20",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v1.0.1",
      "date": "2025-10-24"
    },
    {
      "name": "v1.0.2",
      "date": "2026-03-08"
    }
  ],
  "_stars": 8,
  "_contributors": [
    {
      "user": "dajmcdon",
      "count": 276,
      "uuid": 20528078
    },
    {
      "user": "jiapivialiu",
      "count": 84,
      "uuid": 70077322
    },
    {
      "user": "zcaielvis",
      "count": 7,
      "uuid": 43735223
    }
  ],
  "_userbio": {
    "uuid": 20528078,
    "type": "user",
    "name": "Daniel McDonald",
    "followers": 60
  },
  "_downloads": {
    "count": 376,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/rtestim"
  },
  "_devurl": "https://github.com/dajmcdon/rtestim",
  "_pkgdown": "https://dajmcdon.github.io/rtestim/",
  "_searchresults": 40,
  "_topics": [
    "cpp"
  ],
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "extra/rtestim.html",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/dajmcdon/rtestim",
  "_realowner": "dajmcdon",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.0",
      "date": "2025-07-05"
    },
    {
      "version": "1.0.1",
      "date": "2025-10-24"
    },
    {
      "version": "1.0.2",
      "date": "2026-03-11"
    }
  ],
  "_exports": [
    "confband",
    "configure_rt_admm",
    "cv_estimate_rt",
    "delay_calculator",
    "discretize_gamma",
    "estimate_rt",
    "interpolate_rt"
  ],
  "_datasets": [
    {
      "name": "cancovid",
      "title": "Canadian Incident COVID-19 Cases",
      "object": "cancovid",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "date",
        "incident_cases"
      ],
      "rows": 1253,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "cancovid",
      "title": "Canadian Incident COVID-19 Cases",
      "topics": [
        "cancovid"
      ]
    },
    {
      "page": "confband",
      "title": "Add confidence bands to estimated Rt or incidence curves",
      "topics": [
        "confband"
      ]
    },
    {
      "page": "configure_rt_admm",
      "title": "Rt estimation algorithm configuration",
      "topics": [
        "configure_rt_admm"
      ]
    },
    {
      "page": "cv_estimate_rt",
      "title": "Leave-kth-out cross validation for choosing a optimal parameter lambda",
      "topics": [
        "cv_estimate_rt"
      ]
    },
    {
      "page": "delay_calculator",
      "title": "Calculate the total infectiousness at each observed time point.",
      "topics": [
        "delay_calculator"
      ]
    },
    {
      "page": "discretize_gamma",
      "title": "Compute the discretized density function for gamma distribution",
      "topics": [
        "discretize_gamma"
      ]
    },
    {
      "page": "estimate_rt",
      "title": "Estimate Rt using smoothness-penalized Poisson likelihood",
      "topics": [
        "estimate_rt"
      ]
    },
    {
      "page": "fitted.cv_poisson_rt",
      "title": "Fitted cv_poisson_rt",
      "topics": [
        "fitted.cv_poisson_rt"
      ]
    },
    {
      "page": "interpolate_rt",
      "title": "Interpolate (or extrapolate) Rt estimates to intermediate design points",
      "topics": [
        "interpolate_rt",
        "interpolate_rt.cv_poisson_rt",
        "interpolate_rt.poisson_rt"
      ]
    },
    {
      "page": "plot.cv_poisson_rt",
      "title": "Plot cv_poisson_rt",
      "topics": [
        "plot.cv_poisson_rt"
      ]
    },
    {
      "page": "plot.poisson_rt",
      "title": "Plot estimated Rt values from a 'poisson_rt' object",
      "topics": [
        "plot.poisson_rt"
      ]
    },
    {
      "page": "plot.rt_confidence_band",
      "title": "Plot estimated confidence bands for an estimate of Rt",
      "topics": [
        "plot.rt_confidence_band"
      ]
    },
    {
      "page": "predict.cv_poisson_rt",
      "title": "Predict observed data using estimated Rt",
      "topics": [
        "predict.cv_poisson_rt"
      ]
    },
    {
      "page": "predict.poisson_rt",
      "title": "Predict observed data using estimated Rt",
      "topics": [
        "predict.poisson_rt"
      ]
    }
  ],
  "_pkglogo": "https://github.com/dajmcdon/rtestim/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/dajmcdon/rtestim/raw/HEAD/README.md",
  "_rundeps": [
    "backports",
    "BH",
    "brio",
    "callr",
    "checkmate",
    "cli",
    "cpp11",
    "crayon",
    "desc",
    "diffobj",
    "dspline",
    "evaluate",
    "farver",
    "fs",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "jsonlite",
    "labeling",
    "lattice",
    "lifecycle",
    "magrittr",
    "Matrix",
    "otel",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "pkgload",
    "praise",
    "processx",
    "ps",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "rlang",
    "rprojroot",
    "S7",
    "scales",
    "testthat",
    "tibble",
    "tvdenoising",
    "utf8",
    "vctrs",
    "viridisLite",
    "waldo",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "rtestim.Rmd",
      "filename": "rtestim.html",
      "title": "rtestim Package Vignette",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Example - synthetic dataset",
        "Quick start",
        "Cross Validation",
        "Uneven Reporting Frequency",
        "Changing degree of difference operator",
        "Example - Canadian Covid-19 cases",
        "Approximate confidence bands"
      ],
      "created": "2023-07-08 15:49:13",
      "modified": "2025-08-06 23:08:51",
      "commits": 11
    }
  ],
  "_score": 6.107209969647868,
  "_indexed": true,
  "_nocasepkg": "rtestim",
  "_universes": [
    "dajmcdon"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2.9001",
      "date": "2026-10-16T11:30:52.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "fa078efe991c2ed1b90b658e7ec181101665af97",
      "fileid": "https://r2.ropensci.org/0be9b6ebd6a48e059d47c51370edb75f611114db2360a086d4d0bcaabc8bd127",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/38893492355"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2.9001",
      "date": "2026-10-16T11:31:03.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "fa078efe991c2ed1b90b658e7ec181101665af97",
      "fileid": "https://r2.ropensci.org/7bb092e1dedd69ce1f7c91d618e2042d5f74c499c5f189169d9568d82741c477",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/38893492355"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.2.9001",
      "date": "2026-10-16T11:30:54.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "fa078efe991c2ed1b90b658e7ec181101665af97",
      "fileid": "https://r2.ropensci.org/a02523b3543ba009041876f99625844ac42f16e909ef1846332dbfbe69025e7c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/38893492355"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.0.2.9001",
      "date": "2026-10-16T11:31:17.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "fa078efe991c2ed1b90b658e7ec181101665af97",
      "fileid": "https://r2.ropensci.org/d51d570bf4f038fd5e11216d1beec0e15e5be65f005f8d6a26843ce6cc649521",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/38893492355"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2.9001",
      "date": "2026-10-16T11:30:27.000Z",
      "arch": "aarch64",
      "commit": "fa078efe991c2ed1b90b658e7ec181101665af97",
      "fileid": "https://r2.ropensci.org/f78015458fdbadddd5696d7cb95dbd5febf5ce9d23e21e64eedc2a50d21a1864",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/38893492355"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2.9001",
      "date": "2026-10-16T11:32:59.000Z",
      "arch": "x86_64",
      "commit": "fa078efe991c2ed1b90b658e7ec181101665af97",
      "fileid": "https://r2.ropensci.org/e5d185d4915cd041866ce1fe74f28527a03c53414153e8d65e997685a0315b36",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/38893492355"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.2.9001",
      "date": "2026-10-16T11:30:49.000Z",
      "arch": "aarch64",
      "commit": "fa078efe991c2ed1b90b658e7ec181101665af97",
      "fileid": "https://r2.ropensci.org/8f9e5913c6cd0860b5936bfa1e1c918b69f3415f12f9afc28c8b270d3593af37",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/38893492355"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.0.2.9001",
      "date": "2026-10-16T11:33:37.000Z",
      "arch": "x86_64",
      "commit": "fa078efe991c2ed1b90b658e7ec181101665af97",
      "fileid": "https://r2.ropensci.org/eea0a544096968eb8e78fccc070ea7b05ef08c23b7fb2df214310a0b637039fd",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/38893492355"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2.9001",
      "date": "2026-10-16T11:31:07.000Z",
      "arch": "emscripten",
      "commit": "fa078efe991c2ed1b90b658e7ec181101665af97",
      "fileid": "https://r2.ropensci.org/039e4e1b16e9305bbc09d1ec468a55037ba6ddf9f8430321ff25765691f05391",
      "status": "success",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/38893492355"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2.9001",
      "date": "2026-10-16T11:32:14.000Z",
      "arch": "aarch64",
      "commit": "fa078efe991c2ed1b90b658e7ec181101665af97",
      "fileid": "https://r2.ropensci.org/2149d9f22e794ded9f6ac323a1916d8818b51fdf3fc552e1ef349b6ff32c0ab4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/38893492355"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2.9001",
      "date": "2026-10-16T11:30:28.000Z",
      "arch": "x86_64",
      "commit": "fa078efe991c2ed1b90b658e7ec181101665af97",
      "fileid": "https://r2.ropensci.org/8c7a030d58019ceb01559387df93dcb0630ca014b59104337ddece54862d546e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/38893492355"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.2.9001",
      "date": "2026-10-16T11:30:21.000Z",
      "arch": "x86_64",
      "commit": "fa078efe991c2ed1b90b658e7ec181101665af97",
      "fileid": "https://r2.ropensci.org/e6fe62f339ceebdecf7132209d8657149e52a25d45bd36e4ccb552e71b7264e6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/38893492355"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.2.9001",
      "date": "2026-10-16T11:32:12.000Z",
      "arch": "aarch64",
      "commit": "fa078efe991c2ed1b90b658e7ec181101665af97",
      "fileid": "https://r2.ropensci.org/34de7459c66a42ff5c71ef23309f1339511105df0bb5dadaec2240df3628178b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/38893492355"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.0.2.9001",
      "date": "2026-10-16T11:30:22.000Z",
      "arch": "x86_64",
      "commit": "fa078efe991c2ed1b90b658e7ec181101665af97",
      "fileid": "https://r2.ropensci.org/9c40eebc52c53071a00c6ec2149f7aeb3b0fbb78d74b8fb4e475498d8963f031",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/dajmcdon/actions/runs/38893492355"
    }
  ]
}