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
We currently have a couple simple diagnostics checkers:
if (x = 1) { ... } # using '=' instead of the probably intended '=='; although note that this is a parse error if (x == NULL) { ... } # use 'is.null()'
What other similar code smells are out there?
The text was updated successfully, but these errors were encountered:
We should warn about unused comparison results, e.g.
x == 10 for (i in seq_len(x)) { ... }
The user likely intended to write x = 10.
x = 10
Sorry, something went wrong.
No branches or pull requests
We currently have a couple simple diagnostics checkers:
What other similar code smells are out there?
The text was updated successfully, but these errors were encountered: