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 supported7 Subscribers
Add a CodeTriage badge to lintr
Help out
- Issues
- Make rev(sort(.)) -> sort(decreasing=TRUE) rule optional
- Discourage downstreams using {lintr} in Suggests
- Recommend `if (nzchar(x))` instead of `if (nchar(x))`
- Create portability tag
- commas_linter() could allow spaces before commas to match air
- Add selectors API to Linter() for fast-path filtering
- Recommend `crossprod()` / `tcrossprod()`
- recommend canCoerce over try(as())
- Best practices linters from the R documentation
- New lint: recommend `expect_match()` and `expect_no_match()`
- Docs
- R not yet supported