cranscrub: Package downloads from the RStudio CRAN mirror with...

View source: R/cranscrub.R

cranscrubR Documentation

Package downloads from the RStudio CRAN mirror with duplicates removed

Description

The arguments behave the same as cranlogs::cran_downloads.

Usage

cranscrub(
  packages = NULL,
  when = c("last-day", "last-week", "last-month"),
  from = "last-day",
  to = "last-day"
)

Arguments

packages

A character vector of CRAN package names

when

Either last-day, last-week or last-month. If this is given then from and to are ignored. NOT implemented yet!

from

Start date in YYYY-MM-DD format.

to

End date in YYYY-MM-DD format.

Examples

cranscrub(packages = "fable", from = "2020-01-03", to = "2020-01-05")

numbats/cranscrub documentation built on July 1, 2022, 4:34 p.m.