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,224 × 3
#> date count package
#> <date> <int> <chr>
#> 1 2025-11-04 391 lares
#> 2 2025-11-04 75188 dplyr
#> 3 2025-11-03 338 lares
#> 4 2025-11-03 72633 dplyr
#> 5 2025-11-02 53 lares
#> 6 2025-11-02 46135 dplyr
#> 7 2025-11-01 91 lares
#> 8 2025-11-01 41996 dplyr
#> 9 2025-10-31 165 lares
#> 10 2025-10-31 60029 dplyr
#> # ℹ 3,214 more rows
#>
#> $plot
#>
# }
