We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It could be helpful for interactive / debugging usage to have a with_debug that runs undebug on exit.
with_debug
undebug
Mock usage:
withr::with_debug(lm, lm(y ~ x))
If that's in scope I'd be happy to file a PR!
The text was updated successfully, but these errors were encountered:
I guess you could also use debugonce for this
debugonce
Sorry, something went wrong.
I guess that example was bad... the use case is more like
with_debug(foo, bar())
where bar() may call foo() several times
No branches or pull requests
It could be helpful for interactive / debugging usage to have a
with_debug
that runsundebug
on exit.Mock usage:
If that's in scope I'd be happy to file a PR!
The text was updated successfully, but these errors were encountered: