R/utils.R
package_downloads.Rd
A wrapper for cranlogs::cran_downloads() that summarizes the number of package downloads from the RStudio CRAN mirror.
cranlogs::cran_downloads()
package_downloads(packages, when = "last-month")
A character vector of the packages to query.
The period to summarize, one of last-day, last-week or last-month (the default).
last-day
last-week
last-month
A data frame containing the total number of downloads by package for the specified period, sorted by popularity.
By default, the summary is for the last month.