You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
geterrmessage()
.traceback()
rlang::last_error() # when relevant
Set an active binding to e that will create a list of actions relevant to error.
These might be suggestions to fix, calls to rstudioapi to go at the right place in the right script, suggestions for good practice, filter the call stack to show only the relevant error, add test for this behaviour (creating a reprex at the chosen level from the inputs), suggestions on typos or common mistakes (e.g. if (length(x ==1))...), with action to fix automatically.
unlike fcuk we don't use options(error=) so we don't conflict with any package.
rules can be defined a bit like in tricks, in fact this could be part of {tricks}
The text was updated successfully, but these errors were encountered:
Get info on last error using :
Set an active binding to
e
that will create a list of actions relevant to error.These might be suggestions to fix, calls to rstudioapi to go at the right place in the right script, suggestions for good practice, filter the call stack to show only the relevant error, add test for this behaviour (creating a reprex at the chosen level from the inputs), suggestions on typos or common mistakes (e.g. if (length(x ==1))...), with action to fix automatically.
unlike fcuk we don't use
options(error=)
so we don't conflict with any package.rules can be defined a bit like in tricks, in fact this could be part of {tricks}
The text was updated successfully, but these errors were encountered: