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'.

Version: 3.0.2
Depends: R (≥ 3.2)
Imports: backports, codetools, crayon, cyclocomp, digest, glue, jsonlite, knitr, rex, stats, utils, xml2 (≥ 1.0.0), xmlparsedata (≥ 1.0.5)
Suggests: covr, httr (≥ 1.2.1), mockery, patrick, pkgdown, rmarkdown, rstudioapi (≥ 0.2), testthat (≥ 3.0.0), tibble, withr (≥ 2.5.0)
Published: 2022-10-19
Author: Jim Hester [aut, cre], Florent Angly [aut] (fangly), Russ Hyde [aut], Michael Chirico [aut], Kun Ren [aut], Alexander Rosenstock [aut] (AshesITR), Indrajeet Patil ORCID iD [aut] (@patilindrajeets)
Maintainer: Jim Hester <james.f.hester at>
License: MIT + file LICENSE
NeedsCompilation: no
Materials: README NEWS
CRAN checks: lintr results


Reference manual: lintr.pdf
Vignettes: Continuous integration
Creating new linters
Editor setup
Using lintr


Package source: lintr_3.0.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): lintr_3.0.2.tgz, r-oldrel (arm64): lintr_3.0.2.tgz, r-release (x86_64): lintr_3.0.2.tgz, r-oldrel (x86_64): lintr_3.0.2.tgz
Old sources: lintr archive

Reverse dependencies:

Reverse imports: adaptalint, autoharp, dupree, goodpractice, languageserver, logrx, PaRe, rhino
Reverse suggests: abbyyR, activatr, admiral, admiral.test, admiraldev, admiralonco, admiralophtha, airnow, ASSIGN, autonewsmd, aws.alexa, babette, beautier, BiasCorrector, biolink, BTYDplus, bupaR, caretEnsemble, chimeraviz, cleaR, cloudos, clugenr, cmstatr, ConNEcT, connectwidgets, crunch, dampack, dashboardthemes, dat, data.validator, datacutr, DataFakeR, datarobot, DBItest, DepthProc, describer, designer, devtools, diffusr, dittodb, DIZtools, DIZutils, DQAgui, DQAstats, dyn.log, edgarWebR, emayili, epigraphdb, EstimationTools, fixtuRes, foundry, FSelectorRcpp, fst, fstcore, fxTWAPLS, geofacet, geogrid, ggcharts, ggfortify, ggRandomForests, ggthemes, i18n, INSPECTumours, jpmesh, kdry, latrend, lifecycle, lineupjs, maraca, mcbette, MetaScope, mimager, mlflow, mlr, mlrCPO, modules, mpathsenser, newsmd, NHSRplotthedots, nLTT, openbankeR, opensensmapr, osfr, physiology, pirouette, Plasmidprofiler, PosteriorBootstrap, precommit, prettyB, PWFSLSmoke, rasterpdf, rBiasCorrection, rbokeh, rde, rdomains, REDCapTidieR, requiRements, RestRserve, rextendr, RLSeq, rnrfa, roadoi, RSQL, scriptexec, secuTrialR, semantic.dashboard, shiny.benchmark, shiny.blueprint, shiny.i18n,, shiny.react, shiny.router, shiny.semantic, shiny.telemetry, simaerep, singleCellTK, sjtable2df, smerc, stencilaschema, supernova, TBSignatureProfiler, TDA, tsviz, tuber, unifir, upsetjs, urlshorteneR, virustotal, wavefunction, WikidataQueryServiceR, WoodburyMatrix, xgboost, xportr


Please use the canonical form to link to this page.