Permalink
Browse files

Do not fill in dates in R downloads

We would need to fill in OS, version as well,
so rather we don't fill in anything.
  • Loading branch information...
1 parent f93b268 commit d0b54a8fd6dd330933beff3e6017d5111e0df5fb @gaborcsardi gaborcsardi committed May 4, 2016
Showing with 5 additions and 1 deletion.
  1. +1 −1 R/cranlogs.R
  2. +4 −0 inst/NEWS.md
View
@@ -120,7 +120,7 @@ to_df_r <- function(res1) {
os = vapply(res1$downloads, "[[", "", "os"),
count = vapply(res1$downloads, "[[", 1, "downloads")
)
- fill_in_dates(df, as.Date(res1$start), as.Date(res1$end))
+ df
}
fill_in_dates <- function(df, start, end) {
View
@@ -1,4 +1,8 @@
+# 2.1.1
+
+* Fix R download counts if a day is missing data (e.g. 2015-08-23).
+
# 2.1.0
* Query downloads of R: `cran_downloads("R")`.

0 comments on commit d0b54a8

Please sign in to comment.