hypothesize: A Consistent API for Hypothesis Testing

Provides a consistent API for hypothesis testing built on principles from 'Structure and Interpretation of Computer Programs': data abstraction, closure (combining tests yields tests), and higher-order functions (transforming tests). Implements z-tests, Wald tests, likelihood ratio tests, Fisher's method for combining p-values, and multiple testing corrections. Designed for use by other packages that want to wrap their hypothesis tests in a consistent interface.

Version: 0.10.0
Imports: stats
Suggests: testthat (≥ 3.0.0), rmarkdown, knitr
Published: 2025-12-11
DOI: 10.32614/CRAN.package.hypothesize (may not be active yet)
Author: Alexander Towell ORCID iD [aut, cre]
Maintainer: Alexander Towell <lex at metafunctor.com>
BugReports: https://github.com/queelius/hypothesize/issues
License: MIT + file LICENSE
URL: https://github.com/queelius/hypothesize, https://queelius.github.io/hypothesize/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: hypothesize results

Documentation:

Reference manual: hypothesize.html , hypothesize.pdf
Vignettes: Introduction to hypothesize (source, R code)

Downloads:

Package source: hypothesize_0.10.0.tar.gz
Windows binaries: r-devel: hypothesize_0.10.0.zip, r-release: not available, r-oldrel: hypothesize_0.10.0.zip
macOS binaries: r-release (arm64): hypothesize_0.10.0.tgz, r-oldrel (arm64): hypothesize_0.10.0.tgz, r-release (x86_64): hypothesize_0.10.0.tgz, r-oldrel (x86_64): hypothesize_0.10.0.tgz

Linking:

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