Learn R Programming

⚠️There's a newer version (0.3.0) of this package.Take me there.

ghclass

Tools for managing GitHub class organization accounts

This R package is designed to enable instructors to efficiently manage their courses on GitHub. It has a wide range of functionality for managing organizations, teams, repositories, and users on GitHub and helps automate most of the tedious and repetitive tasks around creating and distributing assignments.

Install the development version package from GitHub:

# install.packages("remotes")
remotes::install_github("rundel/ghclass")

See package vignette for details on how to use the package.

Peer Review

In order to speed up the process of getting this package submitted to CRAN we have decided to move the peer review functionality to the peer_review branch for the time being. This functionality will be included in the CRAN release as soon as possible, hopefully in the next, v0.2.1, release. If you were using this functionality and need access to a version of ghclass with it then you can install this branch using:

remotes::install_github("rundel/ghclass@peer_review")

GitHub & default branches

Recently, GitHub has announced that they will be changing the default branch for all new repositories on their platform to main from master. Details on this change and the timeline for implementation are available here. In anticipation of these changes we have updated ghclass to support alternative default branch names across the entire package. See the FAQ in the Getting Started vignette for more details.

Copy Link

Version

Install

install.packages('ghclass')

Monthly Downloads

265

Version

0.2.0

License

GPL-3 + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Colin Rundel

Last Published

March 27th, 2024

Functions in ghclass (0.2.0)

repo_details

GitHub Repository tools - repository details
repo_file

GitHub Repository tools - file functions
org_perm

Organization permissions
org_members

Tools for managing organization membership
team_members

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

GitHub user related tools
pr

GitHub Pull Request related tools
repo_notification

GitHub Repository tools - notification functions
local_repo_rename

Rename local directories using a vector of patterns and replacements.
repo_core

GitHub Repository tools - core functions
repo_style

Style repository with styler
repo_user

GitHub Repository tools - user functions
team

Create, delete, and rename teams within an organization
org_details

Obtain details on an organization's repos and teams
org_create_assignment

Create a team or individual assignment
github_api_limit

Tools for limiting gh's GitHub api requests.
action_badge

Add or remove GitHub Actions badges from a repository
github_whoami

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

GitHub Issue related tools
github_with_pat

withr-like functions for temporary personal access token
local_repo

Functions for managing local git repositories
branch

Create and delete branches in a repository
action

Return a data frame containing details on a repository workflow runs.
github_token

Tools for handling GitHub personal access tokens (PAT)