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.1.2
Depends: R (≥ 3.5)
Imports: backports (≥ 1.1.7), codetools, cyclocomp, digest, glue, knitr, rex, stats, utils, xml2 (≥ 1.0.0), xmlparsedata (≥ 1.0.5)
Suggests: bookdown, crayon, httr (≥ 1.2.1), jsonlite, mockery, patrick, rlang, rmarkdown, rstudioapi (≥ 0.2), testthat (≥ 3.1.5), tibble, tufte, withr (≥ 2.5.0)
Enhances: data.table
Published: 2024-03-25
DOI: 10.32614/CRAN.package.lintr
Author: Jim Hester [aut], Florent Angly [aut] (fangly), Russ Hyde [aut], Michael Chirico [aut, cre], Kun Ren [aut], Alexander Rosenstock [aut] (AshesITR), Indrajeet Patil ORCID iD [aut] (@patilindrajeets)
Maintainer: Michael Chirico <michaelchirico4 at>
License: MIT + file LICENSE
NeedsCompilation: no
Language: en-US
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.1.2.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): lintr_3.1.2.tgz, r-oldrel (arm64): lintr_3.1.2.tgz, r-release (x86_64): lintr_3.1.2.tgz, r-oldrel (x86_64): lintr_3.1.2.tgz
Old sources: lintr archive

Reverse dependencies:

Reverse imports: adaptalint, autoharp, box.linters, dupree, gDRstyle, goodpractice, languageserver, PaRe, rhino
Reverse suggests: activatr, admiral.test, admiralonco, admiralophtha, admiralvaccine, airnow, ASSIGN, autonewsmd, aws.alexa, babette, BatchQC, BiasCorrector, biolink, BTYDplus, bupaR, caretEnsemble, chimeraviz, cleanepi, cleaR, cloudos, clugenr, cmstatr, cmstatrExt, ConNEcT, connectwidgets, CrossClustering, crunch, dashboardthemes, dat, data.validator, datacutr, DataFakeR, datarobot, DBItest, demic, DepthProc, describer, designer, devtools, diseasystore, DIZtools, DIZutils, DQAgui, DQAstats, dyn.log, edgarWebR, emayili, epigraphdb, EstimationTools, fakemake, fixtuRes, foundry, fscache, FSelectorRcpp, fst, fstcore, gDRutils, geofacet, geogrid, geohabnet, ggcharts, ggfortify, ggRandomForests, ggthemes, highlighter, i18n, INSPECTumours, jpmesh, kdry, LATERmodel, latrend, lifecycle, lightr, lineupjs, logrx, maraca, MetaScope, mimager, mlexperiments, mlflow, mllrnrs, mlr, mlrCPO, mlsurvlrnrs, modules, mpathsenser, newsmd, NHSRplotthedots, nLTT, openbankeR, osfr, packager, pcutils, pharmaverseadam, pharmaversesdtm, physiology, Plasmidprofiler, PosteriorBootstrap, precommit, prettyB, rasterpdf, rBiasCorrection, rde, rdomains, reactable.extras, REDCapTidieR, requiRements, RestRserve, rextendr, roadoi, RSQL, SCDB, sched, scriptexec, secuTrialR, semantic.dashboard, shiny.benchmark, shiny.blueprint, shiny.emptystate, shiny.gosling, shiny.i18n,, shiny.react, shiny.router, shiny.semantic, SIAtools, simaerep, singleCellTK, sjtable2df, smerc, stencilaschema, supernova, TBSignatureProfiler, TDA, TDCM, treestats, tsviz, tuber, unifir, upsetjs, urlshorteneR, virustotal, WikidataQueryServiceR, WoodburyMatrix, xgboost


Please use the canonical form to link to this page.