ggCheysson 1.1.0
Breaking change: fixed a palette-naming collision bug. Palette names were built from
Album + Qty(e.g."1880_07"), butQtyis not a unique plate identifier - it’s a colors/pattern-element count that happened to repeat across genuinely different plates. 4 such collisions silently overwrote 5 of the original 25 palettes during data extraction. Names are now built from the real, unique plate identifier (RumseyListNo’s decimal suffix) instead: 19 of the 20 previously-shipped palettes have a new name, and all 5 previously-missing palettes are now included -cheysson_palettes/cheysson_patternsnow have 25 palettes (was 20), with 134 pattern specifications (was 83). See the newcheysson_labelsdataset (below) to map an old name to its new oneFixed 15 missing pattern elements across 6 palettes (
1882_04,1883_07,1886_04,1886_07,1887_06,1900_06, in their old names): an SVG-parsing bug silently dropped hatch-line patterns whose coordinates relied on SVG’s implicit default of 0 for an omittedx1/y1/x2/y2attributeFixed two
scale_pattern_*_cheysson()bugs:scale_pattern_type_cheysson()targeted the wrong ggpattern aesthetic (pattern_typeinstead ofpattern) and so never actually varied the rendered pattern shape by category;scale_pattern_fill_cheysson()read the wrong parameter (fillinstead ofpattern_fill) and always returned"transparent"regardless of paletteAdded
cheysson_labels, a new dataset mapping every palette’s current name to its previous (pre-fix) name, RJ Andrews’ original Advent-calendar label, Tom Shanley’s Observable notebook ID, and the underlying David Rumsey catalog number - useful for looking up a palette by whichever naming scheme you encountered it inAdded real (rendered) pattern examples to the README’s Pattern Support section, which previously had none
Added
cheysson_name(), a lookup function that translates a palette label from any of thecheysson_labelsnaming schemes (Andrews’ label, Shanley’s ID, a Rumsey catalog number, the old pre-fix name, or an advent day) into the current palette name, for direct use in calls likescale_color_cheysson(cheysson_name("Dec.01-1883.21")). When a label is ambiguous (only possible via the old naming scheme, which had 4 real collisions), it warns and lists every match; passadvent_dayto disambiguate without a warning, or to assert a specific paletteFixed
theme_cheysson()’s/theme_cheysson_map()’splot.title(set inCheyssonTitle) rendering smaller than intended, the same underlying issue as the 1.0.1 axis/legend-title fix below but previously missed for the plot title itself. The correction is now generalized (cheysson_font_size_adjust()) to all four Cheysson display fonts instead of hardcoded to onetheme_cheysson_map()text sizing redesigned:plot.title,plot.subtitle,legend.title, andlegend.textnow scale frombase_sizeusing a deliberate poster-style hierarchy (a much larger title relative to the rest, in the spirit of Guerry’s own maps) instead of the modest ratiostheme_cheysson()uses;plot.captionis now styled too (previously unstyled and tiny).base_sizealone now controls this - no need for thetheme(plot.title = element_text(size = ...))overrides theguerry-mapsvignette previously needed on every map. Sizes are calibrated at true scale (a ~40-character title just fits an 8in-wide figure), and titles are now centered on the whole plot rather than the panel, so a side legend no longer pushes a long title off the left edgeVignettes now render figures with
ragg(fixes a segfault on CRAN’s Intel macOS check machines, where the Quartzpng()device crashes drawing ggpattern’s masks) and setfig.showtext = TRUE, so showtext text is drawn at the device’s real dpi and figures look the same in the package vignettes and on the pkgdown site
ggCheysson 1.0.1
CRAN release: 2026-09-26
Fixed undersized axis and legend titles in
theme_cheysson()(inherited bytheme_cheysson_minimal()):CheyssonSansCapsrenders visibly smaller than other package fonts at the same nominal size, so title text is now scaled up to matchBumped
roxygen2to 8.1.0 (Config/roxygen2/version)Removed unnecessary
\dontrun{}/\donttest{}wrapping from examples that run cleanly (show_palette(),show_palettes(), thescale_*_cheysson()family); kept\donttest{}only where custom-font grid text rendering can crash on some devicesAdded R-universe badge and installation instructions to README
Hardened
cheysson_fonts_available(),cheysson_pal(), andcheysson_pattern()against non-length-1 arguments (method,n) that could otherwise trigger opaque errors
ggCheysson 1.0.0
- Initial version, implementing Cheysson color palettes, patterns and fonts
- Fixed problem with fonts, requiring
showtext::showtext_auto() - Added Getting started vignette
- Added Guerry maps vignette
- Added
show_palette()functions - Fixed problems from the initial CRAN submission:
-
@returntags for all functions -
list_cheysson_fonts()function converted tocheysson_fontsdata object -
\dontrun{}examples unwrapped, or changed to\donttest{}if they depend on system features
-
