team_invite add members to GitHub Organization Teams.

team_invite(org, user, team, create_missing_teams = TRUE)

Arguments

org

character, name of the GitHub organization

user

character, one or more usernames to invite

team

character, one or more team names

create_missing_teams

logical, if a team does not already exist should it be added to the GitHub organization.

Examples

if (FALSE) { team_invite("ghclass-test", "rundel", c("hw1-team01","hw1-team02")) }