pkgverse
Create your own universe of packages Γ la tidyverse.
Installation
You can install the dev version of pkgverse from Github with:
devtools::install_github("mkearney/pkgverse")
Example
Create @hrbrmstrβs tidyweb.
## vector of pkgs
tidyweb <- c("curl", "jsonlite", "httr", "xml2", "rvest", "purrr", "dplyr",
"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)
ββ Attaching packages βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ tidyweb 0.0.1 ββ
β curl 3.2 β iptools 0.4.0
β jsonlite 1.5 β seleniumPipes 0.3.7
β httr 1.3.1 β webdriver 1.0.5
β xml2 1.2.0 β HARtools 0.0.5
β rvest 0.3.2 β xslt 1.3
β purrr 0.2.5 β V8 1.5
β dplyr 0.7.5 β webreadr 0.4.0
β stringi 1.2.2 β openssl 1.0.1
β gdns 0.2.1 β splashr 0.4.1
β urltools 1.7.0
ββ Conflicts ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ tidyweb_conflicts() ββ
β seleniumPipes::back() masks rvest::back()
β dplyr::filter() masks stats::filter()
β purrr::flatten() masks jsonlite::flatten()
β httr::handle_reset() masks curl::handle_reset()
β dplyr::lag() masks stats::lag()
β purrr::pluck() masks rvest::pluck()
β magrittr::set_names() masks purrr::set_names()
β urltools::url_parse() masks xml2::url_parse()