package_downloads: Summarize package downloads

View source: R/utils.R

package_downloadsR Documentation

Summarize package downloads

Description

A wrapper for cranlogs::cran_downloads() that summarizes the number of package downloads from the RStudio CRAN mirror.

Usage

package_downloads(packages, when = "last-month")

Arguments

packages

A character vector of the packages to query.

when

The period to summarize, one of last-day, last-week or last-month (the default).

Details

By default, the summary is for the last month.

Value

A data frame containing the total number of downloads by package for the specified period, sorted by popularity.


jabenninghoff/rdev documentation built on Sept. 26, 2024, 10:37 p.m.