Skip to content

gsDesign2

1.2.0

Group Sequential Design with Non-Constant Effect

1packages depend
8.6Kdownloads / year
92.5%test coverage
13/13checks pass

Overview

About
Maintained by Yujie ZhaoFirst published 2023-03-2014 releasesCRAN page ↗GitHub ↗

The goal of 'gsDesign2' is to enable fixed or group sequential design under non-proportional hazards. To enable highly flexible enrollment, time-to-event and time-to-dropout assumptions, 'gsDesign2' offers piecewise constant enrollment, failure rates, and dropout rates for a stratified population. This package includes three methods for designs: average hazard ratio, weighted logrank tests in Yung and Liu (2019) doi:10.1111/biom.13196, and MaxCombo tests. Substantial flexibility on top of what is in the 'gsDesign' package is intended for selecting boundaries.

Install

Health

CRAN checks
13OK
Slowest check: 10.4 min · r-devel-windows-x86_64
Code health
Yes
Tests · ratio 0.96
92.5%
Coverage · measured lines
100%
Documentation · exports
15
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-07-31
    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-04-22
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 2 earlier snapshots
  • ERROR2026-04-18
    13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 1,845 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
78%
Return-value docs
100%
References docs
5%

Downloads

8.6K
CRAN downloads in the past year
Rank #5,329 · ~23/day · ~714/mo
Daily download trend is not available in this view yet.
45530 days
1.5K90 days
8.6K1 year
Compare downloads with other packages →
Also on530 r2u3 autocran

Repository

Repository
33Stars
10Forks
2Open issues
2Open PRs
19Releases
2,172Commits
25Contributors
License GPL-3.0 · 2,172 commits · Last activity 2026-08-11 · 0% stars, 30d

Stars over time

2025-04-25 · 242026-07-07 · 33

Repository practices

Upstream repositoryBeta

9 development-tooling and community-health practices detected across 8 families in the upstream repository

Checks run against github.com/merck/gsdesign2 on 2026-08-09.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Show all practices
Automation and maintenance (1)
Dependabot
Lint, format, editor (2)
lintrRStudio project
Coverage (1)
Codecov
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Development tooling

AI-assisted toolingBeta

Uses AI-assisted development tooling (declared in repo)

Earliest detected marker: copilot on 2025-10-29

copilotclaude

Most recent: claude on 2026-05-06

Evidence
  • copilot: on 2025-10-29 · evidence PR
  • claude: on 2026-05-06 · evidence B, D
How this is detected·Detection ruleset v2 (updated 2026-07-29)

Dependencies

Declared dependencies
20 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (1)
Enhances (0)
none
Reverse dependencies
1direct
0indirect

Code & Tests

People & History

People (19)
Maintainer (1)
Author, Maintainer
Authors (7)
Author, Maintainer
Author · added in 1.1.0
Author
Author · added in 1.1.4
Contributors (11)
Contributor
Contributor · added in 1.1.1
Contributor
Contributor
Contributor
Contributor
Contributor · added in 1.1.2
Contributor
Show 3 more contributors
Contributor
Contributor · added in 1.1.4
Contributor
Copyright holders (1)
Package Timeline

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

  • 1.2.0Latest
    2026-07-31 · current release · diff ↗
  • 1.1.9
    2026-07-01 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.8
    2026-02-12 · diff ↗
  • 1.1.7
    2025-11-19 · diff ↗
  • 1.1.6
    2025-09-11 · diff ↗
  • 1.1.5
    2025-06-27 · diff ↗
  • 1.1.4
    2025-06-06 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.1.3
    2024-11-15 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.2
    2024-04-09 · diff ↗
  • 1.1.1
    2024-02-09 · diff ↗
  • 1.1.0
    2023-08-23 · diff ↗
  • 1.0.9
    2023-06-20 · diff ↗
  • 1.0.8
    2023-05-01 · diff ↗
Show 3 earlier events
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.7
    2023-03-20
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2023-03-20
Total releases
14 / 3 yrs
License
GPL-3 OSI
Minimum R
≥ 4.1.0
Download size
448 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("gsDesign2")
Zhao, Y., Merck & Co., Inc., Rahway, NJ, USA and its affiliates, Anderson, K., Blischak, J., Cui, Y., Fukuda, H., Li, C., Li, X. T., Shirazi, A., Wang, R., Wanjau, D., Xiao, N., Xie, Y., Yang, J., Yang, P., Zhang, H., Zhang, S., Zhang, Y., & Zhu, Y. (2026). gsDesign2: Group Sequential Design with Non-Constant Effect (Version 1.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.gsDesign2

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

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