Skip to content
New issue

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

with_trace()? #200

Open
MichaelChirico opened this issue May 27, 2022 · 1 comment · May be fixed by #204
Open

with_trace()? #200

MichaelChirico opened this issue May 27, 2022 · 1 comment · May be fixed by #204

Comments

@MichaelChirico
Copy link
Contributor

Debugging some unit tests and trying to get a function to print some state -- I'm running trace(); on.exit(untrace()) now but of course that's more natural as withr::local_trace(...).

Is there a technical limitation to trace() running in a withr::defer-like setup?

Happy to try and file a PR.

@lionel-
Copy link
Member

lionel- commented May 27, 2022

That seems like a good idea, and a PR would be great.

@MichaelChirico MichaelChirico linked a pull request Jul 17, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants