Skip to content

OneArm2stage

1.2.1

Phase II Single-Arm Two-Stage Designs with Time-to-Event Outcomes

0packages depend
2.5Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Xiaomeng YuanFirst published 2022-09-073 releasesCRAN page ↗

Two-stage design for single-arm phase II trials with time-to-event endpoints (e.g., clinical trials on immunotherapies among cancer patients) can be calculated using this package. Two notable advantages of the package: 1) It provides flexible choices from three design methods (optimal, minmax, and admissible), and 2) the power of the design is more accurately calculated using the exact variance in the one-sample log-rank test. The package can be used for 1) planning the sample sizes and other design parameters, and 2) conducting the interim and final analyses for the Go/No-go decisions. More details about the design method can be found in: Wu, J, Chen L, Wei J, Weiss H, Chauhan A. (2020). doi:10.1002/pst.1983.

Install

Health

CRAN checks
13OK
Slowest check: 3.0 min · r-oldrel-windows-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
4
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
100%
Return-value docs
100%
References docs
50%

Downloads

2.5K
CRAN downloads in the past year
Rank #17,474 · ~7/day · ~209/mo
Daily download trend is not available in this view yet.
15530 days
61590 days
2.5K1 year
Compare downloads with other packages →
Also on97 r2u18 autocran

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
Imports (4)
survivalutilsflexsurvIPDfromKM
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Package Timeline

3 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.2.1Latest
    2023-10-10 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.1.5
    2022-12-01 · diff ↗
  • 1.1.4
    2022-09-07
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-09-07
Total releases
3 / 4 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 3.5.0
Download size
206 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("OneArm2stage")
Yuan, X., Pan, H., & Wu, J. (2023). OneArm2stage: Phase II Single-Arm Two-Stage Designs with Time-to-Event Outcomes (Version 1.2.1) [Computer software]. https://doi.org/10.32614/CRAN.package.OneArm2stage

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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 OneArm2stage version 1.2.1 [Data set]. HJJB, LLC. Data release v2026-08-18. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-18, 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