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
[aut, cre],
Sacha Epskamp
[aut],
Willem Sleegers
[ctb],
Edoardo Costantini [ctb],
Paul van der Laken
[ctb],
Sean Rife [ctb],
John Sakaluk
[ctb],
Chris Hartgerink
[ctb],
Steve Haroz [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:
Downloads:
Reverse dependencies:
Linking:
Please use the canonical form
https://CRAN.R-project.org/package=statcheck
to link to this page.