Query Information from GitHub API

gh_stargazer_count(repo)

gh_latest_push_datetime(repo)

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

if (interactive()) {
    gh_stargazer_count("kevinrue/BiocChallenges")
    gh_latest_push_datetime("kevinrue/BiocChallenges")
}