{
  "_id": "6a1ef115b401979e734134ce",
  "Package": "bbssr",
  "Type": "Package",
  "Title": "Blinded Sample Size Re-Estimation for Binary Endpoints",
  "Version": "1.0.2",
  "Date": "2025-06-14",
  "Authors@R": "person(\"Gosuke\", \"Homma\", email = \"my.name.is.gosuke@gmail.com\", \nrole = c(\"aut\", \"cre\"))",
  "Description": "Provides comprehensive tools for blinded sample size\nre-estimation (BSSR) in two-arm clinical trials with binary\nendpoints. Unlike traditional fixed-sample designs, BSSR allows\nadaptive sample size adjustments during trials while\nmaintaining statistical integrity and study blinding.\nImplements five exact statistical tests: Pearson chi-squared,\nFisher exact, Fisher mid-p, Z-pooled exact unconditional, and\nBoschloo exact unconditional tests. Supports restricted,\nunrestricted, and weighted BSSR approaches with exact Type I\nerror control. Statistical methods based on Mehrotra et al.\n(2003) <doi:10.1111/1541-0420.00051> and Kieser (2020)\n<doi:10.1007/978-3-030-49528-2_21>.",
  "License": "MIT + file LICENSE",
  "URL": "https://github.com/gosukehommaEX/bbssr",
  "BugReports": "https://github.com/gosukehommaEX/bbssr/issues",
  "VignetteBuilder": "knitr",
  "Encoding": "UTF-8",
  "RoxygenNote": "7.3.2",
  "Roxygen": "list(markdown = TRUE)",
  "Config/testthat/edition": "3",
  "Repository": "https://gosukehommaex.r-universe.dev",
  "Date/Publication": "2025-06-18 21:37:38 UTC",
  "RemoteUrl": "https://github.com/gosukehommaex/bbssr",
  "RemoteRef": "HEAD",
  "RemoteSha": "e7021ecf088e6ca25228d9df9816ec5bd8e5b7cd",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-19 08:13:10 UTC",
    "User": "root"
  },
  "Author": "Gosuke Homma [aut, cre]",
  "Maintainer": "Gosuke Homma <my.name.is.gosuke@gmail.com>",
  "MD5sum": "bbc1f50b8647bba9aa2bec070a600842",
  "_user": "gosukehommaex",
  "_type": "src",
  "_file": "bbssr_1.0.2.tar.gz",
  "_fileid": "a5b65e3ae0f4af35fa42b43c1db98c196f77bb3e6da48a5cda9a0de93c20e125",
  "_filesize": 1393635,
  "_sha256": "a5b65e3ae0f4af35fa42b43c1db98c196f77bb3e6da48a5cda9a0de93c20e125",
  "_created": "2026-05-19T08:13:10.000Z",
  "_published": "2026-06-02T15:04:53.934Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79102864646,
      "time": 130,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7078242951"
    },
    {
      "job": 79102863132,
      "time": 129,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7078241988"
    },
    {
      "job": 79102864149,
      "time": 77,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7078225934"
    },
    {
      "job": 79102863122,
      "time": 80,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7078227361"
    },
    {
      "job": 79102862570,
      "time": 278,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7078199613"
    },
    {
      "job": 79102862348,
      "time": 109,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7361593288"
    },
    {
      "job": 79102863412,
      "time": 79,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7078226173"
    },
    {
      "job": 79102864282,
      "time": 78,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7078225676"
    },
    {
      "job": 79102863354,
      "time": 120,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7078239501"
    }
  ],
  "_buildurl": "https://github.com/r-universe/gosukehommaex/actions/runs/26084653383",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/gosukehommaex/bbssr",
  "_commit": {
    "id": "e7021ecf088e6ca25228d9df9816ec5bd8e5b7cd",
    "author": "Gosuke <my.name.is.gosuke@gmail.com>",
    "committer": "Gosuke <my.name.is.gosuke@gmail.com>",
    "message": "Completion of CRAN register.\n",
    "time": 1750282658
  },
  "_maintainer": {
    "name": "Gosuke Homma",
    "email": "my.name.is.gosuke@gmail.com",
    "login": "gosukehommaex",
    "description": "",
    "uuid": 210875127
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "fpCompare",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "dplyr",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "tibble",
      "role": "Suggests"
    },
    {
      "package": "tidyr",
      "role": "Suggests"
    },
    {
      "package": "Exact",
      "role": "Suggests"
    },
    {
      "package": "exact2x2",
      "role": "Suggests"
    },
    {
      "package": "microbenchmark",
      "role": "Suggests"
    }
  ],
  "_owner": "gosukehommaex",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-21",
      "n": 10
    },
    {
      "week": "2025-22",
      "n": 8
    },
    {
      "week": "2025-24",
      "n": 27
    },
    {
      "week": "2025-25",
      "n": 2
    }
  ],
  "_tags": [
    {
      "name": "v1.0.2-cran-resubmission",
      "date": "2025-06-17"
    }
  ],
  "_topics": [
    "binary-endpoints",
    "clinical-trials",
    "power-calculation",
    "sample-size-calculation"
  ],
  "_stars": 2,
  "_contributors": [
    {
      "user": "gosukehommaex",
      "count": 47,
      "uuid": 210875127
    }
  ],
  "_userbio": {
    "uuid": 210875127,
    "type": "user",
    "name": "gosukehommaEX"
  },
  "_downloads": {
    "count": 175,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/bbssr"
  },
  "_devurl": "https://github.com/gosukehommaex/bbssr",
  "_searchresults": 16,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/bbssr.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/gosukehommaex/bbssr",
  "_realowner": "gosukehommaex",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.2",
      "date": "2025-06-18"
    }
  ],
  "_exports": [
    "BinaryPower",
    "BinaryPowerBSSR",
    "BinaryRR",
    "BinarySampleSize"
  ],
  "_help": [
    {
      "page": "BinaryPower",
      "title": "Power Calculation for Two-Arm Trials with Binary Endpoints",
      "topics": [
        "BinaryPower"
      ]
    },
    {
      "page": "BinaryPowerBSSR",
      "title": "Power Calculation for Two-Arm Trials with Binary Endpoints Using Blinded Sample Size Re-estimation (BSSR)",
      "topics": [
        "BinaryPowerBSSR"
      ]
    },
    {
      "page": "BinaryRR",
      "title": "Rejection Region for Two-Arm Trials with Binary Endpoints",
      "topics": [
        "BinaryRR"
      ]
    },
    {
      "page": "BinarySampleSize",
      "title": "Sample Size Calculation for Two-Arm Trials with Binary Endpoints",
      "topics": [
        "BinarySampleSize"
      ]
    }
  ],
  "_readme": "https://github.com/gosukehommaex/bbssr/raw/HEAD/README.md",
  "_rundeps": [
    "fpCompare"
  ],
  "_vignettes": [
    {
      "source": "bbssr-introduction.Rmd",
      "filename": "bbssr-introduction.html",
      "title": "Introduction to bbssr: Blinded Sample Size Re-estimation for Binary Endpoints",
      "author": "Gosuke Homma",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "What is Blinded Sample Size Re-estimation?",
        "Key Advantages of BSSR",
        "Getting Started",
        "Basic Usage",
        "Power Calculation for Traditional Design",
        "Sample Size Calculation",
        "Blinded Sample Size Re-estimation (BSSR)",
        "Basic BSSR Example",
        "Comparing BSSR Design Rules",
        "Understanding the Results",
        "Design Rule Comparison",
        "Key Observations",
        "Statistical Tests Available",
        "Test Comparison Example",
        "Practical Considerations",
        "When to Use BSSR",
        "Design Choice Guidelines",
        "Next Steps"
      ],
      "created": "2025-06-13 16:10:35",
      "modified": "2025-06-14 13:22:11",
      "commits": 3
    },
    {
      "source": "bbssr-statistical-methods.Rmd",
      "filename": "bbssr-statistical-methods.html",
      "title": "Statistical Methods in bbssr",
      "author": "Gosuke Homma",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Theoretical Foundation of BSSR",
        "The Problem with Fixed Sample Sizes",
        "The BSSR Solution",
        "Mathematical Framework",
        "Exact Statistical Tests",
        "1. Pearson Chi-squared Test ('Chisq')",
        "2. Fisher Exact Test ('Fisher')",
        "3. Fisher Mid-p Test ('Fisher-midP')",
        "4. Z-pooled Exact Unconditional Test ('Z-pool')",
        "5. Boschloo Exact Unconditional Test ('Boschloo')",
        "Mathematical Relationships",
        "Test Comparison",
        "BSSR Methodology",
        "Design Approaches",
        "1. Restricted Design (restricted = TRUE)",
        "2. Unrestricted Design (restricted = FALSE)",
        "3. Weighted Design (weighted = TRUE)",
        "BSSR Implementation Example",
        "Power Calculations",
        "Traditional vs BSSR Power",
        "Practical Implementation Guidelines",
        "Choosing the Right Test",
        "Choosing the BSSR Approach",
        "Sample Size Planning",
        "Regulatory Considerations",
        "Type I Error Control",
        "Documentation Requirements",
        "Advanced Topics",
        "Multiple Allocation Ratios",
        "Sensitivity Analysis",
        "Conclusion"
      ],
      "created": "2025-06-13 16:10:35",
      "modified": "2025-06-14 13:22:11",
      "commits": 2
    },
    {
      "source": "bbssr-validation.Rmd",
      "filename": "bbssr-validation.html",
      "title": "Validation of bbssr Package Functions",
      "author": "Gosuke Homma",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Validation of BinaryPower Function",
        "Test Parameters",
        "Quick Verification Example",
        "1. Pearson Chi-squared Test",
        "2. Fisher Exact Test",
        "3. Fisher Mid-p Test",
        "4. Z-pooled Exact Unconditional Test",
        "5. Boschloo Exact Unconditional Test",
        "Performance Comparison",
        "Enhanced Computational Speed Benchmarks",
        "BinaryPower Performance Comparison",
        "Performance Visualization",
        "Speed Improvement Summary",
        "Summary of Validation Results",
        "Accuracy Validation",
        "Performance Improvements",
        "Key Advantages of bbssr",
        "Conclusion",
        "Session Information"
      ],
      "created": "2025-06-14 05:23:50",
      "modified": "2025-06-17 16:08:13",
      "commits": 3
    }
  ],
  "_score": 5.28330122870355,
  "_indexed": true,
  "_nocasepkg": "bbssr",
  "_universes": [
    "gosukehommaex"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-05-19T08:15:25.000Z",
      "distro": "noble",
      "commit": "e7021ecf088e6ca25228d9df9816ec5bd8e5b7cd",
      "fileid": "b8bbbee8ded297c6ae33943e664b53a666e7d05b2b3f2792e1e0ffce4386925c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gosukehommaex/actions/runs/26084653383"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "1.0.2",
      "date": "2026-05-19T08:15:23.000Z",
      "distro": "noble",
      "commit": "e7021ecf088e6ca25228d9df9816ec5bd8e5b7cd",
      "fileid": "77faac0a86040cccb0782e84a653be66da70db7f6599dee3c19bb842e7171892",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gosukehommaex/actions/runs/26084653383"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-05-19T08:14:38.000Z",
      "commit": "e7021ecf088e6ca25228d9df9816ec5bd8e5b7cd",
      "fileid": "0a9034365fb4051a3f2478994d180113df50ec79011acb84782b44b0afae39c2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gosukehommaex/actions/runs/26084653383"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "1.0.2",
      "date": "2026-05-19T08:14:41.000Z",
      "commit": "e7021ecf088e6ca25228d9df9816ec5bd8e5b7cd",
      "fileid": "ca049116cacd1d7f3eab6c5e039e7e84b780d5063d2d59a062faf92dfeb3dfd0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gosukehommaex/actions/runs/26084653383"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-05-19T08:14:30.000Z",
      "commit": "e7021ecf088e6ca25228d9df9816ec5bd8e5b7cd",
      "fileid": "76b6689ac49de075870982b5d82aafcc6272971314eb0ee80b6da9e84e4e82c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gosukehommaex/actions/runs/26084653383"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-05-19T08:14:28.000Z",
      "commit": "e7021ecf088e6ca25228d9df9816ec5bd8e5b7cd",
      "fileid": "99d00764dfd4996d69194b37179cf2153dd1195ff78b4250b48b362956bd720c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gosukehommaex/actions/runs/26084653383"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "1.0.2",
      "date": "2026-05-19T08:15:11.000Z",
      "commit": "e7021ecf088e6ca25228d9df9816ec5bd8e5b7cd",
      "fileid": "dd87d64671468bef83f04d278b0f4b6d7baf5972fd770c07fd702195c5b53b67",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/gosukehommaex/actions/runs/26084653383"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.0.2",
      "date": "2026-06-02T15:04:16.000Z",
      "commit": "e7021ecf088e6ca25228d9df9816ec5bd8e5b7cd",
      "fileid": "8ec9ef26644a0106814e610b2444de983d211e19f342e7548ab1abd401bcbc7a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/gosukehommaex/actions/runs/26084653383"
    }
  ]
}