Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upExtend 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. Self-note: Lines 88 to 96 in 8a41cb8 |
|
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
erroristjust 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: