Skip to content

sprtt

0.3.1

Sequential Probability Ratio Tests Toolbox

0packages depend
3Kdownloads / year
88.5%test coverage
13/13checks pass

Overview

About
Maintained by Meike Snijder-SteinhilberFirst published 2021-08-063 releasesCRAN page ↗GitHub ↗

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-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 2.04
88.5%
Coverage · measured lines
100%
Documentation · exports
15
Dependencies · direct
Check history
  • 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-05-07
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-03-10
    12 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 296 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
56%
Documented parameters
100%
Return-value docs
100%
References docs
0%

Downloads

3K
CRAN downloads in the past year
Rank #11,098 · ~8/day · ~251/mo
Daily download trend is not available in this view yet.
31330 days
93290 days
3K1 year
Compare downloads with other packages →
Also on96 r2u36 autocran

Repository

Repository
7Stars
1Forks
0Open issues
0Open PRs
4Releases
475Commits
2Contributors
sprttest-statisticrsequential
License AGPL-3.0 · 475 commits · Last activity 2026-05-20 · 0% stars, 30d

Stars over time

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

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/meikesteinhilber/sprtt on 2026-07-26.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
Coverage (1)
Codecov
Governance and community (1)
Issue templates
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

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

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (3)
Maintainer (1)
Author, Maintainer · added in 0.3.1
Authors (3)
Author, Maintainer · added in 0.3.1
Author, Thesis advisor
Author, Thesis advisor
Listed in earlier versions (1)
no longer listed · 0.1.0 to 0.2.0
Package Timeline

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

  • 0.3.1Latest
    2026-05-06 · current release · diff ↗
  • 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
    2023-07-06 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.0
    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
Minimum R
≥ 3.5.0
Bundled data
5.1 KB / 3 files
Download size
915 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →