Check if a user is a collaborator

gh_collab_check(path, collaborator, ..., messages = TRUE)

Arguments

path

GitHub repo path of the form "username/repo". If not provided, will default to current repo.

collaborator

The collaborator for whom to call this function.

...

Additional parameters, see https://docs.github.com/en/rest

messages

Logical: Should a message indicating the status of the function be printed? TRUE by default.

Value

TRUE if the individual is a collaborator on the repo; FALSE otherwise.

See also

gh_collab_list() for listing all current repository collaborators.

Other Collaborations: gh_collab_invite(), gh_collab_list(), gh_collab_pending(), gh_collab_remove(), gh_collab_uninvite()