accept_all_invites {githubr} | R Documentation |
Accept an invite
Description
Given an a user name, accept all invites
Usage
accept_all_invites(git_pat = NULL, verbose = TRUE)
Arguments
git_pat |
Whatever credentials are given are where invites will be accepted from. If none is supplied, then this will attempt to grab from a git pat set in the environment with usethis::create_github_token(). |
verbose |
TRUE/FALSE do you want more progress messages? |
Value
a response from GitHub's API
Examples
## Not run:
# First, set up your GitHub credentials using `usethis::gitcreds_set()`.
# Get a GitHub personal access token (PAT)
usethis::create_github_token()
# Give this token to `gitcreds_set()`
gitcreds::gitcreds_set()
# All invites that have been sent to the PAT you have provided you will be accepted
accept_all_invites()
## End(Not run)
[Package githubr version 0.9.1 Index]