Skip to contents

Overview

The healthyverse is a set of packages that work in harmony because they share common data representations and API design. The healthyverse package is designed to make it easy to install and load core packages from the healthyverse in a single command.

Installation

# Install from CRAN
install.packages("healthyverse")
# Or the development version from GitHub
# install.packages("devtools")
devtools::install_github("spsanderson/healthyverse")

Usage

library(healthyverse) will load the core healthyverse packages:

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

library(healthyverse)
#> ── Attaching packages ─────────────────────────────── healthyverse 1.0.4.9000 ──
#> ✔ healthyR      0.2.2          ✔ TidyDensity   1.5.0     
#> ✔ healthyR.data 1.1.1          ✔ tidyAML       0.0.5.9000
#> ✔ healthyR.ts   0.3.0.9000     ✔ RandomWalker  0.1.0     
#> ✔ healthyR.ai   0.1.0
#> Warning: package 'healthyR.data' was built under R version 4.3.3
#> Warning: package 'TidyDensity' was built under R version 4.3.3
#> Warning: package 'parsnip' was built under R version 4.3.3
#> Warning: package 'RandomWalker' was built under R version 4.3.3
#> ── Conflicts ─────────────────────────────────────── healthyverse_conflicts() ──
#> ✖ tidyAML::check_duplicate_rows() masks TidyDensity::check_duplicate_rows()
#> ✖ tidyAML::quantile_normalize()   masks TidyDensity::quantile_normalize()

You can see conflicts created later with healthyverse_conflicts():

library(MASS)
healthyverse_conflicts()
#> ── Conflicts ─────────────────────────────────────── healthyverse_conflicts() ──
#> ✖ tidyAML::check_duplicate_rows() masks TidyDensity::check_duplicate_rows()
#> ✖ tidyAML::quantile_normalize()   masks TidyDensity::quantile_normalize()

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

healthyverse_update()
#> The following packages are out of date:
#>  * healthyR (0.4.0 -> 0.4.1)
#>  * healthyR.ts   (0.4.1 -> 0.5)
#>  * healthyR.data  (0.12.6 -> 0.12.7)
#> Update now?
#> 
#> 1: Yes
#> 2: No