statcheck: Extract Statistics from Articles and Recompute P-Values

A "spellchecker" for statistics. It checks whether your p-values match their accompanying test statistic and degrees of freedom. statcheck searches for null-hypothesis significance tests (NHST) in APA style (e.g., t(28) = 2.2, p < .05), using pattern-matching ("regular expressions"). It recalculates the p-value using the reported test statistic and degrees of freedom. If the reported and computed p-values don't match, 'statcheck' will flag the result as an error. If the reported p-value is statistically significant and the computed one is not, or vice versa, the result will be flagged as a decision error. You can use 'statcheck' directly on a string of text, but you can also scan a PDF or HTML file, or even a folder of PDF and/or HTML files. PDF files are converted to text using the R package 'pdftools', so no additional software installation is necessary. You can find more information on what 'statcheck' can and cannot do and a point-and-click web interface to scan PDF or HTML or DOCX articles on <https://statcheck.io>.

Version: 1.6.1
Depends: R (≥ 3.6.0)
Imports: DT, ggplot2, graphics, pdftools, plyr, rlang, rmarkdown, stats, stringi, stringr, tcltk, utils
Suggests: testthat
Published: 2026-10-26
DOI: 10.32614/CRAN.package.statcheck
Author: Michele B. Nuijten ORCID iD [aut, cre], Sacha Epskamp ORCID iD [aut], Willem Sleegers ORCID iD [ctb], Edoardo Costantini [ctb], Paul van der Laken ORCID iD [ctb], Sean Rife ORCID iD [ctb], John Sakaluk ORCID iD [ctb], Chris Hartgerink ORCID iD [ctb], Steve Haroz ORCID iD [ctb]
Maintainer: Michele B. Nuijten <m.b.nuijten at tilburguniversity.edu>
BugReports: https://github.com/MicheleNuijten/statcheck/issues
License: GPL-3
URL: https://github.com/MicheleNuijten/statcheck
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: statcheck results

Documentation:

Reference manual: statcheck.html , statcheck.pdf

Downloads:

Package source: statcheck_1.6.1.tar.gz
Windows binaries: r-devel: statcheck_1.5.0.zip, r-release: statcheck_1.5.0.zip, r-oldrel: statcheck_1.5.0.zip
macOS binaries: r-release (arm64): statcheck_1.6.1.tgz, r-oldrel (arm64): statcheck_1.6.1.tgz, r-release (x86_64): statcheck_1.6.1.tgz, r-oldrel (x86_64): statcheck_1.6.1.tgz
Old sources: statcheck archive

Reverse dependencies:

Reverse suggests: effectcheck

Linking:

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