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
Originally, we excluded those because there's not always a clean equivalent where the recommended replacement lacks an info= argument. This was raised upstream to {testthat} at the time:
After some time, we've reached an understanding that, in such cases as benefit from info=, the better alternative is to use expect() directly to provide info=.
So we can throw lints in those cases, which should probably get custom metadata based on whether info= was provided.
The text was updated successfully, but these errors were encountered:
E.g.
lintr/R/expect_comparison_linter.R
Line 55 in b65cee5
Originally, we excluded those because there's not always a clean equivalent where the recommended replacement lacks an
info=
argument. This was raised upstream to {testthat} at the time:r-lib/testthat#1594
After some time, we've reached an understanding that, in such cases as benefit from
info=
, the better alternative is to useexpect()
directly to provideinfo=
.So we can throw lints in those cases, which should probably get custom metadata based on whether
info=
was provided.The text was updated successfully, but these errors were encountered: