This is a spike to install all packages recognized as “Hadleyverse”
Metacran has very useful API: https://github.com/metacran/crandb#the-raw-api
library(jsonlite)
##
## Attaching package: 'jsonlite'
##
## The following object is masked from 'package:utils':
##
## View
db <- fromJSON("http://crandb.r-pkg.org/-/latest")
hadley_pkgidx <- lapply(db, function(x) grepl("hadley", x$Author, ignore.case = TRUE))
hadley_pkgnames <- names(db)[unlist(hadley_pkgidx)]
hadley_pkgnames
## [1] "assertthat" "babynames" "bigrquery"
## [4] "broom" "cellranger" "classifly"
## [7] "clusterfly" "cowplot" "curl"
## [10] "DescribeDisplay" "devtools" "dplyr"
## [13] "evaluate" "fda" "fueleconomy"
## [16] "geozoo" "GGally" "ggmap"
## [19] "ggplot2" "ggsubplot" "ggvis"
## [22] "gtable" "haven" "hflights"
## [25] "HistData" "httr" "itertools"
## [28] "knitr" "lazyeval" "lubridate"
## [31] "magrittr" "meifly" "memoise"
## [34] "namespace" "nasaweather" "nullabor"
## [37] "nycflights13" "plotrix" "plumbr"
## [40] "plyr" "profr" "pryr"
## [43] "rappdirs" "Rd2roxygen" "readr"
## [46] "readxl" "reshape" "reshape2"
## [49] "rggobi" "rmarkdown" "RMySQL"
## [52] "roxygen2" "RSQLite" "rstudioapi"
## [55] "rvest" "scales" "stringr"
## [58] "testthat" "tidyr" "tourr"
## [61] "tourrGui" "wesanderson" "xml2"
Then, install.
install.packages(hadley_pkgnames)
But I think this is too many. Obviously, we need curated-installHadley()…