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
- if_switch_linter counts expressions incorrectly if the argument doesn't use '{'
- Lint `paste(deparse(x), collapse)` in favor of `deparse1()`
- Error in first line of .R script files when missing function parenthesis
- Recommend `crossprod()` / `tcrossprod()`
- recommend canCoerce over try(as())
- Best practices linters from the R documentation
- string_boundary_linter() should recognize substr(x, 0, 1) as well
- New lint: recommend `expect_match()` and `expect_no_match()`
- object_length_linter and object_name_linter crash when lint is called with empty filename
- fix: guard find_package() against empty filename path
- Docs
- R not yet supported