@kevinushey @jonathande4 as promised, here is my report after a few days of usage. The RStudio diagnostics in the new RStudio release (btw, dark theme! ) work fine. The fact they don't still understand NSE in
dplyr
can be a bit annoying at times (for example, iris %>% filter(Species == "setosa")
raises a no symbol named 'Species' in scope
warning), but overall they're improving my code style, by catching the odd =
instead than <-
in places, or stuff such as lack of spaces around infix operators, lack of spaces behind commas...I'm usually quite careful about this stuff, but every now and then a slip happens.
I've also tried lintr
and its integration with RStudio is great, worth more publicity IMO I like most of its suggestions, not all (as natural, after all there is no arguing about matters of taste).
- The diagnostics are more immediate and faster (you don't have to
lint(path\to\file)
each time you edit your code) -
lintr
is more comprehensive and apparently is not confused by NDE
In the end they complement each other nicely.