Skip to content

Easily install and load packages from the tidylab collection

License

Unknown, MIT licenses found

Licenses found

Unknown
LICENSE
MIT
LICENSE.md
Notifications You must be signed in to change notification settings

tidylab/tidylab

Repository files navigation

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