{
  "_id": "6ac224ed773a0037682c2a02",
  "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-10-04 09:59:24 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/3766a9719b9b1ab0e19699ed82bf18afaaf80e521a85d66952b24cc047ba00c2",
  "_filesize": 864865,
  "_sha256": "3766a9719b9b1ab0e19699ed82bf18afaaf80e521a85d66952b24cc047ba00c2",
  "_expires": "2027-01-12T10:05:31.000Z",
  "_created": "2026-10-04T09:59:24.000Z",
  "_published": "2026-10-04T10:05:33.643Z",
  "_jobs": [
    {
      "job": 111411721612,
      "time": 178,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11300381744"
    },
    {
      "job": 111411721600,
      "time": 215,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11300312170"
    },
    {
      "job": 111411721567,
      "time": 315,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11300505279"
    },
    {
      "job": 111411721713,
      "time": 202,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11299384768"
    },
    {
      "job": 111411115745,
      "time": 222,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11299569209"
    },
    {
      "job": 111411721573,
      "time": 156,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11299699244"
    },
    {
      "job": 111411721596,
      "time": 239,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11299923364"
    },
    {
      "job": 111411721608,
      "time": 196,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11299479535"
    },
    {
      "job": 111411721634,
      "time": 184,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11299439621"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/resplab/actions/runs/37193711475",
  "_status": "success",
  "_upstream": "https://github.com/resplab/accept",
  "_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
  },
  "_maintainer": {
    "name": "Amin Adibi",
    "email": "adibi@alumni.ubc.ca",
    "login": "aminadibi",
    "description": "",
    "uuid": 20497354
  },
  "_distro": "resolute",
  "_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-44",
      "n": 6
    },
    {
      "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": 16,
    "description": "The Respiratory Evaluation Sciences Program (RESP) at the University of British Columbia"
  },
  "_downloads": {
    "count": 538,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/accept"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/resplab/accept",
  "_searchresults": 20,
  "_rbuild": "4.6.1",
  "_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.690196080028514,
  "_indexed": true,
  "_nocasepkg": "accept",
  "_universes": [
    "resplab",
    "aminadibi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-10-04T10:01:45.000Z",
      "distro": "resolute",
      "commit": "04f7ef650221dfc6360671cc9aed3d90e56398f0",
      "fileid": "https://r2.ropensci.org/5b0371a20e4d361bd7e9aca8fb36a0ce4c85e8c6d327df9ed04777f6e1823579",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/resplab/actions/runs/37193711475"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.2.1",
      "date": "2026-10-04T10:02:02.000Z",
      "distro": "resolute",
      "commit": "04f7ef650221dfc6360671cc9aed3d90e56398f0",
      "fileid": "https://r2.ropensci.org/804a4d06bf91df7664961186af0e42522779185972d10cd28128b2a0dca34fad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/resplab/actions/runs/37193711475"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-10-04T10:02:32.000Z",
      "commit": "04f7ef650221dfc6360671cc9aed3d90e56398f0",
      "fileid": "https://r2.ropensci.org/deae3c6f0fd7ad8d19dc70c5a8c1e5fb6f236ef2ab984b8eb357b07f9314f9b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/resplab/actions/runs/37193711475"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.2.1",
      "date": "2026-10-04T10:01:55.000Z",
      "commit": "04f7ef650221dfc6360671cc9aed3d90e56398f0",
      "fileid": "https://r2.ropensci.org/7e1e147dae34034cdfd8a479f40ee734a9f1562f6e99f85fbbb832d033c217aa",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/resplab/actions/runs/37193711475"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.2.1",
      "date": "2026-10-04T10:02:16.000Z",
      "commit": "04f7ef650221dfc6360671cc9aed3d90e56398f0",
      "fileid": "https://r2.ropensci.org/38d364a5eb5b54a43d7d0b30d92bbeec1625d1a8a6ac32bee72965e100db546e",
      "status": "success",
      "buildurl": "https://github.com/r-universe/resplab/actions/runs/37193711475"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-10-04T10:02:01.000Z",
      "commit": "04f7ef650221dfc6360671cc9aed3d90e56398f0",
      "fileid": "https://r2.ropensci.org/77dd424dc2ad33851026d291c6457f177df555e3e252a6f3740809969a1d2cc8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/resplab/actions/runs/37193711475"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-10-04T10:01:07.000Z",
      "commit": "04f7ef650221dfc6360671cc9aed3d90e56398f0",
      "fileid": "https://r2.ropensci.org/18b3ce00fa2d89f797b17e720f5131ef3fc0f7a0104d994164263215ca079022",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/resplab/actions/runs/37193711475"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.2.1",
      "date": "2026-10-04T10:01:08.000Z",
      "commit": "04f7ef650221dfc6360671cc9aed3d90e56398f0",
      "fileid": "https://r2.ropensci.org/cf418c6bfcf8fa5905d93f893e705f91d8ea352c0c67f1bccc34eccfcedb3725",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/resplab/actions/runs/37193711475"
    }
  ]
}