The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.
An easier to use GitHub API wrapper for R
This is really newly under development
if (!("remotes" %in% installed.packages())) {
install.packages("remotes")
}::install_github("fhdsl/githubr") remotes
First, set up your GitHub credentials using
usethis::gitcreds_set()
.
install.packages(c("usethis", "gitcreds"))
# Get a token
usethis::create_github_token()
# Give this token to gitcreds_set()
gitcreds::gitcreds_set()
Now you can rock and roll with githubr
.
Return a TRUE/FALSE if a repo exists:
exists <- check_git_repo("jhudsl/OTTR_Template")
if (exists) message("Yup, this repo exists")
Return a data frame of repos’ information for an organization or user
repos_df <- get_repos("fhdsl")
Return a data frame of issues’ information for a repo
issues_df <- get_issues("jhudsl/OTTR_Template")
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.