https://github.com/moodymudskipper/ghstudio
Experimental tools to use git/github with RStudio
https://github.com/moodymudskipper/ghstudio
Last synced: about 1 month ago
JSON representation
Experimental tools to use git/github with RStudio
- Host: GitHub
- URL: https://github.com/moodymudskipper/ghstudio
- Owner: moodymudskipper
- Created: 2022-04-01T16:33:45.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-01T17:00:28.000Z (about 3 years ago)
- Last Synced: 2025-01-20T21:52:16.910Z (3 months ago)
- Language: R
- Size: 6.84 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
Awesome Lists containing this project
- jimsghstars - moodymudskipper/ghstudio - Experimental tools to use git/github with RStudio (R)
README
---
output: github_document
---```{r, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```# ghstudio
Experimental tools to use git/github with RStudio, e.g see issues and diffs in the viewer
## Installation
install with :
``` r
remotes::install_github("moodymudskipper/ghstudio")
```## Example
```{r, eval = FALSE}
# view single issue thread
view_issue(1, "RDatatable/data.table")
# view list of issues, with optional filters (see next block)
view_issues("RDatatable/data.table")# repo is guessed from DESCRIPTION if not provided
view_mentions("moodymudskipper", repo = "RDatatable/data.table")
view_created("moodymudskipper", repo = "RDatatable/data.table")
view_assigned("moodymudskipper", repo = "RDatatable/data.table")
# and 1st arg is optional
options(ghstudio.github_name = "moodymudskipper")
view_mentions(repo = "RDatatable/data.table")# view diff in viewer, only on local git project for now
view_diff(sha1, sha2) # with more options passed to diffobj::diffFile()
``````{r}
library(ghstudio)
lapply(mget(sort(getNamespaceExports("ghstudio")), inherits = TRUE), args)
```