Learn R Programming

usethis (version 3.1.0)

issue-this: Helpers for GitHub issues

Description

The issue_* family of functions allows you to perform common operations on GitHub issues from within R. They're designed to help you efficiently deal with large numbers of issues, particularly motivated by the challenges faced by the tidyverse team.

  • issue_close_community() closes an issue, because it's not a bug report or feature request, and points the author towards Posit Community as a better place to discuss usage (https://forum.posit.co).

  • issue_reprex_needed() labels the issue with the "reprex" label and gives the author some advice about what is needed.

Usage

issue_close_community(number, reprex = FALSE)

issue_reprex_needed(number)

Arguments

number

Issue number

reprex

Does the issue also need a reprex?

Saved replies

Unlike GitHub's "saved replies", these functions can:

  • Be shared between people

  • Perform other actions, like labelling, or closing

  • Have additional arguments

  • Include randomness (like friendly gifs)

Examples

Run this code
if (FALSE) {
issue_close_community(12, reprex = TRUE)

issue_reprex_needed(241)
}

Run the code above in your browser using DataLab