Download daily downloads stats from CRAN for any package, and plot.
It can also be used as an auxiliary function to plot
(cranlogs::cran_downloads) results.
Examples
# \donttest{
cran_logs(c("lares", "dplyr"), from = "2021-05-31")
#> $df
#> # A tibble: 4,004 × 3
#> date count package
#> <date> <int> <chr>
#> 1 2026-11-22 56 lares
#> 2 2026-11-22 38719 dplyr
#> 3 2026-11-21 53 lares
#> 4 2026-11-21 39113 dplyr
#> 5 2026-11-20 67 lares
#> 6 2026-11-20 54522 dplyr
#> 7 2026-11-19 134 lares
#> 8 2026-11-19 64167 dplyr
#> 9 2026-11-18 99 lares
#> 10 2026-11-18 66309 dplyr
#> # ℹ 3,994 more rows
#>
#> $plot
#>
# }
