Find Tools Needed to Build R Packages
Overview
Provides functions used to build R packages. Locates compilers needed to build R packages on various platforms and ensures the PATH is configured appropriately so R can use them.
- New
Config/build/never-cleanDESCRIPTIONoption to avoid adding--precleantoR CMD INSTALL(e.g., when header files have changed) (@krlmlr, #204). has_rtools()& co. now work correctly on aarch64 Windows, whenRTOOLS45_AARCH64_HOMEis not set (@remlapmot, #203).pkg_build()andpkgbuild_processnow work corrently when building binary packages from non-standard file names (#208).
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-06-08
- ERROR12 OK, 1 ERROR2026-06-07
- OK14 OK2026-03-10
Documentation
- Help pages
- 17 (5 internal)includes a package overview page
- Examples that run
- 100%6 run in a plain check
- Exported functions with examples
- 38%
- Documented parameters
- 92%
- Return-value docs
- 13%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 90%
- Median days to close, 50 most recently updated closed issues
- 1
- Median days to close, 50 most recently updated closed PRs
- 0
Forks over time
Issues over time
PRs over time
Commits over time
Commit identities over time
11 development-tooling and community-health practices detected across 6 families in the upstream repository
Checks run against github.com/r-lib/pkgbuild on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-10-05 · The repository has a site deploy workflow
pkgdown site last built 2025-05-27
Show all practicesHide 2 practices
Dependencies
Installing pkgbuild adds 7 packages (3 with compiled code, 1.3 MB of source tarballs). Heaviest: cli 629 KB, processx 191 KB, ps 168 KB.
Show all 48 packagesHide all 48 packages
Code & Tests
People & History
Previously maintained by Jim Hester (1.0.0 to 1.2.0).
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 1.4.8Latest
- RR 4.5.0 released · 2025-04-11
- 1.4.72025-03-24 · diff ↗
- 1.4.62025-01-16 · diff ↗
- 1.4.52024-10-28 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 1.4.42024-03-17 · diff ↗
- 1.4.32023-12-10 · diff ↗
- 1.4.22023-06-26 · diff ↗
- 1.4.12023-06-14 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 1.4.02022-11-27 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 1.3.12021-12-20 · diff ↗
- 1.3.02021-12-09 · diff ↗
Show 16 earlier eventsHide 16 earlier events
- 1.2.1
- RR 4.1.0 released · 2021-05-18
- 1.2.02020-12-15 · diff ↗
- 1.1.0
- 1.0.82020-05-07 · diff ↗
- 1.0.72020-04-25 · diff ↗
- RR 4.0.0 released · 2020-04-24
- 1.0.62019-10-09 · diff ↗
- 1.0.52019-08-26 · diff ↗
- 1.0.42019-08-06 · diff ↗
- RR 3.6.0 released · 2019-04-26
- 1.0.32019-03-21 · diff ↗
- 1.0.2
- 1.0.1
- 1.0.02018-06-27
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2018-06-27
- Total releases
- 23 / 8 yrs
- License
- MIT + file LICENSE OSI · relicensed from GPL-3 in 1.2.0
- Minimum R
- ≥ 3.5
- Download size
- 50 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("pkgbuild")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.