library(readr)
library(dplyr)
library(tools)
Download
start <- as.Date('2014-04-01')
today <- lubridate::today()
days <- seq(start, today, by = 'day')
for (i in seq_along(days)) {
download.file(url = sprintf('http://cran-logs.rstudio.com/2015/%s.csv.gz', days[i]),
destfile = sprintf("~/data/cran-logs/%s.csv.gz", days[i]))
}
Load
files <- list.files("~/data/cran-logs/", "*.gz", full.names = TRUE)
downloads <- list()
length(downloads) <- length(files)
for (i in seq_along(files)) {
downloads[[i]] <- read_csv(gzfile(files[i]))
}
downloads_df <- bind_rows(downloads)
Summarise
all_pkg <- available.packages(contriburl = "http://cran.rstudio.com/src/contrib")
rev_all <- package_dependencies(packages = "ggplot2", all_pkg, which = c("Imports", "Depends"), reverse = TRUE)
downloads_df %>%
filter(package %in% rev_all$ggplot2) %>%
group_by(package) %>%
summarise(count = n()) %>%
arrange(desc(count)) %>%
knitr::kable(.)
| Hmisc |
21222 |
| caret |
10356 |
| ggmap |
6329 |
| GGally |
3298 |
| rms |
2787 |
| microbenchmark |
2293 |
| ggdendro |
2127 |
| mosaic |
1940 |
| ggthemes |
1553 |
| sjPlot |
1216 |
| qgraph |
1204 |
| Deducer |
1097 |
| SmarterPoland |
1084 |
| ez |
985 |
| DepthProc |
981 |
| GOplot |
952 |
| adegenet |
865 |
| qdap |
863 |
| RGraphics |
744 |
| NMF |
657 |
| DVHmetrics |
655 |
| useful |
651 |
| wq |
589 |
| coefplot |
577 |
| erer |
571 |
| choroplethr |
519 |
| pitchRx |
461 |
| treemap |
433 |
| bear |
431 |
| biomod2 |
415 |
| alphahull |
414 |
| dae |
411 |
| PReMiuM |
398 |
| marmap |
394 |
| rgbif |
378 |
| mlr |
374 |
| RcmdrPlugin.KMggplot2 |
358 |
| caretEnsemble |
353 |
| eeptools |
347 |
| marked |
345 |
| gstudio |
338 |
| alm |
337 |
| survMisc |
331 |
| hyperSpec |
324 |
| egcm |
321 |
| SixSigma |
318 |
| NeuralNetTools |
315 |
| rplos |
314 |
| BBEST |
313 |
| BioStatR |
312 |
| DescribeDisplay |
312 |
| gsDesign |
312 |
| OutbreakTools |
310 |
| Biograph |
308 |
| ggparallel |
308 |
| ggsubplot |
308 |
| spcosa |
304 |
| RIGHT |
302 |
| rbison |
302 |
| season |
302 |
| TripleR |
300 |
| benchmark |
300 |
| ggmcmc |
300 |
| classify |
299 |
| fishmove |
297 |
| HLMdiag |
294 |
| userfriendlyscience |
294 |
| popgraph |
293 |
| cplm |
290 |
| PairedData |
288 |
| RSA |
288 |
| BTSPAS |
287 |
| ggRandomForests |
287 |
| DFIT |
286 |
| micromap |
285 |
| rinat |
285 |
| CosmoPhotoz |
283 |
| diveRsity |
282 |
| FAOSTAT |
278 |
| RDS |
275 |
| likert |
275 |
| Crossover |
271 |
| AmpliconDuo |
270 |
| bcrm |
269 |
| dsm |
267 |
| TriMatch |
264 |
| earlywarnings |
264 |
| xkcd |
262 |
| G2Sd |
261 |
| NeatMap |
261 |
| simPH |
261 |
| extracat |
259 |
| FinCal |
256 |
| waffle |
256 |
| poppr |
251 |
| COPASutils |
249 |
| rfigshare |
249 |
| blowtorch |
246 |
| pa |
246 |
| dynsurv |
245 |
| rvertnet |
245 |
| clhs |
244 |
| phylosim |
244 |
| CINOEDV |
243 |
| GSE |
243 |
| profileR |
243 |
| sparkTable |
242 |
| antitrust |
240 |
| pequod |
240 |
| wppExplorer |
239 |
| cooccur |
237 |
| ClimClass |
236 |
| PhaseType |
235 |
| growcurves |
235 |
| DynNom |
234 |
| PAWL |
234 |
| PRISMA |
234 |
| PopED |
234 |
| choroplethrAdmin1 |
234 |
| intsvy |
234 |
| EasyHTMLReport |
233 |
| MCMC.qpcr |
232 |
| kdetrees |
232 |
| EpiDynamics |
231 |
| YourCast |
231 |
| ezsim |
231 |
| bdvis |
230 |
| GCD |
229 |
| bde |
229 |
| ggROC |
229 |
| ngramr |
229 |
| sorvi |
229 |
| apsimr |
228 |
| DTR |
227 |
| breakpoint |
227 |
| cjoint |
225 |
| metagen |
225 |
| PKreport |
224 |
| granovaGG |
224 |
| tvm |
223 |
| Mobilize |
222 |
| ggExtra |
222 |
| likeLTD |
222 |
| orderedLasso |
222 |
| rfPermute |
222 |
| MAVIS |
221 |
| kobe |
221 |
| IAT |
220 |
| chemosensors |
220 |
| perry |
220 |
| spikeSlabGAM |
220 |
| rAltmetric |
219 |
| ProgGUIinR |
218 |
| classyfire |
218 |
| snht |
218 |
| clustrd |
217 |
| confidence |
217 |
| robustHD |
217 |
| robustlmm |
217 |
| tigerstats |
217 |
| GraphPCA |
216 |
| plot2groups |
216 |
| MRMR |
215 |
| PopGenReport |
215 |
| mcprofile |
215 |
| nullabor |
215 |
| ESGtoolkit |
214 |
| PASWR2 |
214 |
| SCGLR |
214 |
| SciencesPo |
214 |
| dcmr |
214 |
| dfexplore |
214 |
| bdscale |
213 |
| bmmix |
213 |
| clifro |
213 |
| mlxR |
212 |
| catenary |
211 |
| ega |
211 |
| plotROC |
210 |
| rfisheries |
210 |
| synthpop |
210 |
| climwin |
209 |
| complmrob |
208 |
| conformal |
208 |
| dynsim |
208 |
| treeclim |
208 |
| cosinor |
207 |
| fSRM |
207 |
| OpasnetUtils |
205 |
| multilevelPSA |
205 |
| primerTree |
205 |
| randomUniformForest |
204 |
| rgauges |
204 |
| slackr |
204 |
| RSDA |
203 |
| Methplot |
202 |
| MissingDataGUI |
202 |
| SMFI5 |
202 |
| ggswissmaps |
202 |
| rSPACE |
202 |
| MCMC.OTU |
201 |
| dslice |
201 |
| oaxaca |
201 |
| timeline |
201 |
| bootnet |
200 |
| spocc |
200 |
| strvalidator |
200 |
| MultiMeta |
199 |
| PSAboot |
199 |
| gapmap |
199 |
| ggenealogy |
199 |
| gpmap |
199 |
| PedCNV |
198 |
| llama |
198 |
| flowr |
197 |
| freqparcoord |
197 |
| localgauss |
197 |
| predictmeans |
197 |
| HistDAWass |
195 |
| pcrcoal |
195 |
| performanceEstimation |
195 |
| proteomics |
195 |
| gettingtothebottom |
194 |
| lmms |
193 |
| pipe.design |
193 |
| Rz |
192 |
| aoristic |
192 |
| optiRum |
192 |
| rorutadis |
192 |
| rotations |
191 |
| meteogRam |
190 |
| radiant |
190 |
| rnoaa |
190 |
| MergeGUI |
189 |
| QualInt |
189 |
| networkreporting |
189 |
| x.ent |
189 |
| sidier |
188 |
| PKgraph |
187 |
| multiDimBio |
187 |
| quadrupen |
187 |
| RFmarkerDetector |
186 |
| Wats |
185 |
| cutoffR |
185 |
| mizer |
185 |
| ncappc |
183 |
| RAM |
181 |
| rWBclimate |
181 |
| rags2ridges |
181 |
| tspmeta |
181 |
| EcoGenetics |
180 |
| TreatmentSelection |
180 |
| statebins |
180 |
| mapDK |
179 |
| sdmvspecies |
179 |
| netgen |
178 |
| pbdPROF |
178 |
| precintcon |
178 |
| soc.ca |
178 |
| HighDimOut |
177 |
| partialAR |
177 |
| pauwels2014 |
176 |
| statar |
176 |
| diffeR |
174 |
| sprm |
174 |
| BACA |
172 |
| gfcanalysis |
171 |
| orgR |
171 |
| pointRes |
171 |
| capm |
170 |
| NORRRM |
169 |
| QCAtools |
169 |
| hierarchicalDS |
169 |
| pRF |
169 |
| sglr |
169 |
| sotkanet |
169 |
| gitter |
167 |
| repra |
167 |
| TcGSA |
166 |
| paleofire |
166 |
| saeSim |
166 |
| tcR |
165 |
| lsbclust |
164 |
| SWMPr |
161 |
| growfunctions |
160 |
| structSSI |
156 |
| metaMix |
155 |
| reproducer |
150 |
| vdg |
148 |
| vmsbase |
148 |
| USAboundaries |
145 |
| vdmR |
145 |
| SeqFeatR |
138 |
| stcm |
121 |
| zooaRch |
107 |
| Causata |
95 |
| P2C2M |
57 |
| qwraps2 |
55 |
| ggtern |
18 |