Get historical check data for packages

cch_pkgs_history(x, limit = 30, offset = 0, ...)

Arguments

x

package name, required, if you pass in more than one we'll do async

limit

number of records to return. Default: 10

offset

record number to start at. Default: 0

...

Curl options passed to crul::HttpClient() or crul::Async()

Value

list of info about a package(s)

Details

this function gets historical data; for current day check data only see cch_pkgs()

data is only available for 30 days prior to today's date, see the cch_history() function for older data

Examples

if (FALSE) { x <- cch_pkgs_history(x = "geojsonio") x x$data x$data$package x$data$history x$data$history$summary x$data$history$summary$any x$data$history$check_details # many packages res <- cch_pkgs_history(c("geojsonio", "leaflet", "MASS")) res # pagination cch_pkgs_history(x = "geojsonio", limit = 3) cch_pkgs_history(x = "geojsonio", limit = 3, offset = 4) }