{
  "_id": "6a116898acfb0bcc41cf28da",
  "Package": "daySupply",
  "Type": "Package",
  "Title": "Calculating Days' Supply and Daily Dose of Prescriptions",
  "Version": "0.1.0",
  "Authors@R": "c(\nperson(\"Abdollah\", \"Safari\", email = \"a.saffari72@gmail.com\", role = c(\"aut\", \"cre\")),\nperson(\"Shahrzad\", \"Salmasi\", email = \"shahrzad.salmasi@ubc.ca\", role = c(\"aut\")),\nperson(\"Peter\", \"Loewen\", email = \"peter.loewen@ubc.ca\", role = c(\"aut\")))",
  "Maintainer": "Abdollah Safari <a.saffari72@gmail.com>",
  "Description": "Allows clinicians and researchers to compute daily dose\n(and subsequently days' supply) for prescription refills using\nthe following methods: Fixed window, fixed tablet, defined\ndaily dose (DDD), and Random Effects Warfarin Days' Supply\n(REWarDS). Daily dose is the computed dose that the patient\ntakes every day. For medications with fixed dosing (e.g. direct\noral anticoagulants) this is known and does not need to be\nestimated. For medications with varying dose such as warfarin,\nhowever, the daily dose should be assumed or estimated to allow\nmeasurement of drug exposure. Days’ supply is the number of\ndays that patients’ supply of medication will last after each\nprescription fill. Estimating days’ supply is necessary to\ncalculate drug exposure. The package computes days’ supply and\ndaily dose at both the prescription and patient levels. Results\nat the prescription level are denoted with “-Rx-” and those at\npatient level are denoted with “-Pt-”.",
  "License": "GPL (>=3)",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.1.1",
  "Config/pak/sysreqs": "cmake make",
  "Repository": "https://ab-sa.r-universe.dev",
  "Date/Publication": "2021-04-28 18:40:43 UTC",
  "RemoteUrl": "https://github.com/ab-sa/daysupply",
  "RemoteRef": "HEAD",
  "RemoteSha": "27d776722d64bff95cf482654943cfb215cd8b90",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-23 08:39:56 UTC",
    "User": "root"
  },
  "Author": "Abdollah Safari [aut, cre],\nShahrzad Salmasi [aut],\nPeter Loewen [aut]",
  "MD5sum": "9bf59d8cab38a395d27fde9dbbded2f3",
  "_user": "ab-sa",
  "_type": "src",
  "_file": "daySupply_0.1.0.tar.gz",
  "_fileid": "7cbe8576df4ecbf4aeca138a18f06545364486551da7d995c06e7c090b6d2013",
  "_filesize": 108800,
  "_sha256": "7cbe8576df4ecbf4aeca138a18f06545364486551da7d995c06e7c090b6d2013",
  "_created": "2026-05-23T08:39:56.000Z",
  "_published": "2026-05-23T08:43:04.877Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77509984004,
      "time": 145,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175706805"
    },
    {
      "job": 77509984011,
      "time": 153,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175707352"
    },
    {
      "job": 77509984006,
      "time": 140,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175704219"
    },
    {
      "job": 77509983998,
      "time": 142,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175703791"
    },
    {
      "job": 77509792511,
      "time": 232,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175693038"
    },
    {
      "job": 77509984002,
      "time": 98,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175702607"
    },
    {
      "job": 77509984005,
      "time": 133,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7175705569"
    },
    {
      "job": 77509984012,
      "time": 89,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7175701672"
    },
    {
      "job": 77509984003,
      "time": 139,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7175706140"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ab-sa/actions/runs/26328265600",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/ab-sa/daysupply",
  "_commit": {
    "id": "27d776722d64bff95cf482654943cfb215cd8b90",
    "author": "Abdollah <a.saffari72@gmail.com>",
    "committer": "Abdollah <a.saffari72@gmail.com>",
    "message": "fix a typo\n",
    "time": 1619635243
  },
  "_maintainer": {
    "name": "Abdollah Safari",
    "email": "a.saffari72@gmail.com",
    "login": "ab-sa",
    "description": "",
    "uuid": 10256202
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "lme4",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    }
  ],
  "_owner": "ab-sa",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "ab-sa",
      "count": 12,
      "uuid": 10256202
    }
  ],
  "_userbio": {
    "uuid": 10256202,
    "type": "user",
    "name": "Abdollah"
  },
  "_downloads": {
    "count": 222,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/daySupply"
  },
  "_devurl": "https://github.com/ab-sa/daysupply",
  "_searchresults": 0,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/daySupply.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/ab-sa/daysupply",
  "_realowner": "ab-sa",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.0",
      "date": "2021-04-29"
    }
  ],
  "_exports": [
    "definedDailyDose",
    "fixedTablet",
    "fixedWindow",
    "REWarDS"
  ],
  "_help": [
    {
      "page": "definedDailyDose",
      "title": "Defined daily dose",
      "topics": [
        "definedDailyDose"
      ]
    },
    {
      "page": "fixedTablet",
      "title": "Fixed tablet",
      "topics": [
        "fixedTablet"
      ]
    },
    {
      "page": "fixedWindow",
      "title": "Fixed window",
      "topics": [
        "fixedWindow"
      ]
    },
    {
      "page": "REWarDS",
      "title": "REWarDS",
      "topics": [
        "REWarDS"
      ]
    }
  ],
  "_readme": "https://github.com/ab-sa/daysupply/raw/HEAD/README.md",
  "_rundeps": [
    "boot",
    "cli",
    "dplyr",
    "generics",
    "glue",
    "lattice",
    "lifecycle",
    "lme4",
    "magrittr",
    "MASS",
    "Matrix",
    "minqa",
    "nlme",
    "nloptr",
    "pillar",
    "pkgconfig",
    "R6",
    "rbibutils",
    "Rcpp",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "withr"
  ],
  "_score": 2.6989700043360187,
  "_indexed": true,
  "_nocasepkg": "daysupply",
  "_universes": [
    "ab-sa"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-23T08:42:07.000Z",
      "distro": "noble",
      "commit": "27d776722d64bff95cf482654943cfb215cd8b90",
      "fileid": "fc705a91d5618802ab8ec1f36c531dd6f073fa4e37a20d830772b0157cfdd2c5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ab-sa/actions/runs/26328265600"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-05-23T08:42:10.000Z",
      "distro": "noble",
      "commit": "27d776722d64bff95cf482654943cfb215cd8b90",
      "fileid": "adb7946bc278d2cf7e1418ebe11c884adb2462b888c00be005ea76f701b51949",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ab-sa/actions/runs/26328265600"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-23T08:41:52.000Z",
      "commit": "27d776722d64bff95cf482654943cfb215cd8b90",
      "fileid": "d5f4367dd63938c3a565945a534242598c6a6d268e251809d4a4c675abf6e2fb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ab-sa/actions/runs/26328265600"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-05-23T08:41:44.000Z",
      "commit": "27d776722d64bff95cf482654943cfb215cd8b90",
      "fileid": "1ecc400a574420f17eb8be450f8586bad2cf68345bc7d8d4fc6fd8eb393288ee",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ab-sa/actions/runs/26328265600"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-05-23T08:41:53.000Z",
      "commit": "27d776722d64bff95cf482654943cfb215cd8b90",
      "fileid": "1cfe384a712a5f66e137a9387a2d0e344265019d50e8594c6d8c6562a6ff0597",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ab-sa/actions/runs/26328265600"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-23T08:41:50.000Z",
      "commit": "27d776722d64bff95cf482654943cfb215cd8b90",
      "fileid": "c74c572563d37e4c889f8d7fd3f519335bb9b381251e2b06b3904d83344c801f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ab-sa/actions/runs/26328265600"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-23T08:41:10.000Z",
      "commit": "27d776722d64bff95cf482654943cfb215cd8b90",
      "fileid": "796d37d54491aade4675ab54d11d6280607f974dcb1c4433730962041c710721",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ab-sa/actions/runs/26328265600"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-05-23T08:41:48.000Z",
      "commit": "27d776722d64bff95cf482654943cfb215cd8b90",
      "fileid": "35a276582b08c92a38441da5786d7d2ceb4ddfa53e43399ab1ec0012198a2760",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ab-sa/actions/runs/26328265600"
    }
  ]
}