Debugging with Restore Points


[Up] [Top]

Documentation for package ‘restorepoint’ version 0.2

Help 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 strings that looks like a result of traceback()
can.parse.multi.line Checks whether for the installed R version the function env.console is able to correctly parse R expressions that extend over more than a line
clone.environment Deep copy of an environment
copy.into.env Copies all members of a list or environment into an environment
default.error.string.fun A default error string function for eval with error trace
disable.restore.points Globally disable or enable restore points
env.console Emulates an R console that evaluates expressions in the specified environement env. You return to the standard R console by pressing ESC
eval.with.error.trace Evals the expression such that if an error is encountered a traceback is added to the error message.
get.restore.point.options Get global options for restore points
get.stored.dots Returns the ellipsis (...) that has been stored in restore.point name as a list
get.stored.object.list Retrieves the list of all restore.points with the stored objects
is.storing Check whether objects currently are stored or not
restore.objects Restore stored objects by copying them into the specified environment. Is used by restore.point
restore.point Sets a restore point
restore.point.browser Examing a previously stored restore point by invoking the browser.
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 able to restore them later when debugging. Is used by restore.point