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?
We currently have a couple simple diagnostics checkers:
What other similar code smells are out there?