{
  "_id": "6aaf926e3d719c1f8407f22d",
  "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-09-20 07:56:03 UTC",
    "User": "root"
  },
  "Author": "Abdollah Safari [aut, cre],\nShahrzad Salmasi [aut],\nPeter Loewen [aut]",
  "_user": "ab-sa",
  "_type": "src",
  "_file": "daySupply_0.1.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/5b1e42813838650e3f9edce98eefb25fec7eb47e44485b4de7ea15589595ba1a",
  "_filesize": 110645,
  "_sha256": "5b1e42813838650e3f9edce98eefb25fec7eb47e44485b4de7ea15589595ba1a",
  "_expires": "2026-12-29T07:59:40.000Z",
  "_created": "2026-09-20T07:56:03.000Z",
  "_published": "2026-09-20T07:59:41.958Z",
  "_jobs": [
    {
      "job": 106045040219,
      "time": 163,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10601403158"
    },
    {
      "job": 106045040169,
      "time": 131,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10601148437"
    },
    {
      "job": 106045040285,
      "time": 181,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10600712797"
    },
    {
      "job": 106045040188,
      "time": 152,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10600867643"
    },
    {
      "job": 106044728750,
      "time": 163,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10601262027"
    },
    {
      "job": 106045040200,
      "time": 110,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "10600742656"
    },
    {
      "job": 106045040210,
      "time": 83,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "10601492977"
    },
    {
      "job": 106045040220,
      "time": 108,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "10600877552"
    },
    {
      "job": 106045040214,
      "time": 99,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "10601667757"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/ab-sa/actions/runs/35498068857",
  "_status": "success",
  "_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
  },
  "_distro": "resolute",
  "_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",
    "followers": 10
  },
  "_downloads": {
    "count": 251,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/daySupply"
  },
  "_devurl": "https://github.com/ab-sa/daysupply",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/daySupply.html",
    "extra/manual.pdf",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_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-09-20T07:58:27.000Z",
      "distro": "resolute",
      "commit": "27d776722d64bff95cf482654943cfb215cd8b90",
      "fileid": "https://r2.ropensci.org/9e578fbfab1e9cd6b0ec12e3830cd100f2de182b27258a7d16d4b93b702fd5ac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ab-sa/actions/runs/35498068857"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.0",
      "date": "2026-09-20T07:57:57.000Z",
      "distro": "resolute",
      "commit": "27d776722d64bff95cf482654943cfb215cd8b90",
      "fileid": "https://r2.ropensci.org/dbf54f7d62a8812ba53853855c80f56fc453fc44ef32f64af20fcac3c072df0b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ab-sa/actions/runs/35498068857"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-09-20T07:58:18.000Z",
      "commit": "27d776722d64bff95cf482654943cfb215cd8b90",
      "fileid": "https://r2.ropensci.org/f3690acd1732120f09486fb6715f44b72da75fd69a023a0deb562c03f9c5e2a5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ab-sa/actions/runs/35498068857"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.0",
      "date": "2026-09-20T07:58:05.000Z",
      "commit": "27d776722d64bff95cf482654943cfb215cd8b90",
      "fileid": "https://r2.ropensci.org/cd4d84e41e34d36fef5c7796c0f40ca93ec97f55b916e1a6eb3540607d19881e",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ab-sa/actions/runs/35498068857"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.0",
      "date": "2026-09-20T07:58:06.000Z",
      "commit": "27d776722d64bff95cf482654943cfb215cd8b90",
      "fileid": "https://r2.ropensci.org/ce82175daa30e85b2824eecebc8c11926cb8145d3337b1242c124ee69748e643",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ab-sa/actions/runs/35498068857"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-09-20T07:57:04.000Z",
      "commit": "27d776722d64bff95cf482654943cfb215cd8b90",
      "fileid": "https://r2.ropensci.org/d2441e2ae0827fbd750f783f4a937426088a8be3fb3baaf70949e7da940a09b0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ab-sa/actions/runs/35498068857"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-09-20T07:57:34.000Z",
      "commit": "27d776722d64bff95cf482654943cfb215cd8b90",
      "fileid": "https://r2.ropensci.org/3686d38b1db841165b0f287595620cab7010048882b82ee8e61d3f9241c9da1b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ab-sa/actions/runs/35498068857"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.0",
      "date": "2026-09-20T07:57:15.000Z",
      "commit": "27d776722d64bff95cf482654943cfb215cd8b90",
      "fileid": "https://r2.ropensci.org/1338d6f9c557632177c5a9c1446626388540b9c2f6ab12fa5fc98cfc3d0ef453",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ab-sa/actions/runs/35498068857"
    }
  ]
}