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: 3,880 × 3
#> date count package
#> <date> <int> <chr>
#> 1 2026-09-28 93 lares
#> 2 2026-09-28 70847 dplyr
#> 3 2026-09-27 59 lares
#> 4 2026-09-27 41224 dplyr
#> 5 2026-09-26 57 lares
#> 6 2026-09-26 39316 dplyr
#> 7 2026-09-25 145 lares
#> 8 2026-09-25 69812 dplyr
#> 9 2026-09-24 173 lares
#> 10 2026-09-24 70134 dplyr
#> # ℹ 3,870 more rows
#>
#> $plot
#>
# }
