knitr::opts_chunk$set(
  collapse = TRUE,
  comment = "#>",
  fig.path = "man/figures/README-",
  out.width = "100%"
)

githubr: An R Interface to GitHub

lifecycle R build status AppVeyor build status License: MIT

The goal of githubr is to simplify using GitHub's API. Uses the wonderful gh R package. Inspiration also comes from the gitlabr package.

Installation

You can install the development version of githubr with:

# install.packages("remotes")
remotes::install_github("lwjohnst86/githubr")

Examples

Currently, most of the functionality revolves around Issues. For example, to list issues or labels:

library(githubr)

# See issues
gh_list_issues("lwjohnst86/carpenter")

# See labels.
gh_list_labels("lwjohnst86/githubr")

Contributing

Please note that the 'githubr' project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.



lwjohnst86/githubr documentation built on Aug. 17, 2020, 3:37 a.m.