-
Notifications
You must be signed in to change notification settings - Fork 187
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
lint x %in% NA in equals_na_linter #2112
Conversation
Codecov Report
@@ Coverage Diff @@
## main #2112 +/- ##
=======================================
Coverage 99.65% 99.65%
=======================================
Files 120 120
Lines 5240 5242 +2
=======================================
+ Hits 5222 5224 +2
Misses 18 18
📢 Have feedback on the report? Share it here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re 3.: I Agree it should be linted in the any_is_na_linter()
Also should test that |
Good call -- the logic was broken ( |
Closes #2088
In writing this I had three follow-up questions
%in%
/==
/!=
(yes)x %in% c(NA, y)
to encourageis.na(x) | x %in% y
(I think no)NA %in% x
(should beanyNA(x)
; I am less sure, maybe it could go underany_is_na_linter()
?)