Skip to contents

Extract information on help-wanted labels for issues

Usage

gh_issue_labels(
  i,
  labels_help = "(help)|(help wanted)|(help-wanted)|(help_wanted)",
  labels_first = "(good first issue)|(beginner)|(good-first-issue)"
)

Arguments

i

Data frame of issues from gh_issue_fmt()

labels_help

Character. Regular expression to match help-wanted labels.

labels_first

Character. Regular expression to meatch good-first-issue labels.

Value

data frame with added label details

Examples

i <- gh_issue_fetch(owner = "ropensci", repo = "weathercan")
i <- gh_issue_fmt(i)
i <- gh_issue_labels(i)