testflow: A Workflow for Statistical Testing and Interpretation

Provides a unified workflow for choosing, running, and interpreting common statistical tests, from group comparisons and analysis of variance to regression, survival analysis, and diagnostic and agreement statistics. The package combines assumption checks, test selection, effect sizes, formatted results, plain-language interpretation, and a sample-size planning module covering continuous, binary, survival, ordinal, bioequivalence, and precision-based designs. Implemented methods follow standard references including Casella and Berger (2002, ISBN:9780534243128), Hollander et al. (2013, ISBN:9781118553299), Agresti (2013, ISBN:9780470463635), Cohen (1988, ISBN:9780805802832), Hosmer, Lemeshow and Sturdivant (2013, ISBN:9780470582473), and Julious (2010, ISBN:9781584887393).

Version: 1.0.0
Depends: R (≥ 4.1.0)
Imports: stats, cli, rlang, dplyr, tidyr, tidyselect, tibble, purrr, broom, ggplot2, survival, car
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown, effectsize, patchwork, PowerTOST, irr
Published: 2026-08-22
DOI: 10.32614/CRAN.package.testflow
Author: Imad El Badisy [aut, cre]
Maintainer: Imad El Badisy <elbadisyimad at gmail.com>
BugReports: https://github.com/ielbadisy/testflow/issues
License: MIT + file LICENSE
URL: https://CRAN.R-project.org/package=testflow
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: testflow results

Documentation:

Reference manual: testflow.html , testflow.pdf
Vignettes: Getting started with testflow (source, R code)
Sample size: complete API reference and formulas (source, R code)
Sample size planning (source, R code)
Scientific validation (source, R code)
testflow: complete pedagogical reference (source, R code)

Downloads:

Package source: testflow_1.0.0.tar.gz
Windows binaries: r-devel: testflow_0.9.0.zip, r-release: testflow_0.9.0.zip, r-oldrel: testflow_0.9.0.zip
macOS binaries: r-release (arm64): testflow_1.0.0.tgz, r-oldrel (arm64): testflow_1.0.0.tgz, r-release (x86_64): testflow_1.0.0.tgz, r-oldrel (x86_64): testflow_1.0.0.tgz
Old sources: testflow archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=testflow to link to this page.