tests/testthat/_snaps/gh_rate_limit.md

errors

Code
  gh_rate_limit(list())
Condition
  Error in `gh_rate_limit()`:
  ! inherits(response, "gh_response") is not TRUE
Code
  gh_rate_limits(.token = "bad")
Condition
  Error in `gh()`:
  ! GitHub API error (401): Bad credentials
  i Read more at <https://docs.github.com/rest>


Try the gh package in your browser

Any scripts or data that you put into this service are public.

gh documentation built on June 8, 2025, 10:27 a.m.