Learn R Programming

badgecreatr (version 0.2.0)

badge_codecov: CodeCoverage ' ' Adds a code cov badge

Description

Adds codecov badge

Usage

badge_codecov(ghaccount = NULL, ghrepo = NULL, branch = NULL,
  location = ".")

Arguments

ghaccount

Github account name

ghrepo

Github repository name

branch

branch name such as master, develop etc

location

defaults to current location

Value

markdown

See Also

Other badges: badge_cran_ago, badge_cran_date, badge_cran_version_ago, badge_cran_version_release, badge_cran, badge_github_fork, badge_github_star, badge_last_change_static, badge_last_change, badge_license, badge_minimal_r_version, badge_packageversion, badge_projectstatus, badge_rank, badge_rdocumentation, badge_thanks_md, badge_travis

Examples

Run this code
# NOT RUN {
badge_codecov(ghaccount = "johntest", ghrepo = "yourreponame", branch = "master")
# }

Run the code above in your browser using DataLab