Debugging with restore points instead of break points. A restore point stores all local variables when called inside a function. The stored values can later be retrieved and evaluated in a modified R console that replicates the function's environment. To debug step by step, one can simply copy & paste the function body from the R script. Particularly convenient in combination with "RStudio". See the "Github" page inst/vignettes for a tutorial.
|Author:||Sebastian Kranz [aut, cre], Roman Zenka [ctb]|
|Maintainer:||Roman Zenka <zenka.roman at mayo.edu>|
|License:||GPL-2 | GPL-3 [expanded from: GPL (≥ 2)]|
|CRAN checks:||restorepoint results|
Debugging R with restore points
|Windows binaries:||r-devel: restorepoint_0.2.zip, r-release: restorepoint_0.2.zip, r-oldrel: restorepoint_0.2.zip|
|macOS binaries:||r-release (arm64): restorepoint_0.2.tgz, r-oldrel (arm64): restorepoint_0.2.tgz, r-release (x86_64): restorepoint_0.2.tgz, r-oldrel (x86_64): restorepoint_0.2.tgz|
|Old sources:||restorepoint archive|
Please use the canonical form https://CRAN.R-project.org/package=restorepoint to link to this page.