# NOT RUN {
## Default is last day for which data is available.
cran_downloads()
## All downloads for 'dplyr' in the last day for which data is available.
cran_downloads(packages = "dplyr")
## Daily downloads for 'igraph' last week
## (6 days prior to the last day for which data is available)
cran_downloads(packages = "igraph", when = "last-week")
## Downloads in the specified time interval
cran_downloads(from = "2014-06-30", to = "2014-08-08")
## Multiple packages
cran_downloads(packages = c("ggplot2", "plyr", "dplyr"))
## R downloads
cran_downloads("R")
# }
Run the code above in your browser using DataLab