badge_cran_download: badge_cran_download

View source: R/badge.R

badge_cran_downloadR Documentation

badge_cran_download

Description

badge of CRAN downloads

Usage

badge_cran_download(
  pkg = NULL,
  type = c("last-month", "last-week", "grand-total"),
  color = NULL
)

Arguments

pkg

package. If NULL (the default) the package is determined via the DESCRIPTION file.

type

type of stats. last-month, last-week or "grand-total"

color

color of badge

Value

badge in markdown syntax

Author(s)

Gregor de Cillia


GuangchuangYu/badger documentation built on Feb. 9, 2024, 2:15 a.m.