auth | R Documentation |
This function is run automatically to allow gistr to access your GitHub account.
auth(app = ro_app, reauth = FALSE)
app |
An |
reauth |
(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.
Interactively login into your GitHub account and authorise with OAuth.
Using GITHUB_PAT
is recommended.
## Not run: auth() auth(reauth = TRUE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.