{
  "_id": "6ad35a1cde48616761a36e18",
  "Package": "gh",
  "Title": "'GitHub' 'API'",
  "Version": "1.6.1.9000",
  "Authors@R": "c(\nperson(\"Gábor\", \"Csárdi\", , \"csardi.gabor@gmail.com\", role = c(\"cre\", \"ctb\")),\nperson(\"Jennifer\", \"Bryan\", role = \"aut\"),\nperson(\"Hadley\", \"Wickham\", role = \"aut\"),\nperson(\"Posit Software, PBC\", role = c(\"cph\", \"fnd\"),\ncomment = c(ROR = \"03wc8by49\"))\n)",
  "Description": "Minimal client to access the 'GitHub' 'API'.",
  "License": "MIT + file LICENSE",
  "URL": "https://gh.r-lib.org/, https://github.com/r-lib/gh",
  "BugReports": "https://github.com/r-lib/gh/issues",
  "VignetteBuilder": "knitr",
  "Config/Needs/website": "tidyverse/tidytemplate",
  "Config/testthat/edition": "3",
  "Config/usethis/last-upkeep": "2025-04-29",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "Config/roxygen2/version": "8.1.0",
  "Config/pak/sysreqs": "libssl-dev",
  "Repository": "https://r-lib.r-universe.dev",
  "Date/Publication": "2026-09-02 09:44:03 UTC",
  "RemoteUrl": "https://github.com/r-lib/gh",
  "RemoteRef": "HEAD",
  "RemoteSha": "0f213cc266882b2a92c7e8380455743436479033",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-10-17 11:13:33 UTC",
    "User": "root"
  },
  "Author": "Gábor Csárdi [cre, ctb],\nJennifer Bryan [aut],\nHadley Wickham [aut],\nPosit Software, PBC [cph, fnd] (ROR: <https://ror.org/03wc8by49>)",
  "Maintainer": "Gábor Csárdi <csardi.gabor@gmail.com>",
  "_user": "r-lib",
  "_type": "src",
  "_file": "gh_1.6.1.9000.tar.gz",
  "_fileid": "https://r2.ropensci.org/5416eebf87849d1831eb1908f603938f041a3b88542b554b2dbfe5bdef10b6eb",
  "_filesize": 188082,
  "_sha256": "5416eebf87849d1831eb1908f603938f041a3b88542b554b2dbfe5bdef10b6eb",
  "_expires": "2027-01-25T11:20:58.000Z",
  "_created": "2026-10-17T11:13:33.000Z",
  "_published": "2026-10-17T11:21:00.353Z",
  "_buildurl": "https://github.com/r-universe/r-lib/actions/runs/39027664607",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_jobs": [
    {
      "job": 117382410411,
      "time": 120,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12098249755"
    },
    {
      "job": 117382410330,
      "time": 121,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12098987603"
    },
    {
      "job": 117382410385,
      "time": 108,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12098853084"
    },
    {
      "job": 117382410416,
      "time": 119,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12099187868"
    },
    {
      "job": 117381809164,
      "time": 196,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12098568712"
    },
    {
      "job": 117382410319,
      "time": 90,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "12098867903"
    },
    {
      "job": 117382410353,
      "time": 54,
      "config": "windows-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "12098453989"
    },
    {
      "job": 117382410339,
      "time": 69,
      "config": "windows-oldrel-x86_64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "12099595372"
    },
    {
      "job": 117382410345,
      "time": 125,
      "config": "windows-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "12099511400"
    }
  ],
  "_upstream": "https://github.com/r-lib/gh",
  "_commit": {
    "id": "0f213cc266882b2a92c7e8380455743436479033",
    "author": "Gábor Csárdi <csardi.gabor@gmail.com>",
    "committer": "Gábor Csárdi <csardi.gabor@gmail.com>",
    "message": "Partitiion cache by auth token\n\nCloses #241.\n",
    "time": 1788342243
  },
  "_maintainer": {
    "name": "Gábor Csárdi",
    "email": "csardi.gabor@gmail.com",
    "login": "gaborcsardi",
    "mastodon": "@gaborcsardi@fosstodon.org",
    "bluesky": "@gaborcsardi.org",
    "description": "",
    "uuid": 660288
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1",
      "role": "Depends"
    },
    {
      "package": "cli",
      "version": ">= 3.0.1",
      "role": "Imports"
    },
    {
      "package": "gitcreds",
      "role": "Imports"
    },
    {
      "package": "glue",
      "role": "Imports"
    },
    {
      "package": "httr2",
      "version": ">= 1.0.6",
      "role": "Imports"
    },
    {
      "package": "ini",
      "role": "Imports"
    },
    {
      "package": "jsonlite",
      "role": "Imports"
    },
    {
      "package": "lifecycle",
      "role": "Imports"
    },
    {
      "package": "rlang",
      "version": ">= 1.1.0",
      "role": "Imports"
    },
    {
      "package": "connectcreds",
      "role": "Suggests"
    },
    {
      "package": "covr",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "rprojroot",
      "role": "Suggests"
    },
    {
      "package": "spelling",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "vctrs",
      "role": "Suggests"
    },
    {
      "package": "webfakes",
      "version": ">= 1.5.0",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "r-lib",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2025-43",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 30
    },
    {
      "week": "2026-23",
      "n": 2
    },
    {
      "week": "2026-26",
      "n": 1
    },
    {
      "week": "2026-30",
      "n": 2
    },
    {
      "week": "2026-36",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v1.6.0",
      "date": "2026-06-06"
    },
    {
      "name": "v1.6.1",
      "date": "2026-07-20"
    }
  ],
  "_topics": [
    "github",
    "github-api"
  ],
  "_stars": 232,
  "_contributors": [
    {
      "user": "gaborcsardi",
      "count": 301,
      "uuid": 660288
    },
    {
      "user": "jennybc",
      "count": 80,
      "uuid": 599454
    },
    {
      "user": "hadley",
      "count": 24,
      "uuid": 4196
    },
    {
      "user": "rundel",
      "count": 5,
      "uuid": 273926
    },
    {
      "user": "gadenbuie",
      "count": 5,
      "uuid": 5420529
    },
    {
      "user": "maelle",
      "count": 5,
      "uuid": 8360597
    },
    {
      "user": "krlmlr",
      "count": 5,
      "uuid": 1741643
    },
    {
      "user": "noamross",
      "count": 4,
      "uuid": 571752
    },
    {
      "user": "cderv",
      "count": 2,
      "uuid": 6791940
    },
    {
      "user": "gdequeiroz",
      "count": 2,
      "uuid": 1934546
    },
    {
      "user": "jimhester",
      "count": 2,
      "uuid": 205275
    },
    {
      "user": "jharmon-gilead",
      "count": 2,
      "uuid": 279061943
    },
    {
      "user": "batpigandme",
      "count": 2,
      "uuid": 831732
    },
    {
      "user": "statnmap",
      "count": 2,
      "uuid": 21193866
    },
    {
      "user": "tanho63",
      "count": 2,
      "uuid": 38083823
    },
    {
      "user": "atheriel",
      "count": 1,
      "uuid": 1448326
    },
    {
      "user": "fmichonneau",
      "count": 1,
      "uuid": 5502922
    },
    {
      "user": "coatless",
      "count": 1,
      "uuid": 833642
    },
    {
      "user": "jvstein",
      "count": 1,
      "uuid": 293465
    },
    {
      "user": "jeroenjanssens",
      "count": 1,
      "uuid": 1368256
    },
    {
      "user": "jeroen",
      "count": 1,
      "uuid": 216319
    },
    {
      "user": "jsta",
      "count": 1,
      "uuid": 7844578
    },
    {
      "user": "lionel-",
      "count": 1,
      "uuid": 4465050
    },
    {
      "user": "roddalben",
      "count": 1,
      "uuid": 41629567
    },
    {
      "user": "realakhmed",
      "count": 1,
      "uuid": 11564041
    },
    {
      "user": "fmkerckhof",
      "count": 1,
      "uuid": 2431458
    }
  ],
  "_userbio": {
    "uuid": 22618716,
    "type": "organization",
    "name": "R infrastructure",
    "followers": 769
  },
  "_downloads": {
    "count": 193976,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/gh"
  },
  "_devurl": "https://github.com/r-lib/gh",
  "_pkgdown": "https://gh.r-lib.org/",
  "_searchresults": 808,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/gh.html",
    "extra/manual.pdf",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE"
  ],
  "_homeurl": "https://github.com/r-lib/gh",
  "_realowner": "r-lib",
  "_cranurl": true,
  "_releases": [
    {
      "version": "1.0.1",
      "date": "2017-07-16"
    },
    {
      "version": "1.1.0",
      "date": "2020-01-24"
    },
    {
      "version": "1.2.0",
      "date": "2020-11-27"
    },
    {
      "version": "1.2.1",
      "date": "2021-04-01"
    },
    {
      "version": "1.3.0",
      "date": "2021-04-30"
    },
    {
      "version": "1.3.1",
      "date": "2022-09-08"
    },
    {
      "version": "1.4.0",
      "date": "2023-02-22"
    },
    {
      "version": "1.4.1",
      "date": "2024-03-28"
    },
    {
      "version": "1.5.0",
      "date": "2025-05-27"
    },
    {
      "version": "1.6.0",
      "date": "2026-05-29"
    },
    {
      "version": "1.6.1",
      "date": "2026-07-20"
    }
  ],
  "_exports": [
    "fake_github_app",
    "gh",
    "gh_first",
    "gh_gql",
    "gh_last",
    "gh_next",
    "gh_prev",
    "gh_rate_limit",
    "gh_rate_limits",
    "gh_token",
    "gh_token_exists",
    "gh_tree_remote",
    "gh_whoami"
  ],
  "_help": [
    {
      "page": "fake_github_app",
      "title": "A fake GitHub web app",
      "topics": [
        "fake_github_app"
      ]
    },
    {
      "page": "gh",
      "title": "Query the GitHub API",
      "topics": [
        "gh"
      ]
    },
    {
      "page": "gh_gql",
      "title": "A simple interface for the GitHub GraphQL API v4.",
      "topics": [
        "gh_gql"
      ]
    },
    {
      "page": "gh_next",
      "title": "Get the next, previous, first or last page of results",
      "topics": [
        "gh_first",
        "gh_last",
        "gh_next",
        "gh_prev"
      ]
    },
    {
      "page": "gh_rate_limit",
      "title": "Return GitHub user's current rate limits",
      "topics": [
        "gh_rate_limit",
        "gh_rate_limits"
      ]
    },
    {
      "page": "gh_token",
      "title": "Return the local user's GitHub Personal Access Token (PAT)",
      "topics": [
        "gh_token",
        "gh_token_exists"
      ]
    },
    {
      "page": "gh_tree_remote",
      "title": "Find the GitHub remote associated with a path",
      "topics": [
        "gh_tree_remote"
      ]
    },
    {
      "page": "gh_whoami",
      "title": "Info on current GitHub user and token",
      "topics": [
        "gh_whoami"
      ]
    },
    {
      "page": "print.gh_response",
      "title": "Print the result of a GitHub API call",
      "topics": [
        "print.gh_response"
      ]
    }
  ],
  "_readme": "https://github.com/r-lib/gh/raw/HEAD/README.md",
  "_rundeps": [
    "askpass",
    "cli",
    "curl",
    "gitcreds",
    "glue",
    "httr2",
    "ini",
    "jsonlite",
    "lifecycle",
    "magrittr",
    "openssl",
    "R6",
    "rlang",
    "sys",
    "vctrs",
    "withr"
  ],
  "_vignettes": [
    {
      "source": "managing-personal-access-tokens.Rmd",
      "filename": "managing-personal-access-tokens.html",
      "title": "Managing Personal Access Tokens",
      "engine": "knitr::rmarkdown",
      "headings": [
        "PAT and host",
        "The gitcreds package",
        "PAT in an environment variable",
        "Recommendations",
        "Failure"
      ],
      "created": "2020-08-20 23:16:33",
      "modified": "2025-04-29 12:57:48",
      "commits": 7
    }
  ],
  "_score": 12.435708608511408,
  "_indexed": true,
  "_nocasepkg": "gh",
  "_universes": [
    "r-lib",
    "gaborcsardi"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "1.6.1.9000",
      "date": "2026-10-17T11:15:38.000Z",
      "distro": "resolute",
      "commit": "0f213cc266882b2a92c7e8380455743436479033",
      "fileid": "https://r2.ropensci.org/2d74d5a327cbd56b236e68a832185f79708d85ebd904e1cd62afa1794cb53fa0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/39027664607"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "1.6.1.9000",
      "date": "2026-10-17T11:15:36.000Z",
      "distro": "resolute",
      "commit": "0f213cc266882b2a92c7e8380455743436479033",
      "fileid": "https://r2.ropensci.org/1ccc66fe08db3712828836ee1f34928f9fa69128727f3832cee593646b707ab4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/39027664607"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "1.6.1.9000",
      "date": "2026-10-17T11:17:26.000Z",
      "commit": "0f213cc266882b2a92c7e8380455743436479033",
      "fileid": "https://r2.ropensci.org/f5ab4a407caea9503997182735c6b8eedd7ed48945400af53c678578599581ea",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/39027664607"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "1.6.1.9000",
      "date": "2026-10-17T11:20:20.000Z",
      "commit": "0f213cc266882b2a92c7e8380455743436479033",
      "fileid": "https://r2.ropensci.org/f82f62fe0c196fd882c3a3ad736e9f31af06a313c1bb9a1b44073de6fe414a52",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/39027664607"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "1.6.1.9000",
      "date": "2026-10-17T11:15:24.000Z",
      "commit": "0f213cc266882b2a92c7e8380455743436479033",
      "fileid": "https://r2.ropensci.org/5e7477738d16e11de2551c873bfd80a414cb9d8d70b68ad6a45ef2bda99416f4",
      "status": "success",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/39027664607"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "1.6.1.9000",
      "date": "2026-10-17T11:14:32.000Z",
      "commit": "0f213cc266882b2a92c7e8380455743436479033",
      "fileid": "https://r2.ropensci.org/4dfc14f8968a8c314e4446a3ec15c36db4595bb3e709f50dd0f3b442d9c29a02",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/39027664607"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "1.6.1.9000",
      "date": "2026-10-17T11:14:42.000Z",
      "commit": "0f213cc266882b2a92c7e8380455743436479033",
      "fileid": "https://r2.ropensci.org/71270f7762c66aa617cf8d193a713f73938d8ef583c1163932c845345181267f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/39027664607"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "1.6.1.9000",
      "date": "2026-10-17T11:15:37.000Z",
      "commit": "0f213cc266882b2a92c7e8380455743436479033",
      "fileid": "https://r2.ropensci.org/22e8a81851ee4313db2f88cfc1297cb314233aecb9f852b9ab00fad8a6c79eaf",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/r-lib/actions/runs/39027664607"
    }
  ]
}