Populates the URL
and BugReports
fields of a GitHub-using R package with
appropriate links.
use_github_links(
auth_token = github_token(),
host = "https://api.github.com",
overwrite = FALSE
)
GitHub personal access token (PAT).
GitHub API host to use. Override with the endpoint-root for your GitHub enterprise instance, for example, "https://github.hostname.com/api/v3".
By default, use_github_links()
will not overwrite existing
fields. Set to TRUE
to overwrite existing links.
# NOT RUN {
use_github_links()
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab