diff --git a/factors.Rmd b/factors.Rmd index 4863187..2f42a11 100644 --- a/factors.Rmd +++ b/factors.Rmd @@ -8,11 +8,10 @@ Historically, factors were much easier to work with than characters. As a result ### Prerequisites -To work with factors, we'll use the __forcats__ package, which provides tools for dealing with **cat**egorical variables (and it's an anagram of factors!). It provides a wide range of helpers for working with factors. forcats is not part of the core tidyverse, so we need to load it explicitly. +To work with factors, we'll use the __forcats__ package, which is part of the core tidyverse. It provides tools for dealing with **cat**egorical variables (and it's an anagram of factors!) using a wide range of helpers for working with factors. ```{r setup, message = FALSE} library(tidyverse) -library(forcats) ``` ### Learning more diff --git a/strings.Rmd b/strings.Rmd index 84c697e..5e12aeb 100644 --- a/strings.Rmd +++ b/strings.Rmd @@ -6,11 +6,10 @@ This chapter introduces you to string manipulation in R. You'll learn the basics ### Prerequisites -This chapter will focus on the __stringr__ package for string manipulation. stringr is not part of the core tidyverse because you don't always have textual data, so we need to load it explicitly. +This chapter will focus on the __stringr__ package for string manipulation, which is part of the core tidyverse. ```{r setup, message = FALSE} library(tidyverse) -library(stringr) ``` ## String basics