← Back to home
Comparison · Infra & APIs

pkgbuild vs usethis

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

pkgbuild vs usethis: at a glance

Featurepkgbuildusethis
SectorInfra & APIsInfra & APIs
Velocity score0.00.0
Sparks · 30d00
Top themesbuild-tools, rtools, r-lib, devtoolsdeveloper-tooling, quarto, positron, formatting
Last editorial update1h ago4h 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 usethis?

usethis swaps in the Air formatter and stops assuming RStudio is the editor

usethis is the tidyverse's project-scaffolding tool and, unlike much of the r-lib cohort, is still actively developed. Recent work moves it off its own assumptions: the cli package replaced its homegrown UI layer in 3.0.0, and 3.2.0 replaced tidy-style formatting with Air while widening what counts as a project root.

Read the full usethis trajectory →

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

U
usethis
INFRA · APIS
0.0

usethis swaps in the Air formatter and stops assuming RStudio is the editor

◆ Current state

usethis is the tidyverse's project-scaffolding tool and, unlike much of the r-lib cohort, is still actively developed. Recent work moves it off its own assumptions: the cli package replaced its homegrown UI layer in 3.0.0, and 3.2.0 replaced tidy-style formatting with Air while widening what counts as a project root.

◆ Where it's heading

The direction is de-RStudio-ing. Project detection now recognizes a VS Code settings file, a Quarto config, or an renv lockfile; use_course() opens folders in Positron as readily as RStudio; Quarto is a first-class vignette and project format. usethis is being rebuilt around the editor and format plurality that has grown up around R, and the pre-3.0 RStudio-and-styler era is being deprecated out.

◆ Prediction

Expect Quarto and Positron support to keep filling in - create_quarto_project() is still flagged experimental - and further deprecation of the RStudio-specific and styler-era helpers.

Alternatives to pkgbuild and usethis

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

See all pkgbuild alternatives → · See all usethis alternatives →

Recent activity from pkgbuild and usethis

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

  1. 11mo agousethiscreate_quarto_project() exits early without the Quarto CLI
  2. 11mo agousethisuse_air() adopts the Air formatter; project detection widens
  3. 1y agopkgbuildnever-clean build option; aarch64 Windows Rtools detection
  4. 1y agopkgbuildWindows build-tool detection now probes by compiling
  5. 1y agousethisuse_vignette() and use_article() support Quarto
  6. 1y agopkgbuildFix Rtools 4.3 and 4.4 discovery on Windows
  7. 2y agousethisUI moves to cli; Travis and AppVeyor helpers removed
  8. 2y agopkgbuildSupport R 4.4.x and Rtools44
  9. 2y agousethisCRAN-requested documentation fixes
  10. 2y agopkgbuildDrops crayon, rprojroot and prettyunits dependencies
  11. 3y agousethisVersion comparisons always pass character input
  12. 3y agopkgbuildbootstrap.R now runs under pkgbuild_process and pak

Frequently asked questions

What is the difference between pkgbuild and usethis?

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

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

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