forcats is an R package for working with categorical variables (factors), and part of the tidyverse collection of packages.