Tools for Managing Classes on GitHub
Overview
Interface for the GitHub API that enables efficient management of courses on GitHub. It has a 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.
- Added
github_token_sitrep()to report a token's type, source, scopes, and rate limit, and flag missing scopes that ghclass needs (#144). - API error reports now flag possible token-scope mismatches for authorization-like failures, and include the API's documentation link (#144).
org_sitrep()no longer fails when workflow permissions or admin-only org settings cannot be retrieved, andorg_workflow_permissions()andorg_allows_forking()now report the underlying API error instead of "Failed to find org" (#144).- API requests now bypass gh's response cache (gh >= 1.5), which could otherwise return stale results for recently changed settings or report on a different (or invalid) token (#144).
- Added
repo_tree()to print the file tree of a repository, similar tofs::dir_tree().
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 30 (1 internal)
- Examples that run
- 4%1 run in a plain check · 26 never run
- Exported functions with examples
- 90%
- Documented parameters
- 96%
- Return-value docs
- 97%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 86%
- Median days to close, 50 most recently updated closed issues
- 46
- Median days to close, 50 most recently updated closed PRs
- 1
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
8 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/rundel/ghclass on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Show all practicesHide 1 practice
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-02-15Named in .Rbuildignore: .claude, CLAUDE.mdNamed in .gitignore: .claude, CLAUDE.mdCommits: at least 1 crediting it in the message
- Claude Opus 4.71 commit · May 2026
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.4.2Latest
- 0.4.12026-07-25 · diff ↗ ·
added 6 exports
github_get_max_rate, github_get_max_wait, github_set_max_rate, github_set_max_wait, local_repo_anonymize, team_roster - 0.4.02026-05-08 · diff ↗ ·
added 30 exports
action_run_logs, arg_is_chr, arg_is_chr_scalar, arg_is_lgl, arg_is_lgl_scalar, arg_is_pos_int, arg_is_pos_int_scalar, cli_glue, cli_stop, cli_warn, error, failed, format_repo, get_repo_name, get_repo_owner, ghclass_api_v3_req, github_api_repo_get_file, github_api_repo_tree, match_repo, org_allows_forking, org_grade_assignment, org_repo_forking, org_user_repos, read_bin_file, repo_allows_forking, repo_files, repo_set_forking, result, status_msg, succeeded - RR 4.6.0 released · 2026-04-24
- 0.3.12025-05-06 · diff ↗ ·
added 3 exports
org_set_workflow_permissions, org_workflow_permissions, repo_pushes - RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.3.02024-03-26 · diff ↗ ·
added 11 exports
action_artifact_delete, action_artifact_download, action_artifacts, action_runtime, github_graphql_rate_limit, github_rate_limit, github_token_scopes, pages_create, pages_delete, pages_enabled, pages_status - RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- 0.2.12022-01-06
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2022-01-06
- Total releases
- 6 / 4 yrs
- License
- GPL-3 OSI
- Minimum R
- ≥ 3.4.0
- Download size
- 901 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("ghclass")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-22, which the citation names so these numbers can be found later. More on citing and the projects behind them.