pkgdev is a small package that includes a set of functions that takes advantage of GitHub Actions (GHA) for making your life easier as a R package developer. This package is primarily intended for personal use, however feel free to use it (at your own risk 😉).
Installation
You can install the developing version of pkgdev
with:
devtools::install_github("dieghernan/pkgdev")
Alternatively, you can install pkgdev
using the
r-universe:
# Enable this universe
options(repos = c(
dieghernan = "https://dieghernan.r-universe.dev",
CRAN = "https://cloud.r-project.org"
))
install.packages("pkgdev")
Example
library(pkgdev)
gha_update_docs()
Related resources
- The tidyverse style guide.
- ThinkR: Preparing your package for a CRAN submission
- Davis Vaughan: extrachecks.
- {usethis} package: Create a release checklist in a GitHub issue
- The whole {usethis} package