{
  "_id": "6ae9cb05818c9e3ef6dbf676",
  "Package": "accept",
  "Title": "The Acute COPD Exacerbation Prediction Tool (ACCEPT)",
  "Version": "1.2.1",
  "Authors@R": "c(\nperson(\"Amin\", \"Adibi\", email = \"adibi@alumni.ubc.ca\", role = c(\"aut\", \"cre\")),\nperson(\"Mohsen\", \"Sadatsafavi\", email = \"mohsen.sadatsafavi@ubc.ca\", role = c(\"aut\", \"cph\")),\nperson(\"Abdollah\", \"Safari\", email = \"asafari@mail.ubc.ca\", role = c(\"aut\")),\nperson(\"Ainsleigh\", \"Hill\", email = \"ainsleigh.hill@alumni.ubc.ca\", role = c(\"aut\")))",
  "Description": "Allows clinicians to predict the rate and severity of\nfuture acute exacerbation in Chronic Obstructive Pulmonary\nDisease (COPD) patients, based on the clinical prediction\nmodels published in Adibi et al. (2020)\n<doi:10.1016/S2213-2600(19)30397-2> and Safari et al. (2022)\n<doi:10.1016/j.eclinm.2022.101574>.",
  "License": "GPL-3",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "VignetteBuilder": "knitr",
  "Language": "en-US",
  "Config/testthat/edition": "3",
  "Config/roxygen2/version": "8.0.0",
  "Config/pak/sysreqs": "cmake make libuv1-dev libssl-dev libx11-dev",
  "Repository": "https://resplab.r-universe.dev",
  "Date/Publication": "2026-08-05 17:21:13 UTC",
  "RemoteUrl": "https://github.com/resplab/accept",
  "RemoteRef": "HEAD",
  "RemoteSha": "04f7ef650221dfc6360671cc9aed3d90e56398f0",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-03 10:49:46 UTC",
    "User": "root"
  },
  "Author": "Amin Adibi [aut, cre],\nMohsen Sadatsafavi [aut, cph],\nAbdollah Safari [aut],\nAinsleigh Hill [aut]",
  "Maintainer": "Amin Adibi <adibi@alumni.ubc.ca>",
  "_user": "resplab",
  "_type": "src",
  "_file": "accept_1.2.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/70145e28d22ec9ff6e4b7592c70aa79987d04769d813d62adc8554dde21df75b",
  "_filesize": 860872,
  "_sha256": "70145e28d22ec9ff6e4b7592c70aa79987d04769d813d62adc8554dde21df75b",
  "_expires": "2027-02-11T11:52:35.000Z",
  "_created": "2026-11-03T10:49:46.000Z",
  "_published": "2026-11-03T11:52:36.902Z",
  "_upstream": "https://github.com/resplab/accept",
  "_status": "success",
  "_maintainer": {
    "name": "Amin Adibi",
    "email": "adibi@alumni.ubc.ca",
    "login": "aminadibi",
    "description": "",
    "uuid": 20497354
  },
  "_jobs": [
    {
      "job": 125871683857,
      "time": 234,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13223124890"
    },
    {
      "job": 125871683865,
      "time": 226,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13224981098"
    },
    {
      "job": 125871683769,
      "time": 162,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13227683422"
    },
    {
      "job": 125871683791,
      "time": 167,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13228710498"
    },
    {
      "job": 125869692173,
      "time": 253,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13224301635"
    },
    {
      "job": 125871684008,
      "time": 128,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "13223024819"
    },
    {
      "job": 125871683982,
      "time": 188,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "13224990951"
    },
    {
      "job": 125871683848,
      "time": 130,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "13225075282"
    },
    {
      "job": 125871683842,
      "time": 194,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "13224138036"
    }
  ],
  "_buildurl": "https://github.com/r-universe/resplab/actions/runs/41621937124",
  "_commit": {
    "id": "04f7ef650221dfc6360671cc9aed3d90e56398f0",
    "author": "Mohsen Sadatsafavi <msafavi@mail.ubc.ca>",
    "committer": "Mohsen Sadatsafavi <msafavi@mail.ubc.ca>",
    "message": "Updating tests to reflect new accept3() + minor housekeeping stuff.\n",
    "time": 1785950473
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.0.0",
      "role": "Depends"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "tidyselect",
      "version": ">= 1.2.0",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "reldist",
      "role": "Imports"
    },
    {
      "package": "splines",
      "role": "Imports"
    },
    {
      "package": "tibble",
      "role": "Imports"
    },
    {
      "package": "hardhat",
      "role": "Imports"
    },
    {
      "package": "vctrs",
      "role": "Imports"
    },
    {
      "package": "vetiver",
      "version": ">= 0.2.1",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "plotly",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "resplab",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-46",
      "n": 2
    },
    {
      "week": "2026-10",
      "n": 2
    },
    {
      "week": "2026-14",
      "n": 1
    },
    {
      "week": "2026-24",
      "n": 1
    },
    {
      "week": "2026-25",
      "n": 1
    },
    {
      "week": "2026-32",
      "n": 2
    }
  ],
  "_tags": [],
  "_stars": 10,
  "_contributors": [
    {
      "user": "aminadibi",
      "count": 113,
      "uuid": 20497354
    },
    {
      "user": "ab-sa",
      "count": 24,
      "uuid": 10256202
    },
    {
      "user": "ahill187",
      "count": 15,
      "uuid": 23019211
    },
    {
      "user": "jeenatm",
      "count": 9,
      "uuid": 141190076
    },
    {
      "user": "williamxu7",
      "count": 4,
      "uuid": 67845982
    },
    {
      "user": "yzr1996",
      "count": 2,
      "uuid": 70619133
    },
    {
      "user": "msadatsafavi",
      "count": 2,
      "uuid": 25162764
    },
    {
      "user": "crystalleungee",
      "count": 1,
      "uuid": 156877654
    }
  ],
  "_userbio": {
    "uuid": 49206837,
    "type": "organization",
    "name": "RESP",
    "followers": 17,
    "description": "The Respiratory Evaluation Sciences Program (RESP) at the University of British Columbia"
  },
  "_downloads": {
    "count": 424,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/accept"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/resplab/accept",
  "_searchresults": 21,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/accept.html",
    "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"
  ],
  "_homeurl": "https://github.com/resplab/accept",
  "_realowner": "resplab",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.7.0",
      "date": "2019-08-08"
    },
    {
      "version": "0.7.1",
      "date": "2020-03-18"
    },
    {
      "version": "0.8.2",
      "date": "2021-06-15"
    },
    {
      "version": "0.8.3",
      "date": "2021-06-18"
    },
    {
      "version": "0.9.0",
      "date": "2022-03-22"
    },
    {
      "version": "0.9.1",
      "date": "2022-07-15"
    },
    {
      "version": "1.0.0",
      "date": "2023-02-06"
    },
    {
      "version": "1.0.2",
      "date": "2025-06-05"
    }
  ],
  "_exports": [
    "accept",
    "accept1",
    "accept2",
    "accept3",
    "accept3_cprd",
    "plotExacerbations",
    "plotHeatMap",
    "predictCountProb",
    "set_openai_api_key",
    "show_openai_api_key"
  ],
  "_datasets": [
    {
      "name": "samplePatients",
      "title": "Sample Patient Characteristics Inputs",
      "object": "samplePatients",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "ID",
        "male",
        "age",
        "smoker",
        "oxygen",
        "statin",
        "LAMA",
        "LABA",
        "ICS",
        "FEV1",
        "BMI",
        "SGRQ",
        "LastYrExacCount",
        "LastYrSevExacCount"
      ],
      "rows": 2,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "accept",
      "title": "A flexible version of ACCEPT 2.0 model, which imputes predictors using MICE approach.",
      "topics": [
        "accept"
      ]
    },
    {
      "page": "accept1",
      "title": "Predicts COPD exacerbation rate by severity level based on Acute COPD Exacerbation Tool (ACCEPT)",
      "topics": [
        "accept1"
      ]
    },
    {
      "page": "accept2",
      "title": "Predicts COPD exacerbation rate by severity level based on the updated accept2 model, which improves accuracy in patients without an exacerbation history.",
      "topics": [
        "accept2"
      ]
    },
    {
      "page": "accept3",
      "title": "Predicts country-specific COPD exacerbation risk based on ACCEPT 3.0 model with external recalibration",
      "topics": [
        "accept3"
      ]
    },
    {
      "page": "accept3_cprd",
      "title": "Predicts COPD exacerbation risk for UK primary-care patients using ACCEPT 3.0-CPRD",
      "topics": [
        "accept3_cprd"
      ]
    },
    {
      "page": "handler_predict.accept_model",
      "title": "Model handler functions for API endpoint",
      "topics": [
        "handler_predict.accept_model"
      ]
    },
    {
      "page": "plotExacerbations",
      "title": "Creates bar graph comparing no treatment with azithromycin treatment",
      "topics": [
        "plotExacerbations"
      ]
    },
    {
      "page": "plotHeatMap",
      "title": "Creates heatmap of number of exacerbations",
      "topics": [
        "plotHeatMap"
      ]
    },
    {
      "page": "predict.accept_model",
      "title": "Model predictions",
      "topics": [
        "predict.accept_model"
      ]
    },
    {
      "page": "predictCountProb",
      "title": "Predicts probability of observing n exacerbations in the next year",
      "topics": [
        "predictCountProb"
      ]
    },
    {
      "page": "samplePatients",
      "title": "Sample Patient Characteristics Inputs",
      "topics": [
        "samplePatients"
      ]
    },
    {
      "page": "set_openai_api_key",
      "title": "Set OpenAI API key",
      "topics": [
        "set_openai_api_key"
      ]
    },
    {
      "page": "show_openai_api_key",
      "title": "View saved openAI API key",
      "topics": [
        "show_openai_api_key"
      ]
    },
    {
      "page": "vetiver_create_description.accept_model",
      "title": "Create a vetiver model object description",
      "topics": [
        "vetiver_create_description.accept_model"
      ]
    },
    {
      "page": "vetiver_create_meta.accept_model",
      "title": "Metadata constructors for `vetiver_model()` object",
      "topics": [
        "vetiver_create_meta.accept_model"
      ]
    },
    {
      "page": "vetiver_ptype.accept_model",
      "title": "Create a vetiver input data prototype",
      "topics": [
        "vetiver_ptype.accept_model"
      ]
    }
  ],
  "_readme": "https://github.com/resplab/accept/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "askpass",
    "backports",
    "BH",
    "bit",
    "bit64",
    "bundle",
    "butcher",
    "callr",
    "cereal",
    "checkmate",
    "cli",
    "clipr",
    "cpp11",
    "crayon",
    "curl",
    "densEstBayes",
    "desc",
    "digest",
    "distributional",
    "dplyr",
    "farver",
    "fs",
    "generics",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "hardhat",
    "hms",
    "httr",
    "inline",
    "isoband",
    "jsonlite",
    "labeling",
    "lattice",
    "lifecycle",
    "lobstr",
    "loo",
    "magrittr",
    "MASS",
    "Matrix",
    "matrixStats",
    "mgcv",
    "mime",
    "nlme",
    "numDeriv",
    "openssl",
    "otel",
    "pillar",
    "pins",
    "pkgbuild",
    "pkgconfig",
    "posterior",
    "prettyunits",
    "processx",
    "progress",
    "ps",
    "purrr",
    "QuickJSR",
    "R6",
    "rapidoc",
    "rappdirs",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "RcppParallel",
    "readr",
    "reldist",
    "rlang",
    "rstan",
    "rstantools",
    "S7",
    "scales",
    "sparsevctrs",
    "StanHeaders",
    "sys",
    "tensorA",
    "tibble",
    "tidyselect",
    "tzdb",
    "utf8",
    "vctrs",
    "vetiver",
    "viridisLite",
    "vroom",
    "whisker",
    "withr",
    "yaml"
  ],
  "_vignettes": [
    {
      "source": "accept3_cprd_vignette.Rmd",
      "filename": "accept3_cprd_vignette.html",
      "title": "ACCEPT 3.0-CPRD: Predicting COPD Exacerbation Risk in UK Primary Care",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "When to Use ACCEPT 3.0-CPRD",
        "Required Identifier",
        "Required Predictors",
        "Optional Predictors",
        "Basic Usage",
        "Accessing Results via accept()",
        "Including Predictors in the Output",
        "Imputation Messages",
        "Handling Missing mMRC / SGRQ",
        "Recalibration Method",
        "Comparing Models",
        "See Also",
        "Session Info"
      ],
      "created": "2026-08-05 17:21:13",
      "modified": "2026-08-05 17:21:13",
      "commits": 1
    }
  ],
  "_score": 6.644438589467839,
  "_indexed": true,
  "_nocasepkg": "accept",
  "_universes": [
    "resplab",
    "aminadibi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-11-03T10:52:35.000Z",
      "distro": "resolute",
      "commit": "04f7ef650221dfc6360671cc9aed3d90e56398f0",
      "fileid": "https://r2.ropensci.org/7590e76f1f071b6610ebbbbc0f09a861a19228a15aa3eb800e77dd58fbc8fd70",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/resplab/actions/runs/41621937124"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-11-03T10:52:58.000Z",
      "distro": "resolute",
      "commit": "04f7ef650221dfc6360671cc9aed3d90e56398f0",
      "fileid": "https://r2.ropensci.org/72d0681da35287c4429e6058345bcb9d6b18adcd95047de2c1b477781141ff56",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/resplab/actions/runs/41621937124"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-11-03T11:51:04.000Z",
      "commit": "04f7ef650221dfc6360671cc9aed3d90e56398f0",
      "fileid": "https://r2.ropensci.org/d2b7e3beef1bb397ec6a4f30aa245408e5d817d8d31a39b397be579e0a6a502f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/resplab/actions/runs/41621937124"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-11-03T11:49:31.000Z",
      "commit": "04f7ef650221dfc6360671cc9aed3d90e56398f0",
      "fileid": "https://r2.ropensci.org/f5763a7e20821b16cbab7d237917caa8ac086af3cbd00c2aea1eebfe4e46cf94",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/resplab/actions/runs/41621937124"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.1",
      "date": "2026-11-03T10:52:17.000Z",
      "commit": "04f7ef650221dfc6360671cc9aed3d90e56398f0",
      "fileid": "https://r2.ropensci.org/f034cca73379d4128956cbb2c5567985ad8a39b29bb8400442b9c10adfc73c96",
      "status": "success",
      "buildurl": "https://github.com/r-universe/resplab/actions/runs/41621937124"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-11-03T10:51:37.000Z",
      "commit": "04f7ef650221dfc6360671cc9aed3d90e56398f0",
      "fileid": "https://r2.ropensci.org/fed29b9550d220c269b39349da0be4b3b6fb1765b3c645a4ea4da92aeb8dd340",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/resplab/actions/runs/41621937124"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-11-03T10:51:13.000Z",
      "commit": "04f7ef650221dfc6360671cc9aed3d90e56398f0",
      "fileid": "https://r2.ropensci.org/e897f8440659307685d3ffcaa23d6092d10776938271ab9058ec2b33581aba20",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/resplab/actions/runs/41621937124"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-11-03T10:51:45.000Z",
      "commit": "04f7ef650221dfc6360671cc9aed3d90e56398f0",
      "fileid": "https://r2.ropensci.org/528c578a40083e50714f7fcb4d74e3134e69dee730f28cf67e701ef934a97ad2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/resplab/actions/runs/41621937124"
    }
  ]
}