Learn R Programming

badgecreatr (version 0.2.0)

badge_cran: Add a badge for CRAN

Description

Shows the version number of the package on CRAN, or <U+201C>not published<U+201D> if the package is not published on CRAN. See https://r-pkg.org/services#badges One of the metacran badges.

Usage

badge_cran(packagename)

Arguments

packagename

the name of your package

Value

markdown

See Also

Other badges: badge_codecov, badge_cran_ago, badge_cran_date, badge_cran_version_ago, badge_cran_version_release, 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_cran("dplyr")
# }

Run the code above in your browser using DataLab