Skip to content

sprtt

0.3.1Package record

Sequential Probability Ratio Tests Toolbox

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

Overview

About

A toolbox for Sequential Probability Ratio Tests (SPRT) based on Wald (1945) doi:10.2134/agronj1947.00021962003900070011x. SPRTs are applied during the sampling process, ideally after each observation, and at every stage return a decision to either continue sampling or terminate and accept one of the specified hypotheses. The `seq_ttest()` function performs one-sample, two-sample, and paired t-tests for one- and two-sided hypotheses (Schnuerch & Erdfelder (2019) doi:10.1037/met0000234). The `seq_anova()` function performs a sequential one-way fixed effects ANOVA (Steinhilber et al. (2024) doi:10.1037/met0000677). The `plan_sample_size()` function helps plan sequential studies by simulating required sample sizes across a range of effect sizes. For more information, see the vignettes browseVignettes(package = "sprtt") or the package website https://meikesteinhilber.github.io/sprtt/.

Install

Health

CRAN checks
13OK
Slowest check: 3.5 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK13 OK2026-05-07
Show 1 earlier changeHide 1 earlier change
  • ERROR12 OK, 2 ERROR2026-03-10
Advisories

none known

Documentation

In release 0.3.1
READMEYes · 296 wordsVignettesYes · 7 · dynamicNEWSYes · 100% structured · does not mention 0.3.1Citation fileNoWebsiteYes · pkgdown
Help pages
21 (8 internal)includes a package overview page
Examples that run
56%5 run in a plain check · 4 never run
Exported functions with examples
90%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

3.1K
CRAN downloads in the past year
Rank #11,619 · ~8/day · ~257/mo
Daily download trend is not available in this view yet.
29330 days
92590 days
3.1K1 year
Compare downloads with other packages →
Also on70 r2u6 autocran

Repository

7Stars
1Forks
0Open issues
0Open PRs
4Releases
476Commits
2Commit identities
sprttest-statisticrsequential
License file reads as AGPL-3.0 · 476 commits · Last activity 2026-08-05 · 0% stars, 30d · Discussions: 1 post
Responsiveness
How these are sampled
PRs merged (all time)
86%
Median days to close, 50 most recently updated closed issues
28
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2024-12-14 · 62026-07-07 · 7
PracticesBeta

13 development-tooling and community-health practices detected across 7 families in the upstream repository

Checks run against github.com/meikesteinhilber/sprtt 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

Governance and community (1)
Issue templates
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-08-05 · The repository has a site deploy workflow

pkgdown site last built 2026-08-05

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 3 practices
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (2)
Lint workflowRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
21 external dependencies (excludes base and recommended)

Installing sprtt adds 103 packages (54 with compiled code, 96 MB of source tarballs). Heaviest: BH 14 MB, stringi 11 MB, ggplot2 6.0 MB.

Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (3)
Author, Maintainer · added in 0.3.1
Author, Thesis advisor
Author, Thesis advisor

Maintainer since 0.1.0 (2021)

Listed in earlier versions (1)
Meike Steinhilber
no longer listed · 0.1.0 to 0.2.0
Releases (3)

Pick two releases to compare their code metrics.

  • 0.3.1Latest
    record
    2026-05-06 · current release · diff ↗ ·
    added 5 exports
    cache_clear, cache_info, download_sample_size_data, load_sample_size_data, plan_sample_size
  • 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.0
    record
    2023-07-06 · diff ↗ ·
    added 4 exports
    draw_sample_mixture, draw_sample_normal, plot_anova, seq_anova
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.0
    record
    2021-08-06
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-08-06
Total releases
3 / 5 yrs
License
AGPL (>= 3) OSI · relicensed from GPL (>= 3) in 0.2.0
Minimum R
≥ 3.5.0
Bundled data
5.1 KB / 3 files
Download size
1.6 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("sprtt")
Snijder-Steinhilber, M., Schnuerch, M., & Schubert, A. (2026). sprtt: Sequential Probability Ratio Tests Toolbox (Version 0.3.1) [Computer software]. https://doi.org/10.32614/CRAN.package.sprtt

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

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