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 package is for everyone! But really, if you’re an instructor who uses GitHub for your class management, e.g. students submit assignments via GitHub repos, this package is definitely for you! The package also assumes that you’re an R user, and you probably teach R as well, though that’s not a requirement since this package is all about setting up repositories with the right permissions, not what your students put in those repositories.

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.

Copy Link

Version

Install

install.packages('ghclass')

Monthly Downloads

265

Version

0.1.0

License

GPL-3 + file LICENSE

Issues

Pull Requests

Stars

Forks

Maintainer

Colin Rundel

Last Published

March 27th, 2024

Functions in ghclass (0.1.0)

issue_create

Create an issue
repo_style

Style repository with styler
team_create

Create team(s)
org_teams

Get organization teams
repo_ignore

Ignore repository
repo_set_template

Change the template status of a GitHub repository
repo_watching

Get watched repos
org_team_ids

Get organization teams and their ids
repo_ls

Low level function for listing the contents of a GitHub Repository
github_get_token

Get github token
local_repo_rename

Rename local directories using a vector of patterns and replacements
org_admins

List repository administrators
repo_branches

Get repository branches
peer_form_create_rating

Create author rating form
peer_file_add_rev

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

Invite user(s)
peer_score_review

Collect scores from review forms
org_create_assignment

Create a team or individual assignment
repo_create

Create repository
peer_score_rating

Collect scores from rating forms
repo_clone_url

Get the cloning url for a GitHub repo
repo_get_template

Check if a GitHub repository is a template repository
peer_assign

Assign file to reviewers
peer_return

Return peer feedback to authors
local_repo_clone

Local repository tools
peer_file_add_aut

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

Local repository tools
repo_get_readme

Low level function for retrieving the README of a GitHub Repository
issue_open

Open an issue
peer_roster_create

Create peer review roster
repo_delete

Delete repository
repo_unwatch

Unwatch repository
repo_modify_file

Modify a file within a repository
peer_form_create_review

Create reviewer feedback form
repo_remove_badge

Remove one or more GitHub Action badges
team_rename

Rename existing team(s)
peer_init

Initiate peer review repositories
repo_watch

Watch repository
repo_rename

Rename repository
org_remove

Remove a member from an organization
org_members

Get organization member
org_repos

Get organization repository
repo_put_file

Low level function for adding a file to a Github repository
org_pending

Get pending organization members
repo_get_file

Low level function for retrieving a file from a GitHub Repository
repo_exists

Check existence of GitHub repository
repo_add_file

Add files to a repo
team_repos

Get teams' repos
pr_create

Create pull request
repo_add_badge

Add a GitHub Actions badge
repo_mirror

Mirror repository
repo_add_team

Add a team to a repository
repo_collaborators

List collaborator(s)
team_invite

Add Members to an Organizaton's Team(s)
team_delete

Delete team
team_members

Get team members
repo_mirror_template

Mirror template repository
team_pending

Get pending team members
with_pat

Use Temporary GitHub Access Token
user_exists

Check if username(s) exists
repo_commits

Get repository commits
branch_protect

Protect branch
github_test_token

Test github token
branch_remove

Remove branch
issue_close

Close an issue
github_set_token

Set github token
branch_unprotect

Unprotect branch
ghclass

ghclass: A package for github based classroom and assignment management
branch_create

Create branch
github_reset_token

Reset GitHub token
local_repo

Local repository tools
repo_contributors

Get repository contributor(s)
repo_is_template

Check if a GitHub repository is a template repository
repo_prs

Get repository pull requests
github_whoami

Get github login
org_exists

Check if organization exists
user_type

Check type of a username
user_repos

Get user's repository
repo_delete_file

Function for deleting files from a Github repository
org_repo_stats

Get organization repository
local_repo_log

Local repository tools
org_teams_v4

Get organization teams
repo_n_commits

Get repository commit count
repo_remove_user

Remove a user from a repository
repo_add_user

Add a user to a repository
repo_workflows

Get repository workflows (actions)