01 / ContextThe question
behind the work.
Statistical work often stops once a coefficient crosses a threshold. Diagnostics exist, but they are scattered across functions and rarely answer the more useful question: what is the smallest reasonable change that makes the claim disappear?
My role
I designed and built the R package, attack engine, S3 methods, plotting and reporting layers, RStudio addin, vignettes, test suite, and CRAN publication workflow.
03 / In detailAsk what breaks the result
falsifyr starts after a result looks significant. Instead of treating one coefficient or p-value as the end of the analysis, it asks how stable the claim is when the data, specification, uncertainty estimate, and sample are stressed in reasonable ways.
I built the package around a practical question: what is the smallest change that makes this claim fragile? That turns a pile of disconnected diagnostics into a ranked, reproducible investigation an analyst can actually review.
Eight ways to test a claim
The package supports lm, glm, and selected hypothesis-test workflows through row deletion, uncertainty, covariate, missingness, measurement-error, placebo, specification, and sample-split attacks. Each run records the model, focal term, alternative hypothesis, seed, attack settings, package version, R version, and session details.
The output includes a survival score, smallest-kill result, leaderboard, plots, and a static HTML report. The attack stays visible beside the result, so the user can inspect what changed rather than receiving a black-box robustness label.
Built as a real R package
I built the R package, S3 methods, reporting layer, plots, RStudio addin, vignettes, and test suite as one release workflow. The addin finds supported model objects in the active RStudio session and launches the same controlled analysis without forcing a separate environment.
Version 0.1.0 includes 11 exported functions, 65 testthat blocks, and eight attack families. falsifyr is published on CRAN with deterministic checks, explicit dependencies, and traceable results built into the release.