testflow: A Workflow for Statistical Testing, Interpretation, and 'ggplot2'-Based Visualization

Provides a unified workflow for choosing, running, interpreting, and visualizing 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, 'ggplot2'-based statistical visualizations, 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: 0.9.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
Published: 2026-07-17
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: Effect-size formulas (source, R code)
Getting started with testflow (source, R code)
Sample size: complete API reference and formulas (source, R code)
Sample size planning (source, R code)
Statistical test workflows (source, R code)

Downloads:

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

Linking:

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