← Back to home
Comparison · Infra & APIs

git2r vs pkgdown

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

git2r vs pkgdown: at a glance

Featuregit2rpkgdown
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesgit, r-stats, packaging, system-dependenciesdocumentation, llm-readable, quarto, dark-mode
Last editorial update58m ago2h ago
WebsiteVisit →Visit →

What is git2r?

git2r stopped vendoring libgit2 and now expects it on the system

git2r is the R binding to libgit2. The defining recent change is packaging, not API: 0.35.0 removed the bundled libgit2 source entirely and made a system install of libgit2 1.0 or newer a hard requirement, with a macOS fallback that downloads a checksum-verified static build. 0.36.2 follows up with proxy support and clearer build-time error messages.

Read the full git2r trajectory →

What is pkgdown?

pkgdown now generates llms.txt and a markdown copy of every documentation page

pkgdown builds the documentation sites for most R packages. The 2.1 line was about format and appearance - Quarto vignettes, a light and dark switch, self-hosted assets instead of CDN fetches. The 2.2 line changed audience: build_llm_docs() emits an llms.txt at the site root and a markdown version of every page, on by default.

Read the full pkgdown trajectory →

git2r vs pkgdown: editorial side-by-side

G
git2r
INFRA · APIS
0.0

git2r stopped vendoring libgit2 and now expects it on the system

◆ Current state

git2r is the R binding to libgit2. The defining recent change is packaging, not API: 0.35.0 removed the bundled libgit2 source entirely and made a system install of libgit2 1.0 or newer a hard requirement, with a macOS fallback that downloads a checksum-verified static build. 0.36.2 follows up with proxy support and clearer build-time error messages.

◆ Where it's heading

The package is trading install convenience for a maintainable build, and the releases since are about softening that edge — better diagnostics when the requirement is unmet, documented system dependencies, platform-specific build configuration. The API itself grows slowly and only where the underlying libgit2 exposes something new.

◆ Prediction

Expect further build-configuration and diagnostics work on the unbundled setup, with API additions arriving only as thin wrappers over libgit2 features.

P
pkgdown
INFRA · APIS
0.0

pkgdown now generates llms.txt and a markdown copy of every documentation page

◆ Current state

pkgdown builds the documentation sites for most R packages. The 2.1 line was about format and appearance - Quarto vignettes, a light and dark switch, self-hosted assets instead of CDN fetches. The 2.2 line changed audience: build_llm_docs() emits an llms.txt at the site root and a markdown version of every page, on by default.

◆ Where it's heading

Two audiences are now being served from one build. Human-facing work continues in small increments - dark-mode plot filtering, new translations, a local http server so search works in preview - while the new machine-facing output is opt-out rather than opt-in. The default matters more than the feature: thousands of package sites will start emitting llms.txt without their maintainers choosing to.

◆ Prediction

Expect the markdown output to gain the same configuration surface the HTML has, and the llms.txt contents to get more selective as maintainers discover what ends up in it; a way to exclude individual pages is the obvious next request.

Alternatives to git2r and pkgdown

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 git2r or pkgdown.

See all git2r alternatives → · See all pkgdown alternatives →

Recent activity from git2r and pkgdown

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

  1. 1mo agopkgdownLocal preview served over http so search works
  2. 9mo agopkgdownbuild_llm_docs() emits llms.txt and markdown for every page
  3. 1y agopkgdownMenu items accept class and id attributes
  4. 1y agopkgdownROR IDs, Codeberg support, bslib navbar variables
  5. 1y agogit2rProxy support for clone, fetch, push and remote_ls
  6. 1y agogit2rBundled libgit2 removed; a system install is now required
  7. 1y agopkgdownKeyboard shortcut for search; clean_cache() added
  8. 2y agopkgdownQuarto vignettes, light/dark switch, self-hosted assets
  9. 2y agogit2rRaw blob content and a bump to R 4.0
  10. 3y agogit2rBundled libgit2 updated to 1.6.3
  11. 3y agogit2rUnused autoconf macro removed
  12. 4y agogit2rWindows UCRT build configuration added

Frequently asked questions

What is the difference between git2r and pkgdown?

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

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

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

What are the best alternatives to pkgdown?

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