← Back to home
Comparison · Infra & APIs

downlit vs pkgbuild

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

downlit vs pkgbuild: at a glance

Featuredownlitpkgbuild
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themessyntax highlighting, pkgdown, documentation, autolinkingbuild-tools, rtools, r-lib, devtools
Last editorial update3h ago1h 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 pkgbuild?

A package whose release calendar is written by whoever ships the next Rtools.

pkgbuild is the layer devtools and pak use to run R CMD build and R CMD INSTALL, and most of what it does is know where the compiler is. Six of its last eight releases are about Rtools: supporting Rtools43, 44 and 45, finding installations that did not come from an installer, reading the Windows registry correctly again, and handling aarch64 Windows when the expected environment variable is unset. The feature surface is a handful of Config/build/* DESCRIPTION options for packages with unusual build needs.

Read the full pkgbuild trajectory →

downlit vs pkgbuild: 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.

P
pkgbuild
INFRA · APIS
0.0

A package whose release calendar is written by whoever ships the next Rtools.

◆ Current state

pkgbuild is the layer devtools and pak use to run R CMD build and R CMD INSTALL, and most of what it does is know where the compiler is. Six of its last eight releases are about Rtools: supporting Rtools43, 44 and 45, finding installations that did not come from an installer, reading the Windows registry correctly again, and handling aarch64 Windows when the expected environment variable is unset. The feature surface is a handful of Config/build/* DESCRIPTION options for packages with unusual build needs.

◆ Where it's heading

This is maintenance defined entirely by other people's release schedules — R minor versions, Rtools versions, and the DESCRIPTION options downstream package authors ask for. The one structural change worth noting is that on R 4.3 and later the package stopped special-casing Windows and now tests for build tools by compiling a small package, the same way it always has on Unix. That is the direction: fewer platform branches, more probing.

◆ Prediction

Expect the next release to add support for whichever Rtools ships alongside the next R minor version, and expect the Windows registry lookups to keep shrinking as the compile-probe approach proves out.

Alternatives to downlit and pkgbuild

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

See all downlit alternatives → · See all pkgbuild alternatives →

Recent activity from downlit and pkgbuild

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

  1. 1y agopkgbuildnever-clean build option; aarch64 Windows Rtools detection
  2. 1y agopkgbuildWindows build-tool detection now probes by compiling
  3. 1y agopkgbuildFix Rtools 4.3 and 4.4 discovery on Windows
  4. 2y agodownlitParsing simplified for R 4.0 to avoid a UTF-8 crash
  5. 2y agopkgbuildSupport R 4.4.x and Rtools44
  6. 2y agopkgbuildDrops crayon, rprojroot and prettyunits dependencies
  7. 3y agodownlitFix for upcoming R-devel
  8. 3y agopkgbuildbootstrap.R now runs under pkgbuild_process and pak
  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 pkgbuild?

They serve adjacent needs but don't currently overlap on shipped themes. downlit and pkgbuild 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 pkgbuild?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. downlit and pkgbuild 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 pkgbuild?

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