To cite package ‘forcats’ in publications use:

Wickham H (2026). forcats: Tools for Working with Categorical Variables (Factors). R package version 1.0.1.9000, https://github.com/tidyverse/forcats.

Corresponding BibTeX entry:

  @Manual{,
    title = {forcats: Tools for Working with Categorical Variables
      (Factors)},
    author = {Hadley Wickham},
    year = {2026},
    note = {R package version 1.0.1.9000},
    url = {https://github.com/tidyverse/forcats},
  }