Initial CRAN submission.
Discrete scales now work with ggplot2 < 3.5.0, which requires scale_name.
Palettes now have a style, as in RColorBrewer and MetBrewer: qualitative
(cafe, paz), diverging (retirantes, inah, sofia, guerra) and
sequential (guerra_azul, paz_ouro). portinari.palettes() and
show_portinari() gain a category filter.
New sequential palettes guerra_azul and paz_ouro, derived from the UN
panels.
Palettes are stored MetBrewer-style: colors in display order plus an order
ranking for discrete picks. Discrete subsets now suit the style: sequential
and diverging palettes keep both ends (and the light center), qualitative
palettes keep the most distinct colors. The colors returned for a given n
have changed for every palette.
sofia is now colorblind-safe for its first 3 colors (was 2).
New portinari.works() lists the paintings behind each palette with links.
Hex logo: a portrait of Portinari in the light shades of guerra.
pkgdown site with two articles: "The paintings" (images and links for every reference work) and "Choosing a palette style".
guerra (9 colors, all colorblind-safe) and paz (8 colors,
first 4 colorblind-safe), from Portinari's Guerra and Paz panels at the
United Nations Headquarters.ramp order
stored with each palette, instead of the discrete priority order. Gradients
for every palette are smoother as a result.portinari.pal(), scale_color_portinari(),
scale_colour_portinari(), scale_fill_portinari(), portinari.palettes(),
portinari.cvd.check() and show_portinari().cafe, retirantes, inah, sofia. Two are colorblind-safe
for all colors, two for a subset.