Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

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 RStudio Community as a better place to discuss usage (https://community.rstudio.com).

  • 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

## Not run: 
issue_close_community(12)

issue_reprex_needed(241, reprex = TRUE)

## End(Not run)

usethis

Automate Package and Project Setup

v2.0.1
MIT + file LICENSE
Authors
Hadley Wickham [aut] (<https://orcid.org/0000-0003-4757-117X>), Jennifer Bryan [aut, cre] (<https://orcid.org/0000-0002-6983-2759>), RStudio [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.