restorepoint: Debugging with Restore Points
Version 0.1.7

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 for a tutorial.

AuthorSebastian Kranz
Date of publication2015-08-29 09:27:37
MaintainerSebastian Kranz <sebastian.kranz@uni-ulm.de>
LicenseGPL (>= 2)
Version0.1.7
URL https://github.com/skranz/restorepoint
Package repositoryView on CRAN
InstallationInstall the latest version of this package by entering the following in R:
install.packages("restorepoint")

Popular man pages

break.point: Sets a break point that can be debugged like a restore point
can.parse.multi.line: Checks whether for the installed R version the function...
clone.environment: Deep copy of an environment
copy.into.env: Copies all members of a list or environment into an...
get.stored.object.list: Retrieves the list of all restore.points with the stored...
is.storing: Check whether objects currently are stored or not
restore.objects: Restore stored objects by copying them into the specified...
See all...

All man pages Function index File listing

Man pages

add.restore.point.test: Add one or several test functions
assert: Checks whether cond holds true if not throws an error
break.point: Sets a break point that can be debugged like a restore point
calls.to.trace: Transforms a list returned by sys.calls into a vector of...
can.parse.multi.line: Checks whether for the installed R version the function...
clone.environment: Deep copy of an environment
copy.into.env: Copies all members of a list or environment into an...
default.error.string.fun: A default error string function for eval with error trace
env.console: Emulates an R console that evaluates expressions in the...
eval.with.error.trace: Evals the expression such that if an error is encountered a...
get.restore.point.options: Get global options for restore points
get.stored.dots: Returns the ellipsis (...) that has been stored in...
get.stored.object.list: Retrieves the list of all restore.points with the stored...
is.storing: Check whether objects currently are stored or not
restore.objects: Restore stored objects by copying them into the specified...
restore.point: Sets a restore point
restore.point.browser: Examing a previously stored restore point by invoking the...
restore.point.options: Set global options for restore points
set.storing: Set whether objects shall be stored or not
store.objects: Stores all local objects of the calling environment to be...

Functions

add.restore.point.test Man page
assert Man page
break.point Man page
calls.to.trace Man page
can.parse.multi.line Man page
clone.environment Man page
copy.into.env Man page
default.error.string.fun Man page
env.console Man page
eval.with.error.trace Man page
get.restore.point.options Man page
get.stored.dots Man page
get.stored.object.list Man page
is.storing Man page
restore.objects Man page
restore.point Man page
restore.point.browser Man page
restore.point.options Man page
set.storing Man page
store.objects Man page

Files

inst
inst/examples
inst/examples/restorepoint_examples.R
NAMESPACE
NEWS
R
R/restorepoint.R
vignettes
vignettes/Guide_restorepoint.html
vignettes/Guide_restorepoint.Rmd
vignettes/Guide_restorepoint.md
README.md
MD5
DESCRIPTION
man
man/get.restore.point.options.Rd
man/clone.environment.Rd
man/default.error.string.fun.Rd
man/restore.point.Rd
man/get.stored.object.list.Rd
man/assert.Rd
man/copy.into.env.Rd
man/add.restore.point.test.Rd
man/set.storing.Rd
man/eval.with.error.trace.Rd
man/restore.objects.Rd
man/is.storing.Rd
man/calls.to.trace.Rd
man/restore.point.options.Rd
man/restore.point.browser.Rd
man/get.stored.dots.Rd
man/can.parse.multi.line.Rd
man/break.point.Rd
man/store.objects.Rd
man/env.console.Rd
restorepoint documentation built on April 14, 2017, 4:47 p.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.