-
Notifications
You must be signed in to change notification settings - Fork 0
/
README.Rmd
59 lines (43 loc) · 1.69 KB
/
README.Rmd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
---
output: github_document
---
<!-- README.md is generated from README.Rmd. Please edit that file -->
```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# githubr: An R Interface to GitHub
<!-- badges: start -->
[![lifecycle](https://img.shields.io/badge/lifecycle-experimental-orange.svg)](https://www.tidyverse.org/lifecycle/#experimental)
[![R build status](https://github.com/rostools/githubr/workflows/R-CMD-check/badge.svg)](https://github.com/rostools/githubr/actions)
[![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/lwjohnst86/githubr?branch=master&svg=true)](https://ci.appveyor.com/project/lwjohnst86/githubr)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
<!-- badges: end -->
The goal of githubr is to simplify using GitHub's API. Uses the wonderful [gh] R
package. Inspiration also comes from the [gitlabr] package.
[gh]: https://github.com/r-lib/gh
[gitlabr]: https://CRAN.R-project.org/package=gitlabr
## Installation
You can install the development version of githubr with:
```{r, eval=FALSE}
# install.packages("remotes")
remotes::install_github("lwjohnst86/githubr")
```
## Examples
Currently, most of the functionality revolves around Issues. For example, to
list issues or labels:
```{r}
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](CODE_OF_CONDUCT.md). By contributing to this project, you agree to
abide by its terms.