badge_cran_download {badger}R 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


[Package badger version 0.2.4 Index]