`github_get_token`` obtains the user's github authentication token.
github_get_token()
This function looks for the token in the following places (in order):
Value of GITHUB_PAT
environmental variable.
Value of GITHUB_TOKEN
environmental variable.
Contents of ~/.github/token
file.
# NOT RUN {
github_get_token()
# }
# NOT RUN {
# }
Run the code above in your browser using DataLab