gh_queries: Query Information from GitHub API

Description Usage Arguments Value Examples

Description

Query Information from GitHub API

Usage

1
2
3

Arguments

repo

GitHub repository, formatted as owner/repo.

Value

gh_stargazer_count() returns the count of stargazers for a GitHub repository.

gh_latest_push_datetime() returns the character representation of the datetime for the latest push to a GitHub repository.

Examples

1
2
3
4
if (interactive()) {
    gh_stargazer_count("kevinrue/BiocChallenges")
    gh_latest_push_datetime("kevinrue/BiocChallenges")
}

kevinrue/BiocChallenges2 documentation built on Nov. 2, 2021, 7:49 a.m.