gist_auth: Authorize with GitHub.

Description Usage Arguments Details Examples

View source: R/gist_auth.R

Description

This function is run automatically to allow gistr to access your GitHub account.

Usage

1
gist_auth(app = gistr_app, reauth = FALSE)

Arguments

app

An httr::oauth_app() for GitHub. The default uses an application gistr_oauth created by Scott Chamberlain.

reauth

(logical) Force re-authorization?

Details

There are two ways to authorise gistr to work with your GitHub account:

Using GITHUB_PAT is recommended.

Examples

1
2
3
4
## Not run: 
gist_auth()

## End(Not run)

gistr documentation built on July 29, 2020, 9:07 a.m.