Science Score: 26.0%
This score indicates how likely this project is to be science-related based on various indicators:
-
â—‹CITATION.cff file
-
✓codemeta.json file
Found codemeta.json file -
✓.zenodo.json file
Found .zenodo.json file -
â—‹DOI references
-
â—‹Academic publication links
-
â—‹Academic email domains
-
â—‹Institutional organization owner
-
â—‹JOSS paper metadata
-
â—‹Scientific vocabulary similarity
Low similarity (16.7%) to scientific vocabulary
Keywords
github
issues
issues-tracker
mileston
r
r-package
rstats
Last synced: 6 months ago
·
JSON representation
Repository
Retrieve GitHub issues 📌 on R
Basic Info
- Host: GitHub
- Owner: TanguyBarthelemy
- License: other
- Language: R
- Default Branch: develop
- Homepage: https://tanguybarthelemy.github.io/IssueTrackeR/
- Size: 480 KB
Statistics
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
- Releases: 5
Topics
github
issues
issues-tracker
mileston
r
r-package
rstats
Created over 1 year ago
· Last pushed 7 months ago
Metadata Files
Readme
Changelog
License
README.Rmd
---
output: github_document
---
```{r, include = FALSE}
knitr::opts_chunk[["set"]](
collapse = TRUE,
comment = "#>",
fig.path = file.path("man", "figures", "README-"),
out.width = "100%"
)
```
# {IssueTrackeR}
[](https://CRAN.R-project.org/package=IssueTrackeR)
[](https://github.com/TanguyBarthelemy/IssueTrackeR/actions/workflows/R-CMD-check.yaml)
[](https://github.com/TanguyBarthelemy/IssueTrackeR/actions/workflows/pkgdown.yaml)
[](https://github.com/TanguyBarthelemy/IssueTrackeR/actions/workflows/lint.yaml)
[](https://app.codecov.io/gh/TanguyBarthelemy/IssueTrackeR)
[](https://www.codefactor.io/repository/github/tanguybarthelemy/issuetracker)
**{IssueTrackeR}** is an R package designed to retrieve and manage GitHub issues directly within R. This package allows users to efficiently track and handle issues from their GitHub repositories.
This package relies a lot on the package [{gh}](https://github.com/r-lib/gh) to use the GitHub API and retrieve data from GitHub.
## Installation
You can install the development version of {IssueTrackeR} from [GitHub](https://github.com/) with:
``` r
# install.packages("remotes")
remotes::install_github("TanguyBarthelemy/IssueTrackeR")
```
## Features
- **Retrieve Issues**: Fetch issues from any (with sufficient rights) GitHub repository.
- **Issue Management**: Class S3 to manage the issues as a datasets within R.
- **Filtering**: Filter issues by labels, content and milestones.
## Usage
```{r, eval = TRUE, echo = TRUE}
library("IssueTrackeR")
```
### Retrieve information from GitHub
To get information from a repository, you can call the functions `get_issues`, `get_labels` and `get_milestones`
```{r, eval = TRUE, echo = TRUE}
# From online
my_issues <- get_issues(source = "online", owner = "jdemetra", repo = "jdplus-main", verbose = FALSE)
my_labels <- get_labels(source = "online", owner = "jdemetra", repo = "jdplus-main")
my_milestones <- get_milestones(source = "online", owner = "jdemetra", repo = "jdplus-main")
```
### Save issues in local
You can also write the datasets in local with `write_issues_to_dataset()`, `write_labels_to_dataset()` and `write_milestones_to_dataset()`:
```{r, eval = TRUE, echo = TRUE}
write_issues_to_dataset(
issues = my_issues,
dataset_dir = tempdir()
)
write_labels_to_dataset(
labels = my_labels,
dataset_dir = tempdir()
)
write_milestones_to_dataset(
milestones = my_milestones,
dataset_dir = tempdir()
)
```
### Options
It is also possible to set option for a R session:
```{r, eval = TRUE, echo = TRUE}
# The directory containing the yaml files in local
options(IssueTrackeR.dataset.dir = tempdir())
# The default GitHub owner
options(IssueTrackeR.owner = "jdemetra")
# the default GitHub repository
options(IssueTrackeR.repo = "jdplus-main")
```
### Retrieve issues from local
Then it's possible to read Issues from local yaml files:
```{r, eval = FALSE, echo = TRUE}
# From local
my_issues <- get_issues(source = "local")
my_labels <- get_labels(source = "local")
my_milestones <- get_milestones(source = "local")
```
### Update full database
You can update your full database of issues, labels and milestones with `update_database()`:
```{r, eval = TRUE, echo = TRUE}
# From online
update_database(verbose = FALSE)
```
## Contributing
Contributions are welcome! Please feel free to submit a pull request or report any issues.
## License
This project is licensed under the MIT License. See the [LICENSE](LICENSE) file for details.
Owner
- Name: Tanguy Barthelemy
- Login: TanguyBarthelemy
- Kind: user
- Location: Montrouge, France
- Company: Insee
- Repositories: 45
- Profile: https://github.com/TanguyBarthelemy
Time Series Methodologist
GitHub Events
Total
- Release event: 2
- Watch event: 2
- Public event: 1
- Push event: 43
- Pull request event: 1
- Create event: 3
Last Year
- Release event: 2
- Watch event: 2
- Public event: 1
- Push event: 43
- Pull request event: 1
- Create event: 3
Issues and Pull Requests
Last synced: 6 months ago
All Time
- Total issues: 0
- Total pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: 5 days
- Total issue authors: 0
- Total pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Past Year
- Issues: 0
- Pull requests: 1
- Average time to close issues: N/A
- Average time to close pull requests: 5 days
- Issue authors: 0
- Pull request authors: 1
- Average comments per issue: 0
- Average comments per pull request: 0.0
- Merged pull requests: 1
- Bot issues: 0
- Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
- TanguyBarthelemy (1)
Top Labels
Issue Labels
Pull Request Labels
Packages
- Total packages: 1
-
Total downloads:
- cran 111 last-month
- Total dependent packages: 0
- Total dependent repositories: 0
- Total versions: 2
- Total maintainers: 1
cran.r-project.org: IssueTrackeR
List Things to Do
- Homepage: https://github.com/TanguyBarthelemy/IssueTrackeR
- Documentation: http://cran.r-project.org/web/packages/IssueTrackeR/IssueTrackeR.pdf
- License: MIT + file LICENSE
-
Latest release: 1.2.0
published 7 months ago
Rankings
Dependent packages count: 26.7%
Dependent repos count: 32.9%
Average: 48.8%
Downloads: 86.7%
Maintainers (1)
Last synced:
6 months ago
Dependencies
.github/workflows/R-CMD-check.yaml
actions
- actions/checkout v4 composite
- r-lib/actions/check-r-package v2 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/check-changelog.yml
actions
- actions/checkout v4 composite
- jbangdev/jbang-action v0.125.1 composite
.github/workflows/lint.yaml
actions
- actions/checkout v4 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
.github/workflows/pkgdown.yaml
actions
- JamesIves/github-pages-deploy-action v4.5.0 composite
- actions/checkout v4 composite
- r-lib/actions/setup-pandoc v2 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
- r-lib/actions/setup-tinytex v2 composite
.github/workflows/test-coverage.yaml
actions
- actions/checkout v4 composite
- actions/upload-artifact v4 composite
- codecov/codecov-action v5 composite
- r-lib/actions/setup-r v2 composite
- r-lib/actions/setup-r-dependencies v2 composite
DESCRIPTION
cran
- R >= 4.1 depends
- crayon * imports
- gh * imports
- tools * imports
- yaml * imports
- spelling * suggests
- testthat >= 3.0.0 suggests