lintr icon indicating copy to clipboard operation
lintr copied to clipboard

Static Code Analysis for R

Results 314 lintr issues
Sort by recently updated
recently updated
newest added

When a piece of code has two pipes, one nested inside another like in example code below: ```R c("1", "2", "3", "4") |> sapply(function(x) x |> runif() |> mean()) |>...

help wanted :heart:
false-positive

Would there be interest in providing a function that generates an explicit (e.g. defaults explicitly listed and commented) `.lintr.R` configuration. These could be pre-populated templates within the package or generated...

*Related to #2562* Is it possible to add a new lintr to ensure that function calls have no missing or default arguments? For example, the following code will be marked...

help wanted :heart:
object linters 🏀

I thought it might be handy to have a linter that checks for the pattern `fun(x, y, ...)` where `x` and `y` are unnamed arguments and are matched to `fun()`...

help wanted :heart:
object linters 🏀