Install the scales package
mainThe scales package is automatically installed as a dependency of ggplot2 or the tidyverse. You can install it standalone from CRAN, or install the development version from GitHub using pak.
# Install from CRAN
install.packages("scales")
# Install development version from GitHub
install.packages("pak")
pak::pak("r-lib/scales")