{
  "_id": "6afc1afe117874b00e23aff5",
  "Package": "mmequiv",
  "Title": "Calculate Standardized Morphine Milligram Equivalent Doses",
  "Version": "1.0.0",
  "Authors@R": "person(\"Kenneth A.\", \"Taylor\", ,\n\"kenneth.taylor.dpt@gmail.com\",\nrole = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0002-3205-9280\"))",
  "Description": "Calculate morphine milligram equivalents (MME) for opioid\ndose comparison using standardized methods. Can directly call\nthe 'NIH HEAL MME Online Calculator'\n<https://research-mme.wakehealth.edu/api> API or replicate API\ncalculations on the user's local machine from the comfort of\n'R'. Creation of the 'NIH HEAL MME Online Calculator' and the\nMME calculations implemented in this package are described in\nAdams MCB, Sward KA, Perkins ML, Hurley RW (2025)\n<doi:10.1097/j.pain.0000000000003529>.",
  "License": "GPL (>= 3)",
  "Config/testthat/edition": "3",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "URL": "https://kennethataylor.github.io/mmequiv/,\nhttps://github.com/KennethATaylor/mmequiv",
  "LazyData": "true",
  "BugReports": "https://github.com/KennethATaylor/mmequiv/issues",
  "Language": "en-US",
  "Config/Needs/website": "rmarkdown",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-11-17 09:11:52 UTC",
    "User": "root"
  },
  "Author": "Kenneth A. Taylor [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-3205-9280>)",
  "Maintainer": "Kenneth A. Taylor <kenneth.taylor.dpt@gmail.com>",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://cranhaven.r-universe.dev",
  "Date/Publication": "2026-11-17 01:02:00 UTC",
  "RemoteUrl": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "RemoteRef": "package/mmequiv",
  "RemoteSha": "5925aebb86d8dd8578475edb308873e5e7330faa",
  "RemoteSubdir": "mmequiv",
  "_user": "cranhaven",
  "_type": "src",
  "_file": "mmequiv_1.0.0.tar.gz",
  "_fileid": "https://r2.ropensci.org/e071d6f4ce5a6c12bcff38f738d114db370e9c5ef4e83579a5b4709c0f5a74fe",
  "_filesize": 209507,
  "_sha256": "e071d6f4ce5a6c12bcff38f738d114db370e9c5ef4e83579a5b4709c0f5a74fe",
  "_expires": "2027-02-25T09:14:37.000Z",
  "_created": "2026-11-17T09:11:52.000Z",
  "_published": "2026-11-17T09:14:38.611Z",
  "_upstream": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "_status": "success",
  "_maintainer": {
    "name": "Kenneth A. Taylor",
    "email": "kenneth.taylor.dpt@gmail.com",
    "login": "kennethataylor",
    "orcid": "0000-0002-3205-9280",
    "description": "",
    "uuid": 110407869
  },
  "_jobs": [
    {
      "job": 133936519693,
      "time": 128,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14314487417"
    },
    {
      "job": 133936519732,
      "time": 120,
      "config": "linux-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14315156908"
    },
    {
      "job": 133936519603,
      "time": 107,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14315046541"
    },
    {
      "job": 133936519719,
      "time": 97,
      "config": "macos-release-arm64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14314757077"
    },
    {
      "job": 133934921456,
      "time": 181,
      "config": "source",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14314034098"
    },
    {
      "job": 133936519717,
      "time": 94,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "14314023421"
    },
    {
      "job": 133936520029,
      "time": 73,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "14313958838"
    },
    {
      "job": 133936519727,
      "time": 71,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "14314388324"
    },
    {
      "job": 133936519796,
      "time": 75,
      "config": "windows-release-x86_64",
      "r": "4.6.2",
      "check": "OK",
      "artifact": "14313939625"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cranhaven/actions/runs/44052878675",
  "_commit": {
    "id": "5925aebb86d8dd8578475edb308873e5e7330faa",
    "author": "GitHub Action <action@github.com>",
    "committer": "GitHub Action <action@github.com>",
    "message": "Add mmequiv to CRANhaven, because archived on 2026-11-17 01:02:00 +0000\n",
    "time": 1794877320
  },
  "_distro": "resolute",
  "_host": "GitHub-Actions",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "httptest2",
      "version": ">= 1.1.0",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "cranhaven",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-47",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "archived",
    "packages",
    "r-universe"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "henrikbengtsson",
      "count": 183,
      "uuid": 1616850
    }
  ],
  "_userbio": {
    "uuid": 161993010,
    "type": "organization",
    "name": "cranhaven",
    "followers": 3,
    "description": "CRANhaven - Repository for Recently Archived CRAN Packages"
  },
  "_downloads": {
    "count": 418,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/mmequiv"
  },
  "_devurl": "https://github.com/kennethataylor/mmequiv",
  "_pkgdown": "https://kennethataylor.github.io/mmequiv/",
  "_searchresults": 3,
  "_rbuild": "4.6.2",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/manual.pdf",
    "extra/mmequiv.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md"
  ],
  "_homeurl": "https://github.com/kennethataylor/mmequiv",
  "_realowner": "kennethataylor",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.1.1",
      "date": "2025-04-17"
    },
    {
      "version": "1.0.0",
      "date": "2025-05-19"
    }
  ],
  "_exports": [
    "calculate_mme",
    "calculate_mme_df",
    "calculate_mme_local",
    "get_med_list",
    "search_meds"
  ],
  "_datasets": [
    {
      "name": "opioid_trial",
      "title": "Opioid Trial Data",
      "object": "opioid_trial",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "patient_id",
        "medication_name",
        "dose",
        "doses_per_24_hours",
        "days_of_medication",
        "therapy_days",
        "observation_window_days",
        "therapy_days_without",
        "observation_window_days_without"
      ],
      "rows": 2371,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "calculate_mme.data.frame",
      "title": "Calculate morphine milligram equivalents (MME) with a 'data.frame' or tibble",
      "topics": [
        "calculate_mme.data.frame",
        "calculate_mme.tbl_df"
      ]
    },
    {
      "page": "calculate_mme.list",
      "title": "Calculate morphine milligram equivalents (MME) for a single study participant",
      "topics": [
        "calculate_mme.list"
      ]
    },
    {
      "page": "get_med_list",
      "title": "Retrieve full opioid medication list",
      "topics": [
        "get_med_list"
      ]
    },
    {
      "page": "opioid_trial",
      "title": "Opioid Trial Data",
      "topics": [
        "opioid_trial"
      ]
    },
    {
      "page": "search_meds",
      "title": "Search opioid medication list",
      "topics": [
        "search_meds"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cranhaven/cranhaven.r-universe.dev/raw/package/mmequiv/mmequiv/man/figures/logo.png",
  "_readme": "https://github.com/cranhaven/cranhaven.r-universe.dev/raw/package/mmequiv/mmequiv/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "glue",
    "httr2",
    "lifecycle",
    "magrittr",
    "openssl",
    "R6",
    "rlang",
    "sys",
    "vctrs",
    "withr"
  ],
  "_score": 2.3979400086720375,
  "_indexed": false,
  "_nocasepkg": "mmequiv",
  "_universes": [
    "cranhaven"
  ],
  "_indexurl": "https://kennethataylor.r-universe.dev/mmequiv",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-11-17T09:13:53.000Z",
      "distro": "resolute",
      "commit": "5925aebb86d8dd8578475edb308873e5e7330faa",
      "fileid": "https://r2.ropensci.org/e92a104ecd7c972bed049fffead82ec86d3a8fa969c9f252c18493607c443cb6",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/44052878675"
    },
    {
      "r": "4.6.2",
      "os": "linux",
      "version": "1.0.0",
      "date": "2026-11-17T09:13:47.000Z",
      "distro": "resolute",
      "commit": "5925aebb86d8dd8578475edb308873e5e7330faa",
      "fileid": "https://r2.ropensci.org/8ebfa9b82418019895b613b3b7dbf7c08a7852dcbded36cdfc23461a2df5de5c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/44052878675"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-11-17T09:13:39.000Z",
      "commit": "5925aebb86d8dd8578475edb308873e5e7330faa",
      "fileid": "https://r2.ropensci.org/9240377004ce6a12103317c9dee26bf76e5e55c162d0f5234dfa8101087734f4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/44052878675"
    },
    {
      "r": "4.6.2",
      "os": "mac",
      "version": "1.0.0",
      "date": "2026-11-17T09:13:29.000Z",
      "commit": "5925aebb86d8dd8578475edb308873e5e7330faa",
      "fileid": "https://r2.ropensci.org/b0fa23ed7b541a9572cf60547889ef4f86b880e79e36bf9ef334fcae8d9cfb79",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/44052878675"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.0",
      "date": "2026-11-17T09:13:45.000Z",
      "commit": "5925aebb86d8dd8578475edb308873e5e7330faa",
      "fileid": "https://r2.ropensci.org/04519ad1667de0072af28c61df535aa394da1237fba0842b84fc84eed23178ac",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/44052878675"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-11-17T09:12:55.000Z",
      "commit": "5925aebb86d8dd8578475edb308873e5e7330faa",
      "fileid": "https://r2.ropensci.org/be610227f2ce08c122d799f497e17f45f66f0cd5e0c583953179133a8303ab3b",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/44052878675"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-11-17T09:12:58.000Z",
      "commit": "5925aebb86d8dd8578475edb308873e5e7330faa",
      "fileid": "https://r2.ropensci.org/d05abaea557fe22d5f7a514bdd375a8b62a51e9264a104c977ff6fc3036095e0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/44052878675"
    },
    {
      "r": "4.6.2",
      "os": "win",
      "version": "1.0.0",
      "date": "2026-11-17T09:12:56.000Z",
      "commit": "5925aebb86d8dd8578475edb308873e5e7330faa",
      "fileid": "https://r2.ropensci.org/220b7dd90696ba384ce10895ff3ae2f89ac9be2410b4dd9e7464d0fd431e41e5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/44052878675"
    }
  ]
}