GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
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
I mean, I want to specify that I expect a given error class, instead of specifying the error message. AFAICT this is currently not possible.
Great idea. I'd be happy to review a PR :)
And presumably this should also cover warnings and messages. I'll have a go at it.
Oh messages() and warnings() are bit trickier because there might be more than one. I'll leave those for now.
Great! Thanks! This will allow proper error testing once we have proper error objects in R packages. :)