GitHub

github_get_api_limit() github_set_api_limit()

Tools for limiting gh's GitHub api requests.

github_get_token() github_set_token() github_reset_token() github_test_token()

Tools for handling GitHub personal access tokens (PAT)

github_whoami()

Returns the login of the authenticated user (based on the current PAT).

with_pat() local_pat()

withr-like functions for temporary personal access token

Local Repositories

local_repo_add() local_repo_branch() local_repo_clone() local_repo_commit() local_repo_log() local_repo_pull() local_repo_push()

Functions for managing local git repositories

local_repo_rename()

Rename local directories using a vector of patterns and replacements.

Organizations

org_create_assignment()

Create a team or individual assignment

org_exists() org_repo_stats() org_repos() org_team_details() org_teams()

Obtain details on an organization's repos and teams

org_admins() org_invite() org_members() org_pending() org_remove()

Tools for managing organization membership

org_sitrep() org_set_repo_permission()

Organization permissions

Repositories

local_repo_add() local_repo_branch() local_repo_clone() local_repo_commit() local_repo_log() local_repo_pull() local_repo_push()

Functions for managing local git repositories

repo_create() repo_delete() repo_exists() repo_is_template() repo_mirror() repo_mirror_template() repo_rename() repo_set_template()

GitHub Repository tools - core functions

repo_branches() repo_clone_url() repo_commits() repo_issues() repo_n_commits() repo_prs()

GitHub Repository tools - repository details

repo_add_file() repo_delete_file() repo_get_file() repo_get_readme() repo_ls() repo_modify_file() repo_put_file()

GitHub Repository tools - file functions

repo_unwatch() repo_watch() repo_ignore() repo_watching()

GitHub Repository tools - notification functions

repo_style()

Style repository with styler

repo_add_team() repo_add_user() repo_collaborators() repo_contributors() repo_remove_team() repo_remove_user()

GitHub Repository tools - user functions

Users

user_exists() user_repos() user_type()

GitHub user related tools

Teams

team_create() team_delete() team_rename()

Create, delete, and rename teams within an organization

team_invite() team_members() team_pending() team_remove() team_repos()

Tools for inviting, removing, and managing members of an organization team

Issues

issue_close() issue_create()

GitHub Issue related tools

Branches

branch_create() branch_delete() branch_remove()

Create and delete branches in a repository

Pull Requests

pr_create()

GitHub Pull Request related tools

Actions

action_workflows()

Return a data frame containing details on a repository workflows.

action_add_badge() action_remove_badge()

Add or remove GitHub Actions badges from a repository

Peer Review

peer_assign()

Assign file to reviewers

peer_file_add_aut()

Add local files to reviewer-specific folders on authors' repositories

peer_file_add_rev()

Add local files to author-specific folders on reviewers' review repositories

peer_form_create_rating()

Create author rating form

peer_form_create_review()

Create reviewer feedback form

peer_init()

Initiate peer review repositories

peer_return()

Return peer feedback to authors

peer_roster_create()

Create peer review roster

peer_score_rating()

Collect scores from rating forms

peer_score_review()

Collect scores from review forms