Shared Infrastructure of 'Tidylab' Package Collection

Selection of packages designed to be loaded in concert. The 'tidylab' package collection revolves around project development and deployment. The purpose of this is to make it easy to install and subsequently load those packages.


tidylab

R buildstatus 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

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("tidylab")

4.1.1 by Harel Lustiger, 5 years ago


https://tidylab.github.io/tidylab/, https://github.com/tidylab/tidylab


Report a bug at https://github.com/tidylab/tidylab/issues


Browse source code at https://github.com/cran/tidylab


Authors: Harel Lustiger [aut, cre] , Tidylab [cph, fnd]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports cli, crayon, decorators, dplyr, microservices, purrr, rstudioapi, tibble, usethat

Suggests testthat, withr


See at CRAN