Skip to content

curtailment

0.2.6Package record

Finds Binary Outcome Designs Using Stochastic Curtailment

0packages depend
3.1Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

Finds single- and two-arm designs using stochastic curtailment, as described by Law et al. (2022) doi:10.1080/10543406.2021.2009498 and Law et al. (2021) doi:10.1002/pst.2067 respectively. Designs can be single-stage or multi-stage. Non-stochastic curtailment is possible as a special case. Desired error-rates, maximum sample size and lower and upper anticipated response rates are inputted and suitable designs are returned with operating characteristics. Stopping boundaries and visualisations are also available. The package can find designs using other approaches, for example designs by Simon (1989) doi:10.1016/0197-2456(89)90015-9 and Mander and Thompson (2010) doi:10.1016/j.cct.2010.07.008. Other features: compare and visualise designs using a weighted sum of expected sample sizes under the null and alternative hypotheses and maximum sample size; visualise any binary outcome design.

Changes in 0.2.6

Changed output of find2stageDesigns

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.4 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.6
READMEYes · 301 wordsVignettesNoNEWSYes · 100% structured · mentions 0.2.6Citation fileNoWebsitenot declared in DESCRIPTION
Help pages
11
Examples that run
73%8 run in a plain check · 3 only when donttest examples are enabled (R CMD check --as-cran)
Exported functions with examples
100%
Documented parameters
95%
Return-value docs
100%
Help pages citing references
18%

Downloads

3.1K
CRAN downloads in the past year
Rank #16,315 · ~9/day · ~261/mo
Daily download trend is not available in this view yet.
29730 days
76690 days
3.1K1 year
Compare downloads with other packages →
Also on74 r2u11 autocran

Repository

0Stars
1Forks
1Open issues
0Open PRs
12Releases
118Commits
1Commit identities
118 commits · Last activity 2025-11-14 · Default branch at 1.0.0, ahead of CRAN 0.2.6 (checked 2026-10-18)
Responsiveness
not measured

Forks over time

2022-02-25 · 12026-07-07 · 1
PracticesBeta

4 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/martinlaw/curtailment on 2026-10-18.

Docs source (1)
README.Rmd
CRAN release process (2)
cran-comments.mdrevdep/
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
5 external dependencies (excludes base and recommended)

Installing curtailment adds 28 packages (12 with compiled code, 24 MB of source tarballs). Heaviest: ggplot2 6.0 MB, data.table 5.7 MB, ggthemes 2.1 MB.

Depends (0)
none
LinkingTo (0)
none
Suggests (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.1.1 (2021)
Releases (3)

Pick two releases to compare their code metrics.

  • 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
  • 0.2.6Latest
    record
    2023-10-25 · current release · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.0
    record
    2022-08-05 · diff ↗ ·
    added 1 export
    find2stageThetaF
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.1
    record
    2021-08-05
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-08-05
Total releases
3 / 5 yrs
License
GPL (>= 3) OSI
Download size
97 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("curtailment")
Law, M. (2023). curtailment: Finds Binary Outcome Designs Using Stochastic Curtailment (Version 0.2.6) [Computer software]. https://doi.org/10.32614/CRAN.package.curtailment

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 curtailment version 0.2.6 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-22, 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