Package downloads from RStudio CRAN mirror.

get_pkg_downloads(package_name)

Arguments

package_name

Name of the package.

Examples

# last day, week, month and total downloads get_pkg_downloads("dplyr")
#> # A tibble: 1 x 4 #> latest last_week last_month total #> <dbl> <dbl> <dbl> <dbl> #> 1 36019 189492 828650 16527013