Skip to content

basksim

Simulation-Based Calculation of Basket Trial Operating Characteristics

v2.2.0 · May 12, 2026 · GPL (>= 3)

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

CRAN

472

Last 30 days

8187th

1.2K

Last 90 days

3K

Last year

Trend: +20.4% (30d vs prior 30d)

r2u CRAN

20

Last 30 days

61

Last 90 days

246

Last year

Trend: -4.8% (30d vs prior 30d)

CRAN Check Status

13 OK
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
ERROR r-devel-linux-x86_64-debian-gcc

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
ERROR r-devel-linux-x86_64-fedora-clang

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
ERROR r-devel-linux-x86_64-fedora-gcc

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
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (2)

imports

suggests

Dependency Network

Dependencies Reverse dependencies arrangements bhmbasket doFuture extraDistr foreach HDInterval progressr purrr baskwrap baskoptr basksim

Version History

5 tracked
updated 2.2.0 ← 2.1.0 diff May 12, 2026
new 2.1.0 Mar 10, 2026
updated 2.1.0 ← 2.0.2 diff Mar 2, 2026
updated 2.0.2 ← 1.0.0 diff Feb 19, 2026
new 1.0.0 Apr 11, 2024