tidylab / tidylab

Easily install and load packages from the tidylab collection

Home Page:https://tidylab.github.io/tidylab/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

tidylab

CRAN status R build status codecov

Overview

tidylab is a set of packages that work in harmony because they share common software design principles – domain driven design (ddd) and microservice architecture. The tidylab package is designed to make it easy to install and load core packages from the tidylab in a single command.

Installation

# Install from CRAN
install.packages("tidylab")
# Or the development version from GitHub
# install.packages("remotes")
remotes::install_github("tidylab/tidylab")

Usage

library(tidylab) will load the core tidylab packages:

  • decorators, for extending the behaviour of a function without explicitly modifying it.
  • microservices, for breaking down a monolithic application to a suite of services.
  • usethat, for automating repetitive tasks that arise during analytic project setup and development.

You also get a condensed summary of conflicts with other packages you have loaded:

library(tidylab)
#> -- Attaching packages ----------------------------------------- tidylab 0.0.1 --
#> v decorators    0.1.0     v R6P           0.2.2
#> v microservices 0.1.2     v usethat       0.3.0
#> Warning: package 'usethat' was built under R version 4.1.1
#> 

You can see conflicts created later with tidylab_conflicts():

library(MASS)
tidylab_conflicts()

And you can check that all tidylab packages are up-to-date with tidylab_update():

tidylab_update()
#> The following packages are out of date:
#>  * broom (0.4.0 -> 0.4.1)
#>  * DBI   (0.4.1 -> 0.5)
#>  * Rcpp  (0.12.6 -> 0.12.7)
#> Update now?
#> 
#> 1: Yes
#> 2: No

About

Easily install and load packages from the tidylab collection

https://tidylab.github.io/tidylab/

License:Other


Languages

Language:R 83.8%Language:Dockerfile 15.5%Language:Makefile 0.7%