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,600 × 3
#> date count package
#> <date> <int> <chr>
#> 1 2026-05-11 134 lares
#> 2 2026-05-11 73589 dplyr
#> 3 2026-05-10 52 lares
#> 4 2026-05-10 40753 dplyr
#> 5 2026-05-09 42 lares
#> 6 2026-05-09 42372 dplyr
#> 7 2026-05-08 141 lares
#> 8 2026-05-08 65154 dplyr
#> 9 2026-05-07 116 lares
#> 10 2026-05-07 76273 dplyr
#> # ℹ 3,590 more rows
#>
#> $plot
#>
# }
