Skip to content

ghclass

0.4.2Package record

Tools for Managing Classes on GitHub

0packages depend
6.1Kdownloads / year
7.9%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.4.2
  • 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, and org_workflow_permissions() and org_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 to fs::dir_tree().

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 1.8 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.4.2
READMEYes · 179 wordsVignettesNoNEWSYes · 100% structured · mentions 0.4.2Citation fileNoWebsiteYes · pkgdown
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

6.1K
CRAN downloads in the past year
Rank #7,068 · ~17/day · ~508/mo
Daily download trend is not available in this view yet.
45430 days
1.2K90 days
6.1K1 year
Compare downloads with other packages →
Also on109 r2u2 autocran

Repository

148Stars
22Forks
20Open issues
1Open PRs
7Releases
1,196Commits
12Commit identities
License file reads as GPL-3.0 · 1,196 commits · Last activity 2026-10-06 · 0% stars, 30d · Default branch at 0.4.2.9000, ahead of CRAN 0.4.2 (checked 2026-10-18)
Responsiveness
How these are sampled
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

2025-08-24 · 1462026-09-10 · 148
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (2)
pkgdown

GitHub Pages site last deployed 2026-10-06

pkgdown site last built 2026-09-23

Reproducibility and dev environment (1)
Makefile
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Show all practicesHide 1 practice
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-02-15
    Named in .Rbuildignore: .claude, CLAUDE.md
    Named in .gitignore: .claude, CLAUDE.md
    Commits: at least 1 crediting it in the message
Models named in its commits
  • Claude Opus 4.71 commit · May 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
26 external dependencies (excludes base and recommended)

Installing ghclass adds 45 packages (26 with compiled code, 24 MB of source tarballs). Heaviest: stringi 11 MB, fs 1.4 MB, openssl 1.1 MB.

Depends (1)
R >= 3.4.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (3)
Author, Maintainer since 0.2.1 (2022)
Contributor
Releases (6)

Pick two releases to compare their code metrics.

  • 0.4.2Latest
    record
    2026-08-31 · current release · diff ↗ ·
    added 2 exports
    github_token_sitrep, repo_tree
  • 0.4.1
    record
    2026-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.0
    record
    2026-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
  • R
    R 4.6.0 released · 2026-04-24
  • 0.3.1
    record
    2025-05-06 · diff ↗ ·
    added 3 exports
    org_set_workflow_permissions, org_workflow_permissions, repo_pushes
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.3.0
    record
    2024-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
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • 0.2.1
    record
    2022-01-06
  • R
    R 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")
Rundel, C., Anders, T., & Cetinkaya-Rundel, M. (2026). ghclass: Tools for Managing Classes on GitHub (Version 0.4.2) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for ghclass version 0.4.2 [Data set]. HJJB, LLC. Data release v2026-10-22. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy