Package: minex 0.2.0
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. When no statement can be removed, because the failure is nested inside a function body, reduction continues within the surviving statements. A general delta debugging routine and a helper for reducing data frames to the rows that reproduce a failure are also provided.
Authors:
minex_0.2.0.tar.gz
minex_0.2.0.zip(r-4.7-any)minex_0.2.0.zip(r-4.6-any)minex_0.2.0.zip(r-4.5-any)
minex_0.2.0.tgz(r-4.6-any)minex_0.2.0.tgz(r-4.5-any)
minex_0.2.0.tar.gz(r-4.7-any)minex_0.2.0.tar.gz(r-4.6-any)
minex_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
minex/json (API)
| # Install 'minex' in R: |
| install.packages('minex', repos = c('https://diglabuab.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/diglabuab/minex/issues
Last updated from:d58f37fa8b. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel | OK | 119 | ||
| source / vignettes | OK | 211 | ||
| linux-release | OK | 109 | ||
| macos-release | OK | 175 | ||
| macos-oldrel | OK | 198 | ||
| windows-devel | OK | 75 | ||
| windows-release | OK | 76 | ||
| windows-oldrel | OK | 79 | ||
| wasm-release | OK | 87 |
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Delta debugging | ddmin |
| Explain a minex failure with an LLM | explain_failure |
| Minimize a failing R script to a reproducible example | minex |
| Reduce a data frame to the rows that reproduce a failure | reduce_rows |
