lintr: A 'Linter' for R Code

Checks adherence to a given style, syntax errors and possible semantic issues. Supports on the fly checking of R code edited with 'RStudio IDE', 'Emacs', 'Vim', 'Sublime Text', 'Atom' and 'Visual Studio Code'.

Package details

AuthorJim Hester [aut], Florent Angly [aut] (GitHub: fangly), Russ Hyde [aut], Michael Chirico [aut, cre] (ORCID: <https://orcid.org/0000-0003-0787-087X>), Kun Ren [aut], Alexander Rosenstock [aut] (GitHub: AshesITR), Indrajeet Patil [aut] (ORCID: <https://orcid.org/0000-0003-1995-6531>), Hugo Gruson [aut] (ORCID: <https://orcid.org/0000-0002-4094-1476>), Emmanuel Ferdman [aut]
MaintainerMichael Chirico <michaelchirico4@gmail.com>
LicenseMIT + file LICENSE
Version3.4.0
URL https://lintr.r-lib.org https://github.com/r-lib/lintr
Package repositoryView on CRAN
Installation Install the latest version of this package by entering the following in R:
install.packages("lintr")

Try the lintr package in your browser

Any scripts or data that you put into this service are public.

lintr documentation built on July 16, 2026, 1:08 a.m.