lintr
lintr is a static code analysis tool for the R programming language. It checks R code for stylistic errors, potential bugs, and anti-patterns. The goal of lintr is to help R programmers write cleaner, more readable, and more maintainable code. It enforces a set of style guidelines, often based on the popular Google R Style Guide or the tidyverse style guide.
Users can run lintr on individual R scripts, R packages, or even entire R projects. The tool
The configuration of lintr is flexible, allowing users to enable or disable specific linters, customize their