{
  "_id": "6a1e9f521d7bb097a0a70297",
  "Package": "accept",
  "Title": "The Acute COPD Exacerbation Prediction Tool (ACCEPT)",
  "Version": "1.1.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",
  "RoxygenNote": "7.3.3",
  "Language": "en-US",
  "Config/testthat/edition": "3",
  "Config/pak/sysreqs": "cmake make libuv1-dev libssl-dev libx11-dev",
  "Repository": "https://resplab.r-universe.dev",
  "Date/Publication": "2026-04-03 15:07:33 UTC",
  "RemoteUrl": "https://github.com/resplab/accept",
  "RemoteRef": "HEAD",
  "RemoteSha": "ddae28d62b0217210dd16435035109559ccb0c75",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-02 09:10:35 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>",
  "MD5sum": "4db26f48ebbd957f3cb8d5d62e15c578",
  "_user": "resplab",
  "_type": "src",
  "_file": "accept_1.1.1.tar.gz",
  "_fileid": "9317d1ba160e1765555db31b502160370aa9b77e966cfb85da0cc767da265f1a",
  "_filesize": 989641,
  "_sha256": "9317d1ba160e1765555db31b502160370aa9b77e966cfb85da0cc767da265f1a",
  "_created": "2026-06-02T09:10:35.000Z",
  "_published": "2026-06-02T09:16:02.789Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79037563676,
      "time": 262,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7353683144"
    },
    {
      "job": 79037563716,
      "time": 267,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7353685230"
    },
    {
      "job": 79037563751,
      "time": 181,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7353654075"
    },
    {
      "job": 79037563807,
      "time": 150,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7353643562"
    },
    {
      "job": 79036838694,
      "time": 257,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7353590009"
    },
    {
      "job": 79037563691,
      "time": 178,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7353652791"
    },
    {
      "job": 79037563719,
      "time": 221,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7353668023"
    },
    {
      "job": 79037563683,
      "time": 208,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7353663975"
    },
    {
      "job": 79037563688,
      "time": 198,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7353660455"
    }
  ],
  "_buildurl": "https://github.com/r-universe/resplab/actions/runs/26809884827",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/resplab/accept",
  "_commit": {
    "id": "ddae28d62b0217210dd16435035109559ccb0c75",
    "author": "Amin Adibi <adibi@alumni.ubc.ca>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #20 from resplab/issue#19\n\naccept3 recalibrated equation update",
    "time": 1775228853
  },
  "_maintainer": {
    "name": "Amin Adibi",
    "email": "adibi@alumni.ubc.ca",
    "login": "aminadibi",
    "description": "",
    "uuid": 20497354
  },
  "_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": "plotly",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "resplab",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-23",
      "n": 5
    },
    {
      "week": "2025-44",
      "n": 6
    },
    {
      "week": "2025-46",
      "n": 2
    },
    {
      "week": "2026-10",
      "n": 2
    },
    {
      "week": "2026-14",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.0.2",
      "date": "2025-06-06"
    }
  ],
  "_stars": 10,
  "_contributors": [
    {
      "user": "aminadibi",
      "count": 111,
      "uuid": 20497354
    },
    {
      "user": "ab-sa",
      "count": 24,
      "uuid": 10256202
    },
    {
      "user": "ahill187",
      "count": 15,
      "uuid": 23019211
    },
    {
      "user": "williamxu7",
      "count": 4,
      "uuid": 67845982
    },
    {
      "user": "yzr1996",
      "count": 2,
      "uuid": 70619133
    },
    {
      "user": "crystalleungee",
      "count": 1,
      "uuid": 156877654
    }
  ],
  "_userbio": {
    "uuid": 49206837,
    "type": "organization",
    "name": "RESP",
    "description": "The Respiratory Evaluation Sciences Program (RESP) at the University of British Columbia"
  },
  "_downloads": {
    "count": 250,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/accept"
  },
  "_mentions": 1,
  "_devurl": "https://github.com/resplab/accept",
  "_searchresults": 17,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/accept.html",
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_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",
    "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": "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",
    "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"
  ],
  "_score": 5.32735893438633,
  "_indexed": true,
  "_nocasepkg": "accept",
  "_universes": [
    "resplab",
    "aminadibi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.1.1",
      "date": "2026-06-02T09:13:41.000Z",
      "distro": "noble",
      "commit": "ddae28d62b0217210dd16435035109559ccb0c75",
      "fileid": "2ddb73ae06bb77f48b44fe1a2fe9af9df9d8481087e9c59e6e2d22603a4e5239",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/resplab/actions/runs/26809884827"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.1.1",
      "date": "2026-06-02T09:13:54.000Z",
      "distro": "noble",
      "commit": "ddae28d62b0217210dd16435035109559ccb0c75",
      "fileid": "84c005e993b94cd4af1e7141855cc532f9ffdb5b1d22b9b1130ef82b5072802b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/resplab/actions/runs/26809884827"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.1.1",
      "date": "2026-06-02T09:12:43.000Z",
      "commit": "ddae28d62b0217210dd16435035109559ccb0c75",
      "fileid": "b64c735876975e317abd794cb0524b4851a5170cac0d9d817d0242dc145d8ee9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/resplab/actions/runs/26809884827"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.1.1",
      "date": "2026-06-02T09:12:31.000Z",
      "commit": "ddae28d62b0217210dd16435035109559ccb0c75",
      "fileid": "5176a6befe47a76630f1e1b7b83235355e4be4cc50559183ee01b13cb004c3c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/resplab/actions/runs/26809884827"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.1.1",
      "date": "2026-06-02T09:14:00.000Z",
      "commit": "ddae28d62b0217210dd16435035109559ccb0c75",
      "fileid": "7c0c8d8de6cbd8cdbd05424df48d68d000baf1ab78fe3b078f674831c6808a60",
      "status": "success",
      "buildurl": "https://github.com/r-universe/resplab/actions/runs/26809884827"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-06-02T09:12:44.000Z",
      "commit": "ddae28d62b0217210dd16435035109559ccb0c75",
      "fileid": "53984ae29894c484f0e4f671aa1a2b13588991923b73b9699407d47d818679a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/resplab/actions/runs/26809884827"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-06-02T09:12:31.000Z",
      "commit": "ddae28d62b0217210dd16435035109559ccb0c75",
      "fileid": "188854814ccc1e6f4db893e3c498795b030b2413300c29b03fef6cdc691bd6ca",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/resplab/actions/runs/26809884827"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.1.1",
      "date": "2026-06-02T09:12:27.000Z",
      "commit": "ddae28d62b0217210dd16435035109559ccb0c75",
      "fileid": "97a53bd9636930391fdddaffc1254b9476b20fe665896e15d1a3cd34a94c8fda",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/resplab/actions/runs/26809884827"
    }
  ]
}