-
Notifications
You must be signed in to change notification settings - Fork 34
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
Global setting for success_fun & error_fun? #79
Comments
This seems like a great addition and I'd welcome it. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wanted to get feedback on potentially writing a PR implementing this. I'm imagining something along the lines of
Use case: many independent chains, such that it's annoying to set
success_fun
for every assertr call /chain_end(success_fun = ...)
call.My current workaround is
chain_end_quiet <- function(x) return(chain_end(x, success_fun = success_logical, error_fun = error_logical))
, but that requires me to specify an assertr chain for each independent inquiry.The text was updated successfully, but these errors were encountered: