r-hub / cranlogs

Download Logs from the RStudio CRAN Mirror
https://r-hub.github.io/cranlogs/
Other
79 stars 13 forks source link

`cranlogs` download counts are haphazardly 0 #44

Closed IndrajeetPatil closed 4 years ago

IndrajeetPatil commented 4 years ago

For example, for dates 2019-10-02 and 2019-10-17 here, the download count is zero.

cranlogs::cran_downloads(
  packages = "ggplot2",
  from = "2019-09-30",
  to = Sys.Date()
)

#>          date count package
#> 1  2019-09-30 40492 ggplot2
#> 2  2019-10-01 42182 ggplot2
#> 3  2019-10-02     0 ggplot2
#> 4  2019-10-03 38139 ggplot2
#> 5  2019-10-04 34742 ggplot2
#> 6  2019-10-05 21580 ggplot2
#> 7  2019-10-06 20301 ggplot2
#> 8  2019-10-07 39840 ggplot2
#> 9  2019-10-08 41505 ggplot2
#> 10 2019-10-09 41291 ggplot2
#> 11 2019-10-10 40191 ggplot2
#> 12 2019-10-11 34916 ggplot2
#> 13 2019-10-12 22149 ggplot2
#> 14 2019-10-13 21523 ggplot2
#> 15 2019-10-14 38852 ggplot2
#> 16 2019-10-15 41294 ggplot2
#> 17 2019-10-16 39713 ggplot2
#> 18 2019-10-17     0 ggplot2
#> 19 2019-10-18     0 ggplot2
#> 20 2019-10-19     0 ggplot2

Created on 2019-10-19 by the reprex package (v0.3.0)

Session info ``` r devtools::session_info() #> - Session info ---------------------------------------------------------- #> setting value #> version R version 3.6.1 (2019-07-05) #> os Windows 10 x64 #> system x86_64, mingw32 #> ui RTerm #> language (EN) #> collate English_United States.1252 #> ctype English_United States.1252 #> tz Europe/Berlin #> date 2019-10-19 #> #> - Packages -------------------------------------------------------------- #> package * version date lib source #> assertthat 0.2.1 2019-03-21 [1] CRAN (R 3.6.0) #> backports 1.1.5 2019-10-02 [1] CRAN (R 3.6.1) #> callr 3.3.2 2019-09-22 [1] CRAN (R 3.6.1) #> cli 1.1.0 2019-03-19 [1] CRAN (R 3.6.0) #> cranlogs 2.1.1.9000 2019-05-09 [1] Github (r-hub/cranlogs@361c9d7) #> crayon 1.3.4 2017-09-16 [1] CRAN (R 3.5.1) #> curl 4.2 2019-09-24 [1] CRAN (R 3.6.1) #> desc 1.2.0 2019-04-03 [1] Github (r-lib/desc@c860e7b) #> devtools 2.2.1 2019-09-24 [1] CRAN (R 3.6.1) #> digest 0.6.21 2019-09-20 [1] CRAN (R 3.6.1) #> ellipsis 0.3.0 2019-09-20 [1] CRAN (R 3.6.1) #> evaluate 0.14 2019-05-28 [1] CRAN (R 3.6.0) #> fs 1.3.1 2019-05-06 [1] CRAN (R 3.6.0) #> glue 1.3.1 2019-03-12 [1] CRAN (R 3.6.0) #> highr 0.8 2019-03-20 [1] CRAN (R 3.6.0) #> htmltools 0.4.0 2019-10-04 [1] CRAN (R 3.6.1) #> httr 1.4.1 2019-08-05 [1] CRAN (R 3.6.1) #> jsonlite 1.6 2018-12-07 [1] CRAN (R 3.6.0) #> knitr 1.25 2019-09-18 [1] CRAN (R 3.6.1) #> magrittr 1.5 2014-11-22 [1] CRAN (R 3.5.1) #> memoise 1.1.0 2017-04-21 [1] CRAN (R 3.6.0) #> pkgbuild 1.0.6 2019-10-09 [1] CRAN (R 3.6.1) #> pkgload 1.0.2 2018-10-29 [1] CRAN (R 3.6.0) #> prettyunits 1.0.2 2015-07-13 [1] CRAN (R 3.5.1) #> processx 3.4.1 2019-07-18 [1] CRAN (R 3.6.1) #> ps 1.3.0 2018-12-21 [1] CRAN (R 3.6.0) #> R6 2.4.0 2019-02-14 [1] CRAN (R 3.6.0) #> Rcpp 1.0.2 2019-07-25 [1] CRAN (R 3.6.1) #> remotes 2.1.0 2019-06-24 [1] CRAN (R 3.6.0) #> rlang 0.4.0 2019-06-25 [1] CRAN (R 3.6.1) #> rmarkdown 1.16 2019-10-01 [1] CRAN (R 3.6.1) #> rprojroot 1.3-2 2018-01-03 [1] CRAN (R 3.5.1) #> sessioninfo 1.1.1 2018-11-05 [1] CRAN (R 3.6.0) #> stringi 1.4.3 2019-03-12 [1] CRAN (R 3.6.0) #> stringr 1.4.0 2019-02-10 [1] CRAN (R 3.6.0) #> testthat 2.2.1 2019-07-25 [1] CRAN (R 3.6.1) #> usethis 1.5.1.9000 2019-10-18 [1] Github (r-lib/usethis@55cff6e) #> withr 2.1.2 2018-03-15 [1] CRAN (R 3.5.1) #> xfun 0.10 2019-10-01 [1] CRAN (R 3.6.1) #> yaml 2.2.0 2018-07-25 [1] CRAN (R 3.5.1) #> #> [1] C:/Users/inp099/Documents/R/win-library/3.6 #> [2] C:/Program Files/R/R-3.6.1/library ```
gaborcsardi commented 4 years ago

Thanks, fixed now.