rpkgkit provides utilities for creating and maintaining R packages.
The functions support common development tasks such as managing
standalone scripts, maintaining NEWS.md, modernizing R source,
configuring package infrastructure, and maintaining README files.
Most functions detect the active file context in RStudio and Positron (2026.10.1 or later), so a file path can often be omitted.
Install the released version from CRAN:
install.packages("rpkgkit")
Install the development version from r-universe:
install.packages(
"rpkgkit",
repos = c("https://wanglabcsu.r-universe.dev", "https://cloud.r-project.org")
)
Or install from GitHub (recommended):
pak::pak("WangLabCSU/rpkgkit")
Detailed, copy-ready examples are organized by task in the package website:
NEWS.md entries.We would like to thank the following people and projects:
R/vendor-pedant.R.R/vendor-pkgdev.R.