{
  "_id": "6a10ad45acfb0bcc41cc0aa0",
  "Package": "harmBounds",
  "Type": "Package",
  "Title": "Harm Boundaries for Clinical Trials",
  "Version": "0.4.0",
  "Author": "Yunda, Lukas",
  "Maintainer": "Lukas Bütikofer <lukas.buetikofer@unibe.ch>",
  "Description": "The harmBounds package calculates stopping probabilities,\ndefines stopping boundaries and generates plots for safety\nmonitoring using an event based approach.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "URL": "https://github.com/dcr-unibe-ch/harmBounds",
  "BugReports": "https://github.com/dcr-unibe-ch/harmBounds/issues",
  "Config/testthat/edition": "3",
  "Repository": "https://ctu-bern.r-universe.dev",
  "Date/Publication": "2026-03-23 17:02:53 UTC",
  "RemoteUrl": "https://github.com/CTU-Bern/harmBounds",
  "RemoteRef": "HEAD",
  "RemoteSha": "9a751ecb6e470dec1ee81bebac5b047c0cd16d69",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-22 18:54:35 UTC",
    "User": "root"
  },
  "MD5sum": "87a3b33ce8a0c0d552e5a89effa8d2b8",
  "_user": "ctu-bern",
  "_type": "src",
  "_file": "harmBounds_0.4.0.tar.gz",
  "_fileid": "d067a7306305855433a41a447b958cb77d0d29797eaface76d2ab34331baf24f",
  "_filesize": 628232,
  "_sha256": "d067a7306305855433a41a447b958cb77d0d29797eaface76d2ab34331baf24f",
  "_created": "2026-05-22T18:54:35.000Z",
  "_published": "2026-05-22T19:23:49.715Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 77443682496,
      "time": 131,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7168235483"
    },
    {
      "job": 77443682501,
      "time": 119,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7168231284"
    },
    {
      "job": 77443682552,
      "time": 93,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7168620826"
    },
    {
      "job": 77443682513,
      "time": 93,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7168611998"
    },
    {
      "job": 77442996896,
      "time": 162,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7168119935"
    },
    {
      "job": 77443682521,
      "time": 123,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7168232190"
    },
    {
      "job": 77443682512,
      "time": 102,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7168228275"
    },
    {
      "job": 77443682569,
      "time": 95,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7168226508"
    },
    {
      "job": 77443682511,
      "time": 99,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7168225697"
    }
  ],
  "_buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/26277552224",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/CTU-Bern/harmBounds",
  "_commit": {
    "id": "9a751ecb6e470dec1ee81bebac5b047c0cd16d69",
    "author": "Alan Haynes <aghaynes@users.noreply.github.com>",
    "committer": "GitHub <noreply@github.com>",
    "message": "Add DCR-R-CMD-CHECK workflow",
    "time": 1774285373
  },
  "_maintainer": {
    "name": "Lukas Bütikofer",
    "email": "lukas.buetikofer@unibe.ch",
    "login": "lbueti",
    "description": "",
    "uuid": 54433807
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "ctu-bern",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-28",
      "n": 4
    },
    {
      "week": "2025-32",
      "n": 1
    },
    {
      "week": "2025-33",
      "n": 2
    },
    {
      "week": "2025-40",
      "n": 3
    },
    {
      "week": "2025-44",
      "n": 5
    },
    {
      "week": "2025-47",
      "n": 4
    },
    {
      "week": "2026-11",
      "n": 2
    },
    {
      "week": "2026-13",
      "n": 1
    }
  ],
  "_tags": [],
  "_stars": 1,
  "_contributors": [
    {
      "user": "lbueti",
      "count": 13,
      "uuid": 54433807
    },
    {
      "user": "aghaynes",
      "count": 8,
      "uuid": 6594028
    }
  ],
  "_userbio": {
    "uuid": 45794307,
    "type": "organization",
    "name": "CTU Bern",
    "description": "CTU Bern is the Clinical Trials Unit of the Faculty of Medicine and the Department of Clinical Research of the University of Bern"
  },
  "_downloads": {
    "count": 0,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/harmBounds"
  },
  "_devurl": "https://github.com/dcr-unibe-ch/harmbounds",
  "_searchresults": 2,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/harmBounds.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_cranurl": false,
  "_exports": [
    "absstopPlot",
    "convertRisks",
    "cumstopPlot",
    "findbound",
    "getAlphaPerTest",
    "getHarmBound",
    "harmboundPlot",
    "opcharNPlot",
    "opcharStopPlot",
    "simSafetyStop"
  ],
  "_help": [
    {
      "page": "absstopPlot",
      "title": "Plot absolute stopping probs",
      "topics": [
        "absstopPlot"
      ]
    },
    {
      "page": "convertRisks",
      "title": "Convert the proportion of events in the intervention groups to risk differences and ratios and vice versa.",
      "topics": [
        "convertRisks"
      ]
    },
    {
      "page": "cumstopPlot",
      "title": "Plot cumulative stopping probs",
      "topics": [
        "cumstopPlot"
      ]
    },
    {
      "page": "findbound",
      "title": "Find stopping boundary via binomial exact tests",
      "topics": [
        "findbound"
      ]
    },
    {
      "page": "getAlphaPerTest",
      "title": "getAlphaPerTest",
      "topics": [
        "getAlphaPerTest"
      ]
    },
    {
      "page": "getHarmBound",
      "title": "Harm boundaries for safety testing",
      "topics": [
        "getHarmBound"
      ]
    },
    {
      "page": "harmboundPlot",
      "title": "Plot harmbounds and the observed events",
      "topics": [
        "harmboundPlot"
      ]
    },
    {
      "page": "opcharNPlot",
      "title": "Plot expected number of events",
      "topics": [
        "opcharNPlot"
      ]
    },
    {
      "page": "opcharStopPlot",
      "title": "Plot cumulative stopping probability by hypothesis",
      "topics": [
        "opcharStopPlot"
      ]
    },
    {
      "page": "plot.harmbound",
      "title": "Plot method for harmbound objects produced by 'getHarmBound'",
      "topics": [
        "plot.harmbound"
      ]
    },
    {
      "page": "simSafetyStop",
      "title": "Simulate safety stopping values. The effect can be given as proportion of events in the experimental group (pH1), the risk difference (rdH1), risk ratio (rrH1) or odds ratio (orH1).",
      "topics": [
        "simSafetyStop"
      ]
    }
  ],
  "_readme": "https://github.com/CTU-Bern/harmBounds/raw/HEAD/README.md",
  "_rundeps": [
    "cli",
    "cpp11",
    "dplyr",
    "farver",
    "generics",
    "ggplot2",
    "glue",
    "gtable",
    "isoband",
    "labeling",
    "lifecycle",
    "magrittr",
    "pillar",
    "pkgconfig",
    "R6",
    "RColorBrewer",
    "rlang",
    "S7",
    "scales",
    "tibble",
    "tidyselect",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr"
  ],
  "_score": 2.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "harmbounds",
  "_universes": [
    "ctu-bern",
    "lbueti",
    "dcr-unibe-ch"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-05-22T19:00:55.000Z",
      "distro": "noble",
      "commit": "9a751ecb6e470dec1ee81bebac5b047c0cd16d69",
      "fileid": "6085e691f0ed4441f5e5dc7e5a2bc346cebdf853910155fef39f295c74b64253",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/26277552224"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-05-22T19:00:44.000Z",
      "distro": "noble",
      "commit": "9a751ecb6e470dec1ee81bebac5b047c0cd16d69",
      "fileid": "3ec5aa8e0941441ffb278aa5b00211fcba136328e9164802819dde37c198d002",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/26277552224"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-05-22T19:23:09.000Z",
      "commit": "9a751ecb6e470dec1ee81bebac5b047c0cd16d69",
      "fileid": "5757bd0473f67c0ec6c3bfc14ac6884ef054aae1bcc480f4952a1f2f4274b3cf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/26277552224"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-05-22T19:22:38.000Z",
      "commit": "9a751ecb6e470dec1ee81bebac5b047c0cd16d69",
      "fileid": "b0d97cb3973631ee0987139a5e0dab137bc893b5c9229a6e8814008318489378",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/26277552224"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0",
      "date": "2026-05-22T19:01:14.000Z",
      "commit": "9a751ecb6e470dec1ee81bebac5b047c0cd16d69",
      "fileid": "7ab7db61b1c565ae07192dab3e0a2842f61cea912b9b33f86226495678ff0f04",
      "status": "success",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/26277552224"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-05-22T19:00:18.000Z",
      "commit": "9a751ecb6e470dec1ee81bebac5b047c0cd16d69",
      "fileid": "c2d365aa900033afeea9d885c2e4ac0a0b1e60466d137863390fd81d408da0e2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/26277552224"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-05-22T19:00:19.000Z",
      "commit": "9a751ecb6e470dec1ee81bebac5b047c0cd16d69",
      "fileid": "c87342187c519be5fbeee4b2eeada84899a06a01dbf5a09fd0516ea5e1acabad",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/26277552224"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-05-22T19:00:17.000Z",
      "commit": "9a751ecb6e470dec1ee81bebac5b047c0cd16d69",
      "fileid": "1e1accc25c83fb7d4504fc6bcabb5b1d98abccbcd0ed585dc9b1c4db45ecf1b8",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/ctu-bern/actions/runs/26277552224"
    }
  ]
}