Functions for setting up a GHE PAT (create_ghe_token()), and accessing the saved PAT (ghe_token()).

ghe_token()

create_ghe_token(scopes = c("repo", "user", "gist", "workflow"))

Arguments

scopes

Character vector of token scopes, pre-selected in the web form. Final choices are made in the GitHub form. Read more about GitHub API scopes at https://docs.github.com/apps/building-oauth-apps/understanding-scopes-for-oauth-apps/.