Description Usage Arguments Value Examples
Display the number of downloads from CRAN. Use last-week, last-day, or grand-total, defaults to montly.
1 | badge_cran_downloads(packagename, period = NULL)
|
packagename |
name of the package |
period |
defaults to month, other options are last-week, last-day, grand-total |
markdown
1 | badge_cran_downloads("dplyr", period = "last-week")
|
[1] "[![metacran downloads](https://cranlogs.r-pkg.org/badges/last-week/dplyr)](https://cran.r-project.org/package=dplyr)"
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.