lintr
https://github.com/r-lib/lintr
R
Static Code Analysis for R
Triage Issues!
When you volunteer to triage issues, you'll receive an email each day with a link to an open issue that needs help in this project. You'll also receive instructions on how to triage issues.
Triage Docs!
Receive a documented method or class from your favorite GitHub repos in your inbox every day. If you're really pro, receive undocumented methods or classes and supercharge your commit history.
R not yet supported6 Subscribers
Add a CodeTriage badge to lintr
Help out
- Issues
- Introduce `testthat_skip_linter()`
- allow_avoidable_escapes (?) in single_quotes_linter()
- Add `multiline_call_linter()`
- Collapsing consecutive lints into one
- Use public interface in tests wherever possible (don't use :::)
- brace_linter() should still lint when allow_single_line=TRUE but { is on its own line
- `object_name_linter()` doesn't lint `assign()` and `setGeneric()` calls
- is_numeric_linter also applies in cases like `is.numeric(x) || is.integer(x) || is.factor(x)`
- vector_logic_linter could enforce consistent pairing of scalar vs. vector operators (mixing &/| and &&/||)
- Testing custom `{knitr}` engines without gaining soft dependencies
- Docs
- R not yet supported