Format the label in a simpler format
format_labels(raw_labels, verbose = TRUE)a gh_response object output from the function
gh which contains all the data and metadata for GitHub
labels.
A logical value indicating whether to print additional
information. Default is TRUE.
a list representing labels with simpler structure (with name, description, colour)
if (FALSE) { # \dontrun{
# With labels
raw_labels <- gh::gh(
repo = "rjdemetra",
owner = "rjdverse",
endpoint = "/repos/:owner/:repo/labels",
.limit = Inf
)
format_labels(raw_labels)
} # }