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,114 × 3
#> date count package
#> <date> <int> <chr>
#> 1 2025-09-10 504 lares
#> 2 2025-09-10 73019 dplyr
#> 3 2025-09-09 410 lares
#> 4 2025-09-09 84709 dplyr
#> 5 2025-09-08 435 lares
#> 6 2025-09-08 72245 dplyr
#> 7 2025-09-07 96 lares
#> 8 2025-09-07 39942 dplyr
#> 9 2025-09-06 264 lares
#> 10 2025-09-06 39202 dplyr
#> # ℹ 3,104 more rows
#>
#> $plot
#>
# }