Description Usage Arguments Details Value Author(s) Examples
Retrieve the star history of any GitHub repository
1 2 3 | get_repo_star_history(repo)
get_pkg_star_history(pkg)
|
repo |
|
pkg |
|
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.
An object of class c("ghstars_history_tbl", "data.frame") with 5 columns:
repo: Name of the repository
date: Date repository was starred
day: Number of days since first star
stars: Number of stars given at the current date
cumulative_stars: Cumulative number of stars up to current date
Thomas Neitmann
1 2 3 4 | ## Not run:
get_repo_star_history("thomas-neitmann/mdthemes")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.