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
- Recommend using partial sorting where possible
- library_call_linter triggers on library(exclude=) usage
- Lint inefficient ways to check for "integer-ness"
- Catch is.element(class(x), cls) akin to class(x) %in% cls in class_equals_linter
- Combine rules related to regular expressions: regex_linter
- Extend sprintf_linter() for 1-argument calls
- seq_linter() finds seq(1, 10)
- check_file_listing= argument for fixed_regex_linter() to check list.dir(pattern=) [and dir()]
- Combine rules related to pipes: pipe_linter
- Make rev(sort(.)) -> sort(decreasing=TRUE) rule optional
- Docs
- R not yet supported