-
-
Notifications
You must be signed in to change notification settings - Fork 2
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
Extend to multiple searches? #7
Comments
@robitalec yes, only searching the first error and warning for the latest function call is accurate. Having said this, there are two parts here that are drastically different: Error-wise, it isn't possible to have two errors back-to-back within code execution since the code is exited once a single error is detected. We're able to then use the error handler to trigger an appropriate dispatch. Warning dispatch is another story. |
Thanks @coatless! Yes - I think we definitely wouldn't want repeated searches from the same warning repeated, but might be useful to search for unique ones, like you say. Thanks! |
* Enable searches for multiple warnings. (Close #7) * Roll new version
@robitalec searching multiple warnings should now work. Please try it out in the development version: remotes::install_github('r-assist/errorist') |
Perfect! That worked @coatless. |
Right now, it seems
errorist
just searches for the first warning or message.This came up for me in trying out the package, I was actually more interested in the search results for the second warning..
Reproducible example:
The text was updated successfully, but these errors were encountered: