← Back to home
Comparison · Infra & APIs

downlit vs lintr

A side-by-side editorial comparison of downlit and lintr — release velocity, themes, recent moves, and the top alternatives to consider.

downlit vs lintr: at a glance

Featuredownlitlintr
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themessyntax highlighting, pkgdown, documentation, autolinkingstatic-analysis, linting, code-style, native-pipe
Last editorial update51m ago2h ago
WebsiteVisit →Visit →

What is downlit?

downlit's HTML contract was set in 0.4.0; every release since tracks R itself.

downlit does syntax highlighting and automatic linking of R code to documentation, and is the engine behind pkgdown's code blocks. Version 0.4.0 restructured its output into the class taxonomy themes style against, and 0.4.1 completed it with base pipe support and per-line spans. The three releases since are compatibility fixes for R and R-devel.

Read the full downlit trajectory →

What is lintr?

lintr makes the native pipe the default rule and clears out a decade of deprecations

lintr is the static analysis standard for R packages, and its 3.3.0 release does two things at once: it changes pipe_consistency_linter() to require the native pipe, following the Tidyverse Style Guide, and it completes a long deprecation program — six linters fully deprecated, several arguments defunct, and a batch of functions removed outright. The 3.1.x line before it was accuracy work and a maintainer handoff to Michael Chirico.

Read the full lintr trajectory →

downlit vs lintr: editorial side-by-side

D
downlit
INFRA · APIS
0.0

downlit's HTML contract was set in 0.4.0; every release since tracks R itself.

◆ Current state

downlit does syntax highlighting and automatic linking of R code to documentation, and is the engine behind pkgdown's code blocks. Version 0.4.0 restructured its output into the class taxonomy themes style against, and 0.4.1 completed it with base pipe support and per-line spans. The three releases since are compatibility fixes for R and R-devel.

◆ Where it's heading

The package reached its intended shape in the 0.4.x pair and has been static since. Its work now is reacting to the language and toolchain: a new pipe operator to highlight, an R-devel change to survive, a UTF-8 parsing crash routed around by simplifying the algorithm. Autolinking coverage, which drew steady contributions through 0.4.1, has not been extended since 2022.

◆ Prediction

Expect the next release to track another R or pandoc change rather than extend highlighting or linking.

L
lintr
INFRA · APIS
0.0

lintr makes the native pipe the default rule and clears out a decade of deprecations

◆ Current state

lintr is the static analysis standard for R packages, and its 3.3.0 release does two things at once: it changes pipe_consistency_linter() to require the native pipe, following the Tidyverse Style Guide, and it completes a long deprecation program — six linters fully deprecated, several arguments defunct, and a batch of functions removed outright. The 3.1.x line before it was accuracy work and a maintainer handoff to Michael Chirico.

◆ Where it's heading

The package has been consolidating: overlapping linters renamed and merged, configuration validated up front, and an experimental R-script config offered as a possible replacement for the DCF format. Alongside that, a sustained campaign against false positives and false negatives in individual linters, which is where most contributor effort goes.

◆ Prediction

Expect the six warning-deprecated linters to be removed in the next release as announced, and continued movement on the R-script configuration format if feedback supports it.

Alternatives to downlit and lintr

Other Infra & APIs products tracked by Sparkpulse, ranked by recent ship velocity. Each card links to a full editorial trajectory and lets you pivot into a head-to-head comparison with either downlit or lintr.

See all downlit alternatives → · See all lintr alternatives →

Recent activity from downlit and lintr

Latest ship moves from both products, interleaved chronologically. ⚡ = editorial spark.

  1. 8mo agolintrNative pipe required by default; six linters deprecated
  2. 2y agodownlitParsing simplified for R 4.0 to avoid a UTF-8 crash
  3. 2y agolintrFalse positive and negative fixes; new CRAN maintainer
  4. 2y agolintrExperimental R-script configs; up-front config validation
  5. 3y agolintrLinter renames for consistency; Super-Linter config discovery
  6. 3y agodownlitFix for upcoming R-devel
  7. 3y agolintrTest no longer leaves cache files behind
  8. 3y agolintrfunction_argument_linter() added; seq_linter() covers dplyr and data.table
  9. 4y agodownlithighlight() no longer errors on uninstalled packages
  10. 4y agodownlitBase pipe |> highlighted; per-line spans match pandoc
  11. 4y agodownlitHighlighting restructured into r-in/r-out/r-msg CSS classes
  12. 5y agodownlitVignette autolinking and forced highlighting via div class

Frequently asked questions

What is the difference between downlit and lintr?

They serve adjacent needs but don't currently overlap on shipped themes. downlit and lintr are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is downlit better than lintr?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. downlit and lintr are shipping at a similar cadence (velocity 0.0 vs 0.0, both within Sparkpulse's "active" band). For your specific use case, the alternatives sections above list other Infra & APIs products to evaluate alongside.

What are the best alternatives to downlit?

Top downlit alternatives in Infra & APIs are ranked by recent ship velocity. Browse the "downlit alternatives" section above for the current picks, or visit /alternatives/downlit for the full list with editorial commentary on each.

What are the best alternatives to lintr?

Top lintr alternatives in Infra & APIs are ranked by recent ship velocity. Browse the "lintr alternatives" section above for the current picks, or visit /alternatives/lintr for the full list with editorial commentary on each.