Easily install and load packages from the tidyverse


License: GPL-3.0

Language: R

Keywords: data-science, r, tidyverse


CRAN status Travis build status Codecov test coverage


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

If you’d like to learn how to use the tidyverse effectively, the best place to start is R for data science.


# Install from CRAN

# Or the development version from GitHub
# install.packages("devtools")


library(tidyverse) will load the core tidyverse packages:

  • ggplot2, for data visualisation.
  • dplyr, for data manipulation.
  • tidyr, for data tidying.
  • readr, for data import.
  • purrr, for functional programming.
  • tibble, for tibbles, a modern re-imagining of data frames.
  • stringr, for strings.
  • forcats, for factors.

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

#> ── Attaching packages ────────────────────────────────────────────────────────────────────── tidyverse ──
#> ✔ ggplot2 3.0.0           ✔ purrr   0.2.5      
#> ✔ tibble     ✔ dplyr
#> ✔ tidyr   0.8.1           ✔ stringr 1.3.1      
#> ✔ readr   1.1.1           ✔ forcats 0.3.0
#> ── Conflicts ────────────────────────────────────────────────────────────────────────────── tidyverse_conflicts() ──
#> ✖ dplyr::filter() masks stats::filter()
#> ✖ dplyr::lag()    masks stats::lag()

You can see conflicts created later with tidyverse_conflicts():

#> Attaching package: 'MASS'
#> The following object is masked from 'package:dplyr':
#>     select
#> ── Conflicts ────────────────────────────────────────────────────────────────────────────── tidyverse_conflicts() ──
#> ✖ dplyr::filter() masks stats::filter()
#> ✖ dplyr::lag()    masks stats::lag()
#> ✖ MASS::select()  masks dplyr::select()

And you can check that all tidyverse packages are up-to-date with tidyverse_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


As well as the core tidyverse, installing this package also installs a selection of other packages that you’re likely to use frequently, but probably not in every analysis. This includes packages for:

  • Working with specific types of vectors:

  • Importing other types of data:

    • feather, for sharing with Python and other languages.
    • haven, for SPSS, SAS and Stata files.
    • httr, for web apis.
    • jsonlite for JSON.
    • readxl, for .xls and .xlsx files.
    • rvest, for web scraping.
    • xml2, for XML.
  • Modelling

    • modelr, for modelling within a pipeline
    • broom, for turning models into tidy data

Code of Conduct

Please note that the tidyverse project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.

Project Statistics

Sourcerank 16
Repository Size 1.06 MB
Stars 778
Forks 171
Watchers 71
Open issues 3
Dependencies 33
Contributors 28
Tags 5
Last updated
Last pushed

Top Contributors See all

Hadley Wickham Mara Averick Jennifer (Jenny) Bryan Gábor Csárdi Derek Chiu Dirk Eddelbuettel Kirill Müller Matthew Lincoln Zhian N. Kamvar Kara Woo zhaoy Dan Halligan Max Kuhn James J Balamuta Greg Macfarlane Rainer Stuetz Nicholas Tierney Serhat Cevikel Harris McGehee Michael Toth

Packages Referencing this Repo

Easily Install and Load the 'Tidyverse'
Latest release 1.3.0 - Updated - 778 stars

Recent Tags See all

v1.2.1 November 13, 2017
v1.2.0 November 07, 2017
v1.1.1 January 27, 2017
v1.1.0 January 19, 2017
v1.0.0 September 09, 2016

Interesting Forks See all

Easily install and load packages from the tidyverse
R - Last pushed - 1 stars

Something wrong with this page? Make a suggestion

Last synced: 2019-11-21 05:36:27 UTC

Login to resync this repository