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
Then when printing the Skipped tests section, we iterated over skip classes.
Note that approaches building off the text in the skip message will be fraught, e.g. alphabetizing or other pattern matching. The custom signal class approach seems the most generalizable.
The text was updated successfully, but these errors were encountered:
The downside is I'm looking at the output of someone else's suite, so it's not really in my control (unless I send them a PR, nor particularly scalable).
The custom class in this case would come from {testthat} (through skip_if_not_installed()), then every package's output sorts " cannot be loaded" correctly.
Of course, a much more light-touch engineering approach is to just reword that particular skip message: "Could not load package ", which I'm fine with. I just filed this in the spirit of custom-signal-condition-all-the-things :)
Really liking the recent-ish change to batch skip reasons all in one blob. One further improvement would be better sorting of these skips:
As we see here, the
timeSeries
skip might be better off grouped with thefGarch
,mapdata
, andMSwM
skips.One natural way to accomplish this would be for the error signal emitted by
skip()
to take a custom class, e.g.Then when printing the
Skipped tests
section, we iterated over skip classes.Note that approaches building off the text in the skip message will be fraught, e.g. alphabetizing or other pattern matching. The custom signal class approach seems the most generalizable.
The text was updated successfully, but these errors were encountered: