Skip to content

'GitHub' 'API'

29packages dependsuggested by 21
3Mdownloads / year
71.2%test coverage
13/13flavors OK

Overview

About

Minimal client to access the 'GitHub' 'API'.

Changes in 1.6.1
  • The pagination progress bar now reports the real number of records an endpoint holds, even when .limit is set to a large finite value (#239).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.5 min · r-oldrel-macos-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories
Earlier advisories (1)Hide earlier advisories (1)
  • RSEC-2025-0Arbitrary Code Execution (ACE) Vulnerability
    1.1.0 to 1.4.1, fixed in 1.5.0, 2025-07-31, CVE-2025-54956 Low 3.2

Documentation

In release 1.6.1
READMEYes · 434 wordsVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.6.1Citation fileNoWebsiteYes · pkgdown
Help pages
10 (1 internal)includes a package overview page
Examples that run
86%6 run in a plain check (6 of them under a condition) · 1 never run
Exported functions with examples
88%
Documented parameters
98%
Return-value docs
88%
Help pages citing references
0%

Downloads

3M
CRAN downloads in the past year
Rank #237 · ~8.3K/day · ~253.9K/mo
Daily download trend is not available in this view yet.
185.1K30 days
566.9K90 days
3M1 year
Compare downloads with other packages →
Also on120.1K r2u130 autocran229.8K conda_forge2.6K c2d4u

Repository

r-lib/gh ↗Organization: r-lib
232Stars
57Forks
1Open issues
0Open PRs
10Releases
481Commits
28Commit identities
rgithubgithub-api
481 commits · Last activity 2026-09-02 · 0% stars, 30d · Default branch at 1.6.1.9000, ahead of CRAN 1.6.1 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
87%
Median days to close, 50 most recently updated closed issues
42
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-09-19 · 2262026-07-07 · 232
PracticesBeta

15 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/r-lib/gh 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

Governance and community (2)
Code of conductCODEOWNERS
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-09-02 · The repository has a site deploy workflow

pkgdown site last built 2026-07-20

Coverage (2)
Coverage reporting (Codecov).covrignore
Show all practicesHide 2 practices
Reproducibility and dev environment (1)
Makefile
Lint, format, editor (4)
Lint workflowAirVS CodeRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
18 external dependencies (excludes base and recommended)

Installing gh adds 16 packages (10 with compiled code, 6.2 MB of source tarballs). Heaviest: openssl 1.1 MB, jsonlite 1.0 MB, vctrs 1.0 MB.

Depends (1)
R >= 4.1
LinkingTo (0)
none
Enhances (0)
none

People & History

People (4)
Maintainer since 1.0.1 (2017), Contributor
Copyright holder, Funder · added in 1.4.1
Listed in earlier versions (1)
RStudio
no longer listed · 1.2.0 to 1.4.0
Releases (11)

Pick two releases to compare their code metrics.

  • 1.6.1Latest
    record
    2026-07-20 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.6.0
    record
    2025-05-26 · diff ↗ ·
    added 1 export
    fake_github_app
  • 1.5.0
    record
    2025-05-26 · diff ↗ ·
    added 1 export
    gh_token_exists
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 1.4.1◆
    record
    2024-03-28 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.4.0◆
    record
    2023-02-22 · diff ↗ ·
    added 1 export
    gh_rate_limits
  • 1.3.1◆
    record
    2022-09-08 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.3.0◆
    record
    2021-04-30 · diff ↗
  • 1.2.1◆
    record
    2021-04-01 · diff ↗
  • 1.2.0◆
    record
    2020-11-27 · diff ↗ ·
    removed 1 export
    slugify_url
    added 1 export
    gh_rate_limit
  • R
    R 4.0.0 released · 2020-04-24
Show 5 earlier eventsHide 5 earlier events
  • 1.1.0◆
    record
    2020-01-24 · diff ↗ ·
    added 3 exports
    gh_gql, gh_token, slugify_url
  • R
    R 3.6.0 released · 2019-04-26
  • R
    R 3.5.0 released · 2018-04-23
  • 1.0.1
    record
    2017-07-16
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2017-07-16
Total releases
11 / 9 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1
Download size
62 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("gh")
Csárdi, G., Posit Software, PBC, Bryan, J., & Wickham, H. (2026). gh: 'GitHub' 'API' (Version 1.6.1) [Computer software]. https://doi.org/10.32614/CRAN.package.gh

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 gh version 1.6.1 [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