powered by
This function is run automatically to allow gistr to access your GitHub account.
gist_auth(app = gistr_app, reauth = FALSE)
An oauth_app for GitHub. The default uses an application gistr_oauth created by Scott Chamberlain.
oauth_app
gistr_oauth
(logical) Force re-authorization?
There are two ways to authorise gistr to work with your GitHub account:
Generate a personal access token at https://help.github.com/articles/creating-an-access-token-for-command-line-use and record in the GITHUB_PAT envar.
GITHUB_PAT
Interactively login into your GitHub account and authorise with OAuth.
Using GITHUB_PAT is recommended.
# NOT RUN { gist_auth() # }
Run the code above in your browser using DataLab