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.2.0
Depends: R (≥ 4.0)
Imports: backports (≥ 1.4.0), cli (≥ 3.4.0), codetools, digest, glue, knitr, rex, stats, utils, xml2 (≥ 1.0.0), xmlparsedata (≥ 1.0.5)
Suggests: bookdown, cyclocomp, jsonlite, patrick (≥ 0.2.0), rlang, rmarkdown, rstudioapi (≥ 0.2), testthat (≥ 3.2.1), tibble, tufte, withr (≥ 2.5.0)
Enhances: data.table
Published: 2025-02-12
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 gmail.com>
BugReports: https://github.com/r-lib/lintr/issues
License: MIT + file LICENSE
URL: https://lintr.r-lib.org, https://github.com/r-lib/lintr
NeedsCompilation: no
Language: en-US
Materials: README NEWS
CRAN checks: lintr results

Documentation:

Reference manual: lintr.pdf
Vignettes: Continuous integration (source, R code)
Creating new linters (source)
Editor setup (source, R code)
Using lintr (source, R code)

Downloads:

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

Reverse dependencies:

Reverse imports: adaptalint, autoharp, box.linters, dupree, gDRstyle, goodpractice, languageserver, PaRe, rhino
Reverse suggests: admiral.test, admiralonco, admiralophtha, admiralvaccine, airnow, ASSIGN, autonewsmd, aws.alexa, babette, BatchQC, BiasCorrector, biolink, box.lsp, BTYDplus, bupaR, caretEnsemble, chimeraviz, cleanepi, cleaR, cloudos, clugenr, cmstatr, cmstatrExt, ConNEcT, connectwidgets, CrossClustering, crunch, dampack, dashboardthemes, dat, data.validator, datacutr, DataFakeR, datarobot, DBItest, demic, DepthProc, describer, designer, devtools, diseasystore, DIZtools, DIZutils, DQAgui, DQAstats, dyn.log, ebvcube, edgarWebR, emayili, epigraphdb, EstimationTools, fakemake, FastRet, FastUtils, fixtuRes, foundry, fscache, FSelectorRcpp, fst, fstcore, gDRutils, geofacet, geogrid, ggcharts, ggfortify, ggRandomForests, ggthemes, highlighter, i18n, INSPECTumours, jpmesh, kdry, LATERmodel, latrend, lifecycle, lightr, lineupjs, logrx, MADMMplasso, maraca, mcbette, MetaScope, mimager, mlexperiments, mlflow, mllrnrs, mlr, mlrCPO, mlsurvlrnrs, modules, mpathsenser, newsmd, NHSRplotthedots, nLTT, openbankeR, osfr, packager, paramix, patterncausality, pcutils, pharmaverseadam, pharmaversesdtm, Plasmidprofiler, PosteriorBootstrap, precommit, prettyB, rasterpdf, ratlas, 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.info, shiny.react, shiny.router, shiny.semantic, SIAtools, simaerep, singleCellTK, sjtable2df, smerc, SQLFormatteR, stencilaschema, supernova, TDA, TDCM, treestats, tsviz, tuber, unifir, upsetjs, urlshorteneR, virustotal, WikidataQueryServiceR, WoodburyMatrix, xgboost

Linking:

Please use the canonical form https://CRAN.R-project.org/package=lintr to link to this page.