{
  "_id": "6a1f3a72b401979e73428fb5",
  "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": "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-05-06 09:21:28 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>",
  "MD5sum": "42e744e8d0197dcd850569efeba70b01",
  "_user": "sempwn",
  "_type": "src",
  "_file": "bennu_0.3.1.tar.gz",
  "_fileid": "810dcef5cfd231ce9a0360fbb03c2c50e1acf89458ac3907a995780d525299aa",
  "_filesize": 1858939,
  "_sha256": "810dcef5cfd231ce9a0360fbb03c2c50e1acf89458ac3907a995780d525299aa",
  "_created": "2026-05-06T09:21:28.000Z",
  "_published": "2026-06-02T20:17:53.994Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79163419897,
      "time": 296,
      "config": "linux-devel-arm64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6826784411"
    },
    {
      "job": 79163419521,
      "time": 294,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6826785582"
    },
    {
      "job": 79163420145,
      "time": 277,
      "config": "linux-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6826777835"
    },
    {
      "job": 79163419723,
      "time": 298,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6826787104"
    },
    {
      "job": 79163420022,
      "time": 303,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6826777412"
    },
    {
      "job": 79163420197,
      "time": 414,
      "config": "macos-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6826815395"
    },
    {
      "job": 79163419884,
      "time": 296,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6826776123"
    },
    {
      "job": 79163419432,
      "time": 486,
      "config": "macos-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6826842087"
    },
    {
      "job": 79163419072,
      "time": 341,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6826685727"
    },
    {
      "job": 79163418965,
      "time": 168,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "FAIL",
      "artifact": ""
    },
    {
      "job": 79163419506,
      "time": 299,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "6826784899"
    },
    {
      "job": 79163420119,
      "time": 345,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "6826799188"
    },
    {
      "job": 79163419984,
      "time": 417,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "6826821798"
    }
  ],
  "_buildurl": "https://github.com/r-universe/sempwn/actions/runs/25426580221",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_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",
    "uuid": 13178092,
    "orcid": "0000-0003-4785-8998"
  },
  "_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-30",
      "n": 3
    },
    {
      "week": "2025-41",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "bayesian-data-analysis",
    "naloxone",
    "stan",
    "cpp"
  ],
  "_stars": 4,
  "_contributors": [
    {
      "user": "sempwn",
      "count": 112,
      "uuid": 13178092
    },
    {
      "user": "andrjohns",
      "count": 2,
      "uuid": 27717896
    }
  ],
  "_userbio": {
    "uuid": 13178092,
    "type": "user",
    "name": "Mike Irvine",
    "description": "Math Modelling & Data science in epidemiology and public health."
  },
  "_downloads": {
    "count": 230,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bennu"
  },
  "_devurl": "https://github.com/sempwn/bennu",
  "_pkgdown": "https://sempwn.github.io/bennu/",
  "_searchresults": 13,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bennu.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/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",
    "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": "libstdc++",
      "package": "libstdc++6",
      "source": "gcc",
      "version": "14.2.0-4ubuntu2~24.04.1",
      "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": 5.017033339298781,
  "_indexed": true,
  "_nocasepkg": "bennu",
  "_universes": [
    "sempwn"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-05-06T09:25:06.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "44e3cee4181270b5e88316b4751c891d6542640e",
      "fileid": "8684b8723e4d238876c27635882b14b87af53c79e9bbab6d56c1b9ec03b05b8f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sempwn/actions/runs/25426580221"
    },
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-05-06T09:25:13.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "44e3cee4181270b5e88316b4751c891d6542640e",
      "fileid": "62eb3c55af7956e3297ce3dce3a11811560cd7ac0166e3f46d4f17c8e5f214db",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sempwn/actions/runs/25426580221"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-05-06T09:25:01.000Z",
      "distro": "noble",
      "arch": "aarch64",
      "commit": "44e3cee4181270b5e88316b4751c891d6542640e",
      "fileid": "4b88019c02b8f8297020680f19e61149b920cc13f7a1c6130ae202b335b5cf28",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sempwn/actions/runs/25426580221"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.3.1",
      "date": "2026-05-06T09:25:17.000Z",
      "distro": "noble",
      "arch": "x86_64",
      "commit": "44e3cee4181270b5e88316b4751c891d6542640e",
      "fileid": "c1cec4e21c06563c23f824da27b2d51b5c3f5096c20cbb17247f734c0a174523",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sempwn/actions/runs/25426580221"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-05-06T09:24:55.000Z",
      "arch": "aarch64",
      "commit": "44e3cee4181270b5e88316b4751c891d6542640e",
      "fileid": "e64bb57b440bbd2aaead9dff68e5279ad0e7412c5152fa6f53173f192fa61886",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sempwn/actions/runs/25426580221"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-05-06T09:25:58.000Z",
      "arch": "x86_64",
      "commit": "44e3cee4181270b5e88316b4751c891d6542640e",
      "fileid": "67b439b9ae8779ee77e442cb3a69e503e53c28199badab3b94bf08691163b1ed",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sempwn/actions/runs/25426580221"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-05-06T09:24:57.000Z",
      "arch": "aarch64",
      "commit": "44e3cee4181270b5e88316b4751c891d6542640e",
      "fileid": "a110a5552e0027673456c14b2a0de8d672c1ccec635d69ea7775dcc47c06c0c5",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sempwn/actions/runs/25426580221"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.3.1",
      "date": "2026-05-06T09:26:54.000Z",
      "arch": "x86_64",
      "commit": "44e3cee4181270b5e88316b4751c891d6542640e",
      "fileid": "c1553133785a30f4dc64dae5e4f2de00a891f7be4c308d07d86003029fcf9913",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sempwn/actions/runs/25426580221"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-05-06T09:24:10.000Z",
      "arch": "x86_64",
      "commit": "44e3cee4181270b5e88316b4751c891d6542640e",
      "fileid": "66485a3ab6b61847b243c3387a854ce6c16ed3be0e437b160f79e6cc4d66480f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sempwn/actions/runs/25426580221"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-05-06T09:24:39.000Z",
      "arch": "x86_64",
      "commit": "44e3cee4181270b5e88316b4751c891d6542640e",
      "fileid": "4a90c53f944463306d4621fd54c2683900899a834f0890f14fa47b4eb3f59ba9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sempwn/actions/runs/25426580221"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.3.1",
      "date": "2026-05-06T09:24:40.000Z",
      "arch": "x86_64",
      "commit": "44e3cee4181270b5e88316b4751c891d6542640e",
      "fileid": "ee2edf6bba6ffcdfd08572393ab651b3d4f56b46752f08e60d2f8fbd35bc88a7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/sempwn/actions/runs/25426580221"
    }
  ]
}