lintr
Static code analysis for R that flags style and correctness problems
lintr makes the native pipe the default rule and clears out a decade of deprecations
◆Recent moves
- 8mo ago
Native pipe required by default; six linters deprecated
⚡ SPARKThe release that turns a style preference into a default rule. Requiring the native pipe puts lintr behind the Tidyverse Style Guide's position, and the accompanying deprecation wave narrows the linter catalog toward the general-purpose replacements.
View source ↗ - 2y ago
False positive and negative fixes; new CRAN maintainer
A precision-focused release across unreachable_code_linter(), unnecessary_lambda_linter() and several assertion linters, plus the handoff of CRAN maintenance from Jim Hester after more than ten years.
View source ↗ - 2y ago
Experimental R-script configs; up-front config validation
Offers .lintr.R as an alternative to the DCF config format — with the maintainers openly saying the DCF approach may eventually be deprecated — and starts validating configs so invalid settings surface as warnings instead of silence.
View source ↗ - 3y ago
Linter renames for consistency; Super-Linter config discovery
Deprecates four linters in favor of more general or consistently named replacements and adds .github/linters as a config location. The start of the consolidation that 3.3.0 finishes.
View source ↗ - 3y ago
Test no longer leaves cache files behind
A single test hygiene fix with no effect on linting.
View source ↗ - 3y ago
function_argument_linter() added; seq_linter() covers dplyr and data.table
Adds a linter for default-argument ordering and extends seq_linter() to 1:n() and 1:.N idioms, showing lintr tracking how R is actually written rather than only base syntax.
View source ↗