cran_top_downloads: Top downloaded packages from the RStudio CRAN mirror

Description Usage Arguments Details Value See Also Examples

View source: R/cranlogs.R

Description

Top downloaded packages from the RStudio CRAN mirror

Usage

1
2
cran_top_downloads(when = c("last-day", "last-week", "last-month"),
  count = 10)

Arguments

when

last-day, last-week or last-month (see details).

count

Number of packages to list. Note that the DB server lists only at most 100 packages. This number might change in the future.

Details

last-day is the last day for which data is available, last-week is from 6 days prior to that last day with data, last-month is from 29 days prior to that last day with data.

0 counts can be due to the non-availability of data on the RStudio server for that day.

Value

A data frame with columns: rank, package, count, from, to.

See Also

Other CRAN downloads: cran_downloads

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
## Default is last day for which data is available.
cran_top_downloads()

## Last week (6 days prior to the last day for which data is available) 
## instead
cran_top_downloads(when = "last-week")

## End(Not run)

cranlogs documentation built on May 2, 2019, 1:05 p.m.