rcran

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

  • 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 in last month (https://cranlogs.r-pkg.org/badges/last-month/mltools)

    Downloads in last week (https://cranlogs.r-pkg.org/badges/last-week/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)