← Back to home
Comparison · Infra & APIs

pkgbuild vs roxygen2

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

Shared themes:devtools

pkgbuild vs roxygen2: at a glance

Featurepkgbuildroxygen2
SectorInfra & APIsInfra & APIs
Velocity score0.02.5
Sparks · 30d00
Top themesbuild-tools, rtools, r-lib, devtoolsr, documentation, devtools, dependencies
Last editorial update1h ago6h ago
WebsiteVisit →Visit →

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 →

What is roxygen2?

roxygen2 8.0 cut stringi out of the entire devtools dependency tree.

roxygen2 turns inline comments into R documentation and NAMESPACE files. The 8.0.0 release was as much about dependencies as features: dropping purrr, stringr and stringi means nothing in the devtools constellation pulls in stringi, long a persistent install obstacle on constrained Linux systems. 8.1.0 follows with markdown correctness work and cached link resolution.

Read the full roxygen2 trajectory →

pkgbuild vs roxygen2: editorial side-by-side

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.

R
roxygen2
INFRA · APIS
2.5

roxygen2 8.0 cut stringi out of the entire devtools dependency tree.

◆ Current state

roxygen2 turns inline comments into R documentation and NAMESPACE files. The 8.0.0 release was as much about dependencies as features: dropping purrr, stringr and stringi means nothing in the devtools constellation pulls in stringi, long a persistent install obstacle on constrained Linux systems. 8.1.0 follows with markdown correctness work and cached link resolution.

◆ Where it's heading

The package is investing in the documentation toolchain beneath it — a new rdtools package supplies cached indexes so link targets and inherited Rd topics resolve without repeated help() lookups. Running alongside is steady correction of markdown handling, where multibyte characters inside Rd tags had been corrupting everything that followed.

◆ Prediction

Expect more Rd processing to migrate into rdtools, and further link-resolution changes now that all generated links share a single code path.

Alternatives to pkgbuild and roxygen2

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

See all pkgbuild alternatives → · See all roxygen2 alternatives →

Recent activity from pkgbuild and roxygen2

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

  1. 8d agoroxygen2roxygen2 8.1.0 resolves links via cached rdtools indexes
  2. 3mo agoroxygen2roxygen2 8.0.0 drops stringi from the devtools dependency chain
  3. 11mo agoroxygen2roxygen2 7.3.3 auto-resolves markdown links to external topics
  4. 1y agopkgbuildnever-clean build option; aarch64 Windows Rtools detection
  5. 1y agopkgbuildWindows build-tool detection now probes by compiling
  6. 1y agopkgbuildFix Rtools 4.3 and 4.4 discovery on Windows
  7. 2y agoroxygen2roxygen2 7.3.2 disables cli hyperlinks in included Rmd
  8. 2y agopkgbuildSupport R 4.4.x and Rtools44
  9. 2y agoroxygen2roxygen2 7.3.1 fixes @importFrom for quoted non-syntactic names
  10. 2y agoroxygen2roxygen2 7.3.0 reports S3 methods missing @export
  11. 2y agopkgbuildDrops crayon, rprojroot and prettyunits dependencies
  12. 3y agopkgbuildbootstrap.R now runs under pkgbuild_process and pak

Frequently asked questions

What is the difference between pkgbuild and roxygen2?

Both compete on the same themes — devtools — within Infra & APIs. roxygen2 is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. See the at-a-glance table above for a side-by-side breakdown of velocity, recent sparks, and editorial themes.

Is pkgbuild better than roxygen2?

Sparkpulse doesn't pick a winner — we score release velocity, not feature parity. roxygen2 is currently shipping more aggressively (velocity 2.5 vs 0.0), with 0 editorial sparks in the last 30 days against 0. For your specific use case, the alternatives sections above list other Infra & APIs products to evaluate alongside.

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.

What are the best alternatives to roxygen2?

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