Skip to content

basksim

2.2.0Package record

Simulation-Based Calculation of Basket Trial Operating Characteristics

1packages dependsuggested by 1
3.6Kdownloads / year
100.0%test coverage
13/13flavors OK

Overview

About

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

CRAN checks
13OK
Slowest check: 8.8 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 2.2.0
READMEYes · 135 wordsVignettesNoNEWSNoCitation fileNoWebsitenot declared in DESCRIPTION
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

3.6K
CRAN downloads in the past year
Rank #8,120 · ~10/day · ~297/mo
Daily download trend is not available in this view yet.
45330 days
1.1K90 days
3.6K1 year
Compare downloads with other packages →
Also on156 r2u22 autocran

Repository

2Stars
4Forks
0Open issues
0Open PRs
4Releases
171Commits
5Commit identities
License file reads as GPL-3.0 · 171 commits · Last activity 2026-05-22 · 0% stars, 30d
Responsiveness
How these are sampled
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

2023-02-15 · 12026-07-07 · 2
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (1)
README.Rmd
Coverage (1)
Coverage reporting (Codecov)
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

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.

Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
1direct
1indirect
Imports 1
Suggested by 1
Depends, Imports or LinkingTo, most downloaded first
Suggests, most downloaded first

People & History

People (3)
Author, Maintainer since 1.0.0 (2024)
Author · added in 2.0.2
Author · added in 2.0.2
Listed in earlier versions (1)
Lukas Sauer
no longer listed · 1.0.0
Releases (4)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 2.2.0Latest
    record
    2026-03-03 · current release · diff ↗ ·
    added 1 export
    setup_binomial
  • 2.1.0
    record
    2026-03-03 · diff ↗
  • unarchivedReturned to CRAN
    2026-02-20
  • 2.0.2
    record
    2026-02-20 · diff ↗ ·
    removed 1 export
    setup_bma
    added 6 exports
    geom_borrow, geom_posterior, geom_prior, get_evaluation, setup_app, setup_cpplim
  • archivedRemoved from CRAN
    2025-12-22
    requires archived package 'bmabasket'
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.0.0
    record
    2024-04-12
  • R
    R 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")
Baumann, L., Sauer, L. D., & Schmitt, S. (2026). basksim: Simulation-Based Calculation of Basket Trial Operating Characteristics (Version 2.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for basksim version 2.2.0 [Data set]. HJJB, LLC. Data release v2026-10-20. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy