{
  "_id": "6ac0d7dc91601a2ad29997a2",
  "Package": "bennu",
  "Title": "Bayesian Estimation of Naloxone Kit Number Under-Reporting",
  "Version": "0.3.1",
  "Authors@R": "c(\nperson(\"Mike\", \"Irvine\", , \"mike.irvine@bccdc.ca\", role = c(\"aut\", \"cre\", \"cph\"),\ncomment = c(ORCID = \"0000-0003-4785-8998\")),\nperson(\"Samantha\", \"Bardwell\", role = \"ctb\"),\nperson(\"Andrew\", \"Johnson\", role = \"ctb\")\n)",
  "Description": "Bayesian model and associated tools for generating\nestimates of total naloxone kit numbers distributed and used\nfrom naloxone kit orders data. Provides functions for\ngenerating simulated data of naloxone kit use and functions for\ngenerating samples from the posterior.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "LazyData": "true",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Biarch": "true",
  "SystemRequirements": "GNU make",
  "Config/testthat/edition": "3",
  "URL": "https://sempwn.github.io/bennu/",
  "BugReports": "https://github.com/sempwn/bennu/issues",
  "VignetteBuilder": "knitr",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://sempwn.r-universe.dev",
  "Date/Publication": "2025-10-08 21:55:24 UTC",
  "RemoteUrl": "https://github.com/sempwn/bennu",
  "RemoteRef": "HEAD",
  "RemoteSha": "44e3cee4181270b5e88316b4751c891d6542640e",
  "NeedsCompilation": "yes",
  "Packaged": {
    "Date": "2026-10-03 09:31:21 UTC",
    "User": "root"
  },
  "Author": "Mike Irvine [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0003-4785-8998>),\nSamantha Bardwell [ctb],\nAndrew Johnson [ctb]",
  "Maintainer": "Mike Irvine <mike.irvine@bccdc.ca>",
  "_user": "sempwn",
  "_type": "src",
  "_file": "bennu_0.3.1.tar.gz",
  "_fileid": "https://r2.ropensci.org/71c383d80b1f38e9d1110d630edf49baf2c1aa690a4f69aceea1d9cb1224e1af",
  "_filesize": 1872260,
  "_sha256": "71c383d80b1f38e9d1110d630edf49baf2c1aa690a4f69aceea1d9cb1224e1af",
  "_expires": "2027-01-11T10:24:26.000Z",
  "_created": "2026-10-03T09:31:21.000Z",
  "_published": "2026-10-03T10:24:28.025Z",
  "_jobs": [
    {
      "job": 111175517121,
      "time": 214,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11270251804"
    },
    {
      "job": 111175517142,
      "time": 209,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11270996595"
    },
    {
      "job": 111175517129,
      "time": 243,
      "config": "linux-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11270436650"
    },
    {
      "job": 111175517092,
      "time": 272,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11270291845"
    },
    {
      "job": 111175517174,
      "time": 361,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11270831965"
    },
    {
      "job": 111175517157,
      "time": 638,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11270902364"
    },
    {
      "job": 111175517145,
      "time": 225,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11270946629"
    },
    {
      "job": 111175517133,
      "time": 465,
      "config": "macos-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11271276529"
    },
    {
      "job": 111174447767,
      "time": 410,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11271111164"
    },
    {
      "job": 111175517077,
      "time": 152,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "11270197063"
    },
    {
      "job": 111175517140,
      "time": 444,
      "config": "windows-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11270917098"
    },
    {
      "job": 111175517167,
      "time": 315,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "11270792052"
    },
    {
      "job": 111175517112,
      "time": 262,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "11271246245"
    },
    {
      "job": 111175517124,
      "time": 189,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "11270632195"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/sempwn/actions/runs/37113005726",
  "_status": "success",
  "_upstream": "https://github.com/sempwn/bennu",
  "_commit": {
    "id": "44e3cee4181270b5e88316b4751c891d6542640e",
    "author": "Mike Irvine <mike.irvine@bccdc.ca>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Merge pull request #45 from sempwn/44-failure-with-dev-stringr\n\nRe #45 Updates for stringr package fix and removing configure CRLF issue.",
    "time": 1759960524
  },
  "_maintainer": {
    "name": "Mike Irvine",
    "email": "mike.irvine@bccdc.ca",
    "login": "sempwn",
    "description": "Math Modelling & Data science in epidemiology and public health.",
    "uuid": 13178092,
    "orcid": "0000-0003-4785-8998"
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.4.0",
      "role": "Depends"
    },
    {
      "package": "BH",
      "version": ">= 1.66.0",
      "role": "LinkingTo"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppEigen",
      "version": ">= 0.3.3.3.0",
      "role": "LinkingTo"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "LinkingTo"
    },
    {
      "package": "rstan",
      "version": ">= 2.26.0",
      "role": "LinkingTo"
    },
    {
      "package": "StanHeaders",
      "version": ">= 2.26.0",
      "role": "LinkingTo"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "generics",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "magrittr",
      "role": "Imports"
    },
    {
      "package": "methods",
      "role": "Imports"
    },
    {
      "package": "Rcpp",
      "version": ">= 0.12.0",
      "role": "Imports"
    },
    {
      "package": "RcppParallel",
      "version": ">= 5.0.1",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "role": "Imports"
    },
    {
      "package": "rstan",
      "version": ">= 2.26.0",
      "role": "Imports"
    },
    {
      "package": "rstantools",
      "version": ">= 2.5.0",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "tidybayes",
      "role": "Imports"
    },
    {
      "package": "tidyr",
      "role": "Imports"
    },
    {
      "package": "bayesplot",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "latex2exp",
      "role": "Suggests"
    },
    {
      "package": "posterior",
      "role": "Suggests"
    },
    {
      "package": "progress",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "stringr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "sempwn",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-41",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "bayesian-data-analysis",
    "naloxone",
    "stan",
    "onetbb",
    "cpp"
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "sempwn",
      "count": 112,
      "uuid": 13178092
    },
    {
      "user": "andrjohns",
      "count": 2,
      "uuid": 27717896
    }
  ],
  "_userbio": {
    "uuid": 13178092,
    "type": "user",
    "name": "Mike Irvine",
    "followers": 49,
    "description": "Math Modelling & Data science in epidemiology and public health."
  },
  "_downloads": {
    "count": 432,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bennu"
  },
  "_devurl": "https://github.com/sempwn/bennu",
  "_pkgdown": "https://sempwn.github.io/bennu/",
  "_searchresults": 15,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/bennu.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",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/sempwn/bennu",
  "_realowner": "sempwn",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.2.1",
      "date": "2023-06-23"
    },
    {
      "version": "0.3.0",
      "date": "2023-09-14"
    },
    {
      "version": "0.3.1",
      "date": "2025-07-25"
    },
    {
      "version": "0.3.2",
      "date": "2025-10-09"
    }
  ],
  "_exports": [
    "%>%",
    "est_naloxone",
    "est_naloxone_vec",
    "generate_model_data",
    "kit_summary_table",
    "model_random_walk_data",
    "plot_kit_use"
  ],
  "_datasets": [
    {
      "name": "experimental_validation_data",
      "title": "Experimental validation results",
      "object": "experimental_validation_data",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        ".variable",
        "p50",
        "p25",
        "p75",
        "p05",
        "p95",
        "true_value",
        "experiment"
      ],
      "rows": 200,
      "table": true,
      "tojson": true
    },
    {
      "name": "missing_data_validation",
      "title": "Missing data experimental validation results",
      "object": "missing_data_validation",
      "class": [
        "tbl_df",
        "tbl",
        "data.frame"
      ],
      "fields": [
        "p50",
        "p25",
        "p75",
        "p05",
        "p95",
        "reporting_freq"
      ],
      "rows": 10,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "bennu-package",
      "title": "The 'bennu' package.",
      "topics": [
        "bennu-package",
        "bennu"
      ]
    },
    {
      "page": "est_naloxone",
      "title": "Run Bayesian estimation of naloxone number under-reporting",
      "concept": [
        "inference"
      ],
      "topics": [
        "est_naloxone"
      ]
    },
    {
      "page": "est_naloxone_vec",
      "title": "Run Bayesian estimation of naloxone number under-reporting",
      "concept": [
        "inference"
      ],
      "topics": [
        "est_naloxone_vec"
      ]
    },
    {
      "page": "experimental_validation_data",
      "title": "Experimental validation results",
      "concept": [
        "validation data"
      ],
      "topics": [
        "experimental_validation_data"
      ]
    },
    {
      "page": "generate_model_data",
      "title": "generate model data for testing purposes",
      "concept": [
        "data generation"
      ],
      "topics": [
        "generate_model_data"
      ]
    },
    {
      "page": "kit_summary_table",
      "title": "Summarize model fit",
      "concept": [
        "plots"
      ],
      "topics": [
        "kit_summary_table"
      ]
    },
    {
      "page": "missing_data_validation",
      "title": "Missing data experimental validation results",
      "concept": [
        "validation data"
      ],
      "topics": [
        "missing_data_validation"
      ]
    },
    {
      "page": "model_random_walk_data",
      "title": "generate model data for testing purposes",
      "concept": [
        "data generation"
      ],
      "topics": [
        "model_random_walk_data"
      ]
    },
    {
      "page": "plot_kit_use",
      "title": "Plot of probability of naloxone kit use",
      "concept": [
        "plots"
      ],
      "topics": [
        "plot_kit_use"
      ]
    }
  ],
  "_pkglogo": "https://github.com/sempwn/bennu/raw/HEAD/man/figures/logo.png",
  "_readme": "https://github.com/sempwn/bennu/raw/HEAD/README.md",
  "_rundeps": [
    "abind",
    "arrayhelpers",
    "backports",
    "BH",
    "callr",
    "checkmate",
    "cli",
    "coda",
    "cpp11",
    "desc",
    "distributional",
    "dplyr",
    "farver",
    "generics",
    "ggdist",
    "ggplot2",
    "glue",
    "gridExtra",
    "gtable",
    "inline",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "loo",
    "magrittr",
    "matrixStats",
    "numDeriv",
    "otel",
    "pillar",
    "pkgbuild",
    "pkgconfig",
    "posterior",
    "processx",
    "ps",
    "purrr",
    "quadprog",
    "QuickJSR",
    "R6",
    "RColorBrewer",
    "Rcpp",
    "RcppEigen",
    "RcppParallel",
    "rlang",
    "rstan",
    "rstantools",
    "S7",
    "scales",
    "StanHeaders",
    "stringi",
    "stringr",
    "svUnit",
    "tensorA",
    "tibble",
    "tidybayes",
    "tidyr",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_sysdeps": [
    {
      "shlib": "libtbb",
      "package": "libtbb12",
      "headers": "libtbb-dev",
      "source": "onetbb",
      "version": "2022.3.0-2",
      "name": "onetbb",
      "homepage": "https://uxlfoundation.github.io/oneTBB/",
      "description": "parallelism library for C++ - runtime files"
    },
    {
      "shlib": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "16-20260322-1ubuntu1",
      "name": "c++",
      "homepage": "http://gcc.gnu.org/",
      "description": "GNU Standard C++ Library v3"
    }
  ],
  "_vignettes": [
    {
      "source": "Introduction.Rmd",
      "filename": "Introduction.html",
      "title": "Introduction",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Incorporating different priors",
        "Random walk of order 2 model",
        "fit missing distribution data",
        "Change scale of data"
      ],
      "created": "2023-01-03 17:43:45",
      "modified": "2024-03-14 22:22:57",
      "commits": 7
    },
    {
      "source": "simulation_validation_experiments.Rmd",
      "filename": "simulation_validation_experiments.html",
      "title": "Simulation Validation Experiments",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Simulated data inference",
        "Missing data inference"
      ],
      "created": "2024-04-19 23:27:23",
      "modified": "2024-04-19 23:27:23",
      "commits": 1
    }
  ],
  "_score": 4.778151250383644,
  "_indexed": true,
  "_nocasepkg": "bennu",
  "_universes": [
    "sempwn"
  ],
  "_binaries": [
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-09-03T10:21:32.000Z",
      "arch": "aarch64",
      "commit": "44e3cee4181270b5e88316b4751c891d6542640e",
      "fileid": "https://r2.ropensci.org/c615d14469f08cc793eb86ff3fa1ac4aeb762c0ebf74e526cd5892b63f851560",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sempwn/actions/runs/33741904335"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-10-03T09:34:38.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "44e3cee4181270b5e88316b4751c891d6542640e",
      "fileid": "https://r2.ropensci.org/c6b2fc20363e5f0c1c503663f8ddbd58b990f7d1d486e09dacd93742b72349d1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sempwn/actions/runs/37113005726"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-10-03T09:34:57.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "44e3cee4181270b5e88316b4751c891d6542640e",
      "fileid": "https://r2.ropensci.org/f370d3d33cd68342dcb5e40be7e059902001c6927e41065ee499df62281a4384",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sempwn/actions/runs/37113005726"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-10-03T09:35:10.000Z",
      "distro": "resolute",
      "arch": "aarch64",
      "commit": "44e3cee4181270b5e88316b4751c891d6542640e",
      "fileid": "https://r2.ropensci.org/4701bba63e03df3153f498a4383d56cf8b6d065ae099cec8b811ab906a85d7eb",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sempwn/actions/runs/37113005726"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-10-03T09:35:10.000Z",
      "distro": "resolute",
      "arch": "x86_64",
      "commit": "44e3cee4181270b5e88316b4751c891d6542640e",
      "fileid": "https://r2.ropensci.org/7f279f73810c837a7a40df8de83d59f007dc8c8d9200cd7ae2b8f1e99cbd21c7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sempwn/actions/runs/37113005726"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-10-03T09:35:51.000Z",
      "arch": "aarch64",
      "commit": "44e3cee4181270b5e88316b4751c891d6542640e",
      "fileid": "https://r2.ropensci.org/2ebb275c1652496694d346c5f8915f15ae24c1db7bb483cb8b3da253db71fbbe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sempwn/actions/runs/37113005726"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-10-03T09:38:05.000Z",
      "arch": "x86_64",
      "commit": "44e3cee4181270b5e88316b4751c891d6542640e",
      "fileid": "https://r2.ropensci.org/97c24988c75937c0215ba8cad68882b1a37bdc8b6753e62c3294a14508d736ec",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sempwn/actions/runs/37113005726"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-10-03T09:34:46.000Z",
      "arch": "aarch64",
      "commit": "44e3cee4181270b5e88316b4751c891d6542640e",
      "fileid": "https://r2.ropensci.org/450eed37705a78f3f1780b26525c78f7b794fe1c12d962bd08846abceb4326c9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sempwn/actions/runs/37113005726"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-10-03T09:36:36.000Z",
      "arch": "x86_64",
      "commit": "44e3cee4181270b5e88316b4751c891d6542640e",
      "fileid": "https://r2.ropensci.org/a336f870539331c89a57150ca7e5fcfd4759c8a27606f16161c4d14a5bd70da0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sempwn/actions/runs/37113005726"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.3.1",
      "date": "2026-10-03T09:34:55.000Z",
      "arch": "emscripten",
      "commit": "44e3cee4181270b5e88316b4751c891d6542640e",
      "fileid": "https://r2.ropensci.org/b7973d4981ce98a80057c9c41941535a226a50197e127b631edd3ff9cb71c944",
      "status": "success",
      "buildurl": "https://github.com/r-universe/sempwn/actions/runs/37113005726"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-10-03T09:37:34.000Z",
      "arch": "aarch64",
      "commit": "44e3cee4181270b5e88316b4751c891d6542640e",
      "fileid": "https://r2.ropensci.org/199999e855dd1c0b9d0227088d36ec29f95a1419c8c4fb8976d9a5be249f8841",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sempwn/actions/runs/37113005726"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-10-03T09:34:03.000Z",
      "arch": "x86_64",
      "commit": "44e3cee4181270b5e88316b4751c891d6542640e",
      "fileid": "https://r2.ropensci.org/c0b81c71b4f61f625d6e857e9ce8ad33936d22e0d7f8b3337a59d21fa04bd9fe",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sempwn/actions/runs/37113005726"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-10-03T09:33:59.000Z",
      "arch": "x86_64",
      "commit": "44e3cee4181270b5e88316b4751c891d6542640e",
      "fileid": "https://r2.ropensci.org/0560a50f413202ba09dec95b6203626b39d36e57c2aec7e81226951cc3ae8466",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sempwn/actions/runs/37113005726"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-10-03T09:33:57.000Z",
      "arch": "x86_64",
      "commit": "44e3cee4181270b5e88316b4751c891d6542640e",
      "fileid": "https://r2.ropensci.org/1d3a5d1959562be23886f636f6afa58a07c7e8631321c8820845e89540613749",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sempwn/actions/runs/37113005726"
    }
  ]
}