We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
expect_lint("# x == NA", NULL, equals_na_linter) #Error: got 1 lints instead of 0 # list(filename = "/tmp/RtmpISkLn0/file28f330767e742d", line_number = 1, column_number = 5, type = "warning", message = "Use is.na rather than == NA.", line = "# x == NA", ranges = list(c(5, 9)), linter = "equals_na_linter")
In fact it doesn't even need to be in a comment:
expect_lint("' x == NA'", NULL, equals_na_linter) #Error: got 1 lints instead of 0 # list(filename = "/tmp/RtmpISkLn0/file28f330767e742d", line_number = 1, column_number = 5, type = "warning", message = "Use is.na rather than == NA.", line = "' x == NA'", ranges = list(c(5, 9)), linter = "equals_na_linter")
The text was updated successfully, but these errors were encountered:
equals_na_linter
Successfully merging a pull request may close this issue.
In fact it doesn't even need to be in a comment:
The text was updated successfully, but these errors were encountered: