usethis (version 1.2.0)

use_github_labels: Create standard github labels for labelling issues.

Description

This function creates new labels and changes colours (if needed). It does not generally remove labels, unless you explicit ask to remove GitHub's defaults.

Usage

use_github_labels(delete_default = FALSE, auth_token = NULL, host = NULL)

Arguments

delete_default

If TRUE, will remove default labels.

auth_token

Provide a personal access token (PAT) from https://github.com/settings/tokens. If NULL, will use the GITHUB_PAT environment variable.

host

GitHub API host to use. Override with the endpoint-root for your GitHub enterprise instance, for example, "https://github.hostname.com/api/v3". You can set this globally using the GITHUB_API_URL env var.