create-release-checklist

Solid

Create a release checklist and GitHub issue for an R package. Use when the user asks to "create a release checklist" or "start a release" for an R package.

Code & Development 396 stars 34 forks Updated today MIT

Install

View on GitHub

Quality Score: 94/100

Stars 20%
87
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# Create an R Package Release Checklist Generate a release checklist for an R package and create the corresponding GitHub issue. ## Overview This skill guides you through creating a R package release checklist issue on GitHub by: - Determining the current version and prompting for release type. - Generating an initial checklist. - Prompting the user for additional customization. - Creating a GitHub issue from the final checklist. ## Prerequisites - The working directory must be an R package with a `DESCRIPTION` file at the root. - The `usethis` R package must be available. And to enable automatic issue creation: - The `gh` CLI must be installed and authenticated. - The R package must be associated with a GitHub repository. ## Workflow ### Step 1: Validation First, check that the prerequisites are available (in this order for efficiency): 1. Check that the working directory contains a file called `DESCRIPTION`. If not, inform the user that this must be run from an R package root directory and stop. 2. Use `Rscript -e 'utils::packageVersion("usethis")'` to check if the `usethis` package is installed. If not, instruct the user to install it with `install.packages("usethis")`, then stop. 3. Determine the GitHub URL for the repository, if one exists. First try `gh repo view --json url`. If that fails, diagnose the error: - If `gh` is not installed, try running `git remote -v` to find a GitHub URL. - If the local repo does not have a GitHub remote...

Details

Author
posit-dev
Repository
posit-dev/skills
Created
6 months ago
Last Updated
today
Language
R
License
MIT

Integrates with

Similar Skills

Semantically similar based on skill content — not just same category