'Check how many downloads a CRAN package has?

How can I get simple download metrics for an R package on CRAN?

I recently released my own package on CRAN and I want to monitor it a bit.



Solution 1:[1]

http://cranlogs.r-pkg.org offers a variety of ways to access counts of the number of times a package has been downloaded (not installed) from the RStudio CRAN mirror (only), including an API for generating badges automatically and an R package.

For the mltools package:

Downloads (https://cranlogs.r-pkg.org/badges/mltools)

Downloads in last day (https://cranlogs.r-pkg.org/badges/last-day/mltools)

Grand total (https://cranlogs.r-pkg.org/badges/grand-total/mltools)

Solution 2:[2]

To get metrics of the number of package downloads (not installations) you could also use the following packages:

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Community
Solution 2 petzi