github_pat {tidytuesdayR} | R Documentation |
Return the local user's GitHub Personal Access Token
Description
Extract the GitHub Personal Access Token (PAT) from the system environment for authenticated requests.
Usage
github_pat(quiet = TRUE)
Arguments
quiet |
Should this be loud? default TRUE. |
Value
a character vector that is your Personal Access Token, or NULL
PAT
A Github 'PAT' is a Personal Access Token. This allows for signed queries to the github api, and increases the limit on the number of requests allowed from 60 to 5000. Follow instructions from <https://happygitwithr.com/github-pat.html> to set the PAT.
Examples
## if you have a personal access token saved, this will return that value
github_pat()
[Package tidytuesdayR version 1.0.3 Index]