palettes: Methods for Colour Vectors and Colour Palettes

Provides a comprehensive library for colour vectors and colour palettes using a new family of colour classes (palettes_colour and palettes_palette) that always print as hex codes with colour previews. Capabilities include: formatting, casting and coercion, extraction and updating of components, plotting, colour mixing arithmetic, and colour interpolation.

Version: 0.2.0
Depends: R (≥ 2.10)
Imports: vctrs, cli, methods, pillar, rlang (≥ 1.0.0), purrr, prismatic, farver (≥ 2.0.3), ggplot2, scales, tibble
Suggests: pkgdown, testthat (≥ 3.0.0), dplyr, knitr (≥ 1.22), rmarkdown (≥ 2.20), colorspace, gt, biscale, sf, patchwork, MetBrewer, nord, PNWColors, viridisLite, covr, grDevices, withr
Published: 2024-02-05
Author: Michael McCarthy [aut, cre, cph]
Maintainer: Michael McCarthy <m.mccarthy1624 at gmail.com>
BugReports: https://github.com/mccarthy-m-g/palettes/issues
License: MIT + file LICENSE
URL: https://mccarthy-m-g.github.io/palettes/, https://github.com/mccarthy-m-g/palettes
NeedsCompilation: no
Language: en-GB
Materials: README NEWS
CRAN checks: palettes results

Documentation:

Reference manual: palettes.pdf
Vignettes: Using palettes with biscale
Compatibility with other colour packages
Creating a colour palette package
Using palettes with ggplot2
Using palettes with gt
palettes

Downloads:

Package source: palettes_0.2.0.tar.gz
Windows binaries: r-devel: palettes_0.2.0.zip, r-release: palettes_0.2.0.zip, r-oldrel: palettes_0.2.0.zip
macOS binaries: r-release (arm64): palettes_0.2.0.tgz, r-oldrel (arm64): palettes_0.2.0.tgz, r-release (x86_64): palettes_0.2.0.tgz
Old sources: palettes archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=palettes to link to this page.