Skip to content

lintr

3.4.0

A 'Linter' for R Code

179packages depend
806.1Kdownloads / year
98.9%test coverage
13/13checks pass

Overview

About
Maintained by Michael ChiricoFirst published 2014-12-0119 releasesCRAN page ↗GitHub ↗

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

Install

Health

CRAN checks
13OK
Slowest check: 8.1 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 1.36
98.9%
Coverage · measured lines
100%
Documentation · exports
11
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-07-18
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-07-03
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 209 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
97%
Return-value docs
8%
References docs
1%

Downloads

806.1K
CRAN downloads in the past year
Rank #430 · ~2.2K/day · ~67.2K/mo
Daily download trend is not available in this view yet.
59.8K30 days
200.9K90 days
806.1K1 year
Compare downloads with other packages →
Also on26.7K r2u97 autocran67.8K conda_forge

Repository

Repository
1,293Stars
203Forks
291Open issues
10Open PRs
17Releases
2,183Commits
110Contributors
linterr
2,183 commits · Last activity 2026-08-21 · +0.4% stars, 30d

Stars over time

2025-08-09 · 1,2382026-08-21 · 1,293

Repository practices

Upstream repositoryBeta

9 development-tooling and community-health practices detected across 9 families in the upstream repository

Checks run against github.com/r-lib/lintr on 2026-08-16.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
Dev Container
CRAN release process (1)
revdep/
Docs source (1)
README.Rmd
Show all practices
Research and citation (1)
CITATION.cff
Lint, format, editor (1)
RStudio project
Coverage (1)
.covrignore
Governance and community (1)
Support guide
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
19 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
Imports (11)
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

People & History

People (9)
Maintainer (1)
Author, Maintainer · added in 3.0.0
Authors (9)
Author, Maintainer · added in 3.0.0
Author · added in 2.0.0
Author · added in 3.4.0
Author · added in 3.3.0-1
Author · added in 2.0.1
Author · added in 3.0.1
Author · added in 3.0.0
Author · added in 3.0.0
Package Timeline

19 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 3.4.0Latest
    2026-07-16 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 3.3.0-1
    2025-11-27 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 3.2.0
    2025-02-12 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 3.1.2
    2024-03-25 · diff ↗
  • 3.1.1
    2023-11-07 · diff ↗
  • 3.1.0
    2023-07-19 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 3.0.2
    2022-10-19 · diff ↗
  • 3.0.1
    2022-09-13 · diff ↗
  • 3.0.0
    2022-06-14 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • R
    R 4.0.0 released · 2020-04-24
Show 16 earlier events
  • 2.0.1
    2020-02-19 · diff ↗
  • 2.0.0
    2019-10-01 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 1.0.3
    2018-11-08 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 1.0.2
    2017-11-08 · diff ↗
  • 1.0.1
    2017-08-10 · diff ↗
  • R
    R 3.4.0 released · 2017-04-21
  • R
    R 3.3.0 released · 2016-05-03
  • 1.0.0
    2016-04-16 · diff ↗
  • 0.3.3
    2015-09-15 · diff ↗
  • 0.3.2
    2015-09-08 · diff ↗
  • 0.3.1
    2015-09-03 · diff ↗
  • R
    R 3.2.0 released · 2015-04-16
  • 0.2.0
    2014-12-01
  • R
    R 3.1.0 released · 2014-04-10

Package metadata

First published
2014-12-01
Total releases
19 / 12 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Download size
1.1 MB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("lintr")

The authors publish a CITATION.cff, so they have said how they want this cited. Run citation() and use what it gives you.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for lintr version 3.4.0 [Data set]. HJJB, LLC. Data release v2026-08-22. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy