-
Notifications
You must be signed in to change notification settings - Fork 35
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
Refine calling handlers #144
Conversation
@lionel let me know if you see a simple way to wrap |
Co-authored-by: Lionel Henry <[email protected]>
tryCatch(code, error = function(err) { | ||
list(value = NULL, visible = FALSE) | ||
}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It does seem like it would be easier to understand the return type if this was closer to the withVisible call
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll simplify this further after #153 since it turns out that we don't actually need to capture the visibility of the printed value.
Fixes #145