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
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:
This seems like a great addition and I'd welcome it.
But, heads up, pretty soon there are going to a big merge into this repo (from a fork)
So you might want to wait until that happens before writing a PR.
Actually, I still haven't reviewed all the changes so this might actually already be addressed.
If its not, like I said, I think it'd be a great addition. Thanks for the interest!
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: