palettes 0.2.2
Included five new colour palette sets with the package: Cartography palettes (
discrete_palettes,sequential_palettes,diverging_palettes), Performance palettes (performance_palettes), and Palmer penguins palettes (penguin_palettes).When plotting colour palettes with
plot(), the order of facets now matches the order of palettes inpal_palette()objects.Added a new
na.valueargument toscale_colour_palette_c()andscale_fill_palette_c()for compatibility with ggplot2 4.0.0 (@teunbrand, #47).
palettes 0.2.1
CRAN release: 2024-07-13
This is a small patch release that applies some internal fixes for the scale_() functions, due to a breaking change in ggplot2 v3.5.0 that deprecated the scale_name argument in ggplot2::continuous_scale(), ggplot2::discrete_scale() and ggplot2::binned_scale(). The “gt” vignette has also been updated to reflect changes to the gt::data_color() function in gt v0.9.0.
palettes 0.2.0
CRAN release: 2024-02-05
Added a variety of global options to adjust the printing behaviour of colour vectors. See
help("palettes-options")andvignette("palettes")for details and examples (#35).Added a “Made with palettes” article to the pkgdown site showcasing colour palette packages made with palettes (#37).
Improved error message for invalid colours to support singular and plural grammar (@olivroy, #32).
Minor improvements to documentation throughout the package—mainly cross-linking (#38).
palettes 0.1.1
CRAN release: 2023-01-12
This is a small patch release that fixes a typo in the “Creating a Colour Package” vignette, replacing the non-existent pal_brewer() function with the intended pal_ramp() function.
