Crandore Hub

minex

Automatically Reduce Failing R Scripts to a Minimal Reproducible Example

Shrinks a failing R script to the smallest subset of statements that still triggers the same error, using the delta debugging algorithm of Zeller and Hildebrandt (2002) <doi:10.1109/32.988498>. Each candidate reduction is evaluated in a separate R process, so dependencies between statements and their side effects are respected. The result is a one-minimal example, in which removing any remaining statement makes the error disappear; this is the form most useful for bug reports and for questions on community forums. A general delta debugging routine and a helper for reducing data frames to the rows that reproduce a failure are also provided.

Versions across snapshots

VersionRepositoryFileSize
0.1.0 rolling linux/jammy R-4.5 minex_0.1.0.tar.gz 40.5 KiB
0.1.0 rolling linux/noble R-4.5 minex_0.1.0.tar.gz 40.4 KiB
0.1.0 rolling source/ R- minex_0.1.0.tar.gz 18.9 KiB
0.1.0 latest linux/jammy R-4.5 minex_0.1.0.tar.gz 40.5 KiB
0.1.0 latest linux/noble R-4.5 minex_0.1.0.tar.gz 40.4 KiB
0.1.0 latest source/ R- minex_0.1.0.tar.gz 18.9 KiB
0.1.0 2026-04-23 source/ R- minex_0.1.0.tar.gz 0 B

Dependencies (latest)

Imports

Suggests