basksim
Simulation-Based Calculation of Basket Trial Operating Characteristics
Description
Provides a unified syntax for the simulation-based comparison of different single-stage basket trial designs with a binary endpoint and equal sample sizes in all baskets. Methods include the designs by Baumann et al. (2025) <doi:10.1080/19466315.2024.2402275>, Schmitt and Baumann (2025) <doi:10.1080/19466315.2025.2486231>, Fujikawa et al. (2020) <doi:10.1002/bimj.201800404>, Berry et al. (2020) <doi:10.1177/1740774513497539>, and Neuenschwander et al. (2016) <doi:10.1002/pst.1730>. For the latter two designs, the functions are mostly wrappers for functions provided by the package 'bhmbasket'.
Downloads
472
Last 30 days
8187th
1.2K
Last 90 days
3K
Last year
Trend: +20.4% (30d vs prior 30d)
20
Last 30 days
61
Last 90 days
246
Last year
Trend: -4.8% (30d vs prior 30d)
CRAN Check Status
Show all 13 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check History
OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE May 17, 2026
ERROR 11 OK · 0 NOTE · 0 WARNING · 3 ERROR · 0 FAILURE Apr 16, 2026
tests
Running ‘testthat.R’ [104s/128s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additiona
...[truncated]...
ace:
▆
1. ├─base::suppressMessages(...) at test-get_details.R:113:3
2. │ └─base::withCallingHandlers(...)
3. └─bhmbasket::performAnalyses(...)
[ FAIL 2 | WARN 0 | SKIP 13 | PASS 232 ]
Error:
! Test failures.
Execution halted
tests
Running ‘testthat.R’ [5m/13m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional t
...[truncated]...
ace:
▆
1. ├─base::suppressMessages(...) at test-get_details.R:113:3
2. │ └─base::withCallingHandlers(...)
3. └─bhmbasket::performAnalyses(...)
[ FAIL 2 | WARN 0 | SKIP 13 | PASS 232 ]
Error:
! Test failures.
Execution halted
tests
Running ‘testthat.R’ [5m/17m]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional t
...[truncated]...
ace:
▆
1. ├─base::suppressMessages(...) at test-get_details.R:113:3
2. │ └─base::withCallingHandlers(...)
3. └─bhmbasket::performAnalyses(...)
[ FAIL 2 | WARN 0 | SKIP 13 | PASS 232 ]
Error:
! Test failures.
Execution halted