badge_cran_downloads: Add a badge for downloads from CRAN

Description Usage Arguments Value Examples

View source: R/badges.R

Description

Display the number of downloads from CRAN. Use last-week, last-day, or grand-total, defaults to montly.

Usage

1
badge_cran_downloads(packagename, period = NULL)

Arguments

packagename

name of the package

period

defaults to month, other options are last-week, last-day, grand-total

Value

markdown

Examples

1
badge_cran_downloads("dplyr", period = "last-week")

badgecreatr documentation built on May 2, 2019, 6:13 a.m.