add_badges | R Documentation |
Add badges to the README file for use on Github
add_badges( github_pkg, states = c("active", "abandoned", "concept", "inactive", "moved", "suspended", "unsupported", "wip"), readme_file = "README.md", show_repo_status = TRUE, show_cran_version = TRUE, show_package_version = TRUE, show_min_r = TRUE, show_last_update = TRUE, show_travis = TRUE, show_code_coverage = TRUE )
github_pkg |
The Github repository |
states |
Current software cycle state |
readme_file |
The filename of the readme file |
show_repo_status |
Whether to show the repository status as a badge |
show_cran_version |
Whether to show the CRAN version as a badge |
show_package_version |
Whether to show the package version as a badge |
show_min_r |
Whether to show the minimal R version as a badge |
show_last_update |
Whether to show the last update date as a badge |
show_travis |
Whether to show the Travis test results as a badge (see https://travis-ci.org) |
show_code_coverage |
Whether to show the code coverage as a badge (see https://about.codecov.io/) |
## Not run: add_badges("hvdboorn/hgutils") ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.