Simulation-Based Calculation of Basket Trial Operating Characteristics
Overview
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'.
Install
Health
- OK13 OK2026-09-08
- ERROR12 OK, 1 ERROR2026-09-07
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-05-17
Show 2 earlier changesHide 2 earlier changes
- ERROR11 OK, 3 ERROR2026-04-16
- OK14 OK2026-03-10
Documentation
- Help pages
- 57 (1 internal)includes a package overview page
- Examples that run
- 93%52 run in a plain check · 4 only when donttest examples are enabled (R CMD check --as-cran)
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 18%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- not measured
- Median days to close, 50 most recently updated closed PRs
- 2
Stars over time
Forks over time
Releases over time
PRs over time
5 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/lbau7/basksim on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Dependencies
Installing basksim adds 31 packages (16 with compiled code, 9.8 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppArmadillo 1.0 MB, vctrs 1.0 MB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 2.2.0Latest
- 2.1.02026-03-03 · diff ↗
- unarchivedReturned to CRAN2026-02-20
- 2.0.22026-02-20 · diff ↗ ·
removed 1 export
setup_bmaadded 6 exports
geom_borrow, geom_posterior, geom_prior, get_evaluation, setup_app, setup_cpplim - archivedRemoved from CRAN2025-12-22requires archived package 'bmabasket'
- RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 1.0.02024-04-12
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2024-04-12
- Total releases
- 4 / 2 yrs
- License
- GPL (>= 3) OSI
- Download size
- 49 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("basksim")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-20, which the citation names so these numbers can be found later. More on citing and the projects behind them.