get_repo_star_history: Retrieve GitHub Repo Star Hisotry

Description Usage Arguments Details Value Author(s) Examples

View source: R/get_stars.R

Description

Retrieve the star history of any GitHub repository

Usage

1
2
3

Arguments

repo

character. Repository name(s) in the form user/reponame

pkg

character. Name of an R package.

Details

get_pkg_star_history() is a shortcut for retrieving the star history of an R package. The function tries to find the GitHub repository of the package. If it succeeds it continues calling get_repo_star_history(). If it fails either a warning or an error is thrown depending on whether a GitHub repo couldn't be found for some or all pkg, respectively.

Value

An object of class c("ghstars_history_tbl", "data.frame") with 5 columns:

Author(s)

Thomas Neitmann

Examples

1
2
3
4
## Not run: 
get_repo_star_history("thomas-neitmann/mdthemes")

## End(Not run)

thomas-neitmann/ghstars documentation built on June 7, 2020, 4:12 a.m.