devtools (version 1.13.0)

use_github_links: Add GitHub links to DESCRIPTION.

Description

Populates the URL and BugReports fields of DESCRIPTION with https://github.com/<USERNAME>/<REPO> AND https://github.com/<USERNAME>/<REPO>/issues, respectively, unless those fields already exist.

Usage

use_github_links(pkg = ".", auth_token = github_pat(),
  host = "https://api.github.com")

Arguments

pkg
Path to package. See as.package for more information.
auth_token
Provide a personal access token (PAT) from https://github.com/settings/tokens. Defaults to 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".

See Also

Other git infrastructure: use_git_hook, use_github, use_git