Package: minex 0.1.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. 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.1.0.tar.gz
minex_0.1.0.tar.gz(r-4.7-any)minex_0.1.0.tar.gz(r-4.6-any)
minex_0.1.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://cran.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/diglabuab/minex/issues
Last updated from:ef2d09483c. Checks:4 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 136 | ||
| source / vignettes | OK | 161 | ||
| linux-release-x86_64 | OK | 183 | ||
| wasm-release | OK | 110 |
Exports:ddminminexreduce_rows
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Delta debugging | ddmin |
| Minimize a failing R script to a reproducible example | minex |
| Reduce a data frame to the rows that reproduce a failure | reduce_rows |
