Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
R
 
 
 
 
man
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

pkgverse

lifecycle

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()