Create your own universe of packages à la tidyverse.
You can install the dev version of pkgverse from Github with:
::install_github("mkearney/pkgverse") devtools
Create @hrbrmstr’s tidyweb.
## vector of pkgs
<- c("curl", "jsonlite", "httr", "xml2", "rvest", "purrr", "dplyr",
tidyweb "stringi", "gdns", "urltools", "iptools", "seleniumPipes", "webdriver",
"HARtools", "xslt", "V8", "webreadr", "openssl", "splashr")
## create packages dir
dir.create("~/packages")
## create tidyweb pkgverse
pkgverse("tidyweb", tidyweb,
keep = "~/packages",
use = c("readme_rmd", "rstudio", "testthat", "mit_license", "git"),
install_if = TRUE
)
Now load your pkg universe:
## load tidyweb
library(tidyweb)
0.0.1 ──
── Attaching packages ───────────────────────────────────────────────────────────────────────── tidyweb 3.2 ✔ iptools 0.4.0
✔ curl 1.5 ✔ seleniumPipes 0.3.7
✔ jsonlite 1.3.1 ✔ webdriver 1.0.5
✔ httr 1.2.0 ✔ HARtools 0.0.5
✔ xml2 0.3.2 ✔ xslt 1.3
✔ rvest 0.2.5 ✔ V8 1.5
✔ purrr 0.7.5 ✔ webreadr 0.4.0
✔ dplyr 1.2.2 ✔ openssl 1.0.1
✔ stringi 0.2.1 ✔ splashr 0.4.1
✔ gdns 1.7.0
✔ urltools tidyweb_conflicts() ──
── Conflicts ──────────────────────────────────────────────────────────────────────────── ::back() masks rvest::back()
✖ seleniumPipes::filter() masks stats::filter()
✖ dplyr::flatten() masks jsonlite::flatten()
✖ purrr::handle_reset() masks curl::handle_reset()
✖ httr::lag() masks stats::lag()
✖ dplyr::pluck() masks rvest::pluck()
✖ purrr::set_names() masks purrr::set_names()
✖ magrittr::url_parse() masks xml2::url_parse() ✖ urltools