MyNixOS website logo
Description

Build a Meta-Package Universe.

Build your own universe of packages similar to the 'tidyverse' package <https://tidyverse.org/> with this meta-package creator. Create a package-verse, or meta package, by supplying a custom name for the collection of packages and the vector of desired package names to include– and optionally supply a destination directory, an indicator of whether to keep the created package directory, and/or a vector of verbs implement via the 'usethis' <http://usethis.r-lib.org/> package.

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

Version

0.0.1

License

Unknown

Platforms (75)

    Darwin
    FreeBSD
    Genode
    GHCJS
    Linux
    MMIXware
    NetBSD
    none
    OpenBSD
    Redox
    Solaris
    WASI
    Windows
Show all
  • aarch64-darwin
  • aarch64-genode
  • aarch64-linux
  • aarch64-netbsd
  • aarch64-none
  • aarch64_be-none
  • arm-none
  • armv5tel-linux
  • armv6l-linux
  • armv6l-netbsd
  • armv6l-none
  • armv7a-darwin
  • armv7a-linux
  • armv7a-netbsd
  • armv7l-linux
  • armv7l-netbsd
  • avr-none
  • i686-cygwin
  • i686-darwin
  • i686-freebsd
  • i686-genode
  • i686-linux
  • i686-netbsd
  • i686-none
  • i686-openbsd
  • i686-windows
  • javascript-ghcjs
  • loongarch64-linux
  • m68k-linux
  • m68k-netbsd
  • m68k-none
  • microblaze-linux
  • microblaze-none
  • microblazeel-linux
  • microblazeel-none
  • mips-linux
  • mips-none
  • mips64-linux
  • mips64-none
  • mips64el-linux
  • mipsel-linux
  • mipsel-netbsd
  • mmix-mmixware
  • msp430-none
  • or1k-none
  • powerpc-netbsd
  • powerpc-none
  • powerpc64-linux
  • powerpc64le-linux
  • powerpcle-none
  • riscv32-linux
  • riscv32-netbsd
  • riscv32-none
  • riscv64-linux
  • riscv64-netbsd
  • riscv64-none
  • rx-none
  • s390-linux
  • s390-none
  • s390x-linux
  • s390x-none
  • vc4-none
  • wasm32-wasi
  • wasm64-wasi
  • x86_64-cygwin
  • x86_64-darwin
  • x86_64-freebsd
  • x86_64-genode
  • x86_64-linux
  • x86_64-netbsd
  • x86_64-none
  • x86_64-openbsd
  • x86_64-redox
  • x86_64-solaris
  • x86_64-windows