Fixed set_theme() breaking when ggtern is loaded under ggplot2 4.0+ by setting tern.axis.ticks.length.major/minor as <rel> objects in both theme builders (.build_solaris_theme(), .build_t2m_theme()). Previously, ggplot2 4.0’s stricter check_theme() walked all theme elements including tern ones and aborted with “The ‘tern.axis.ticks.length.major’ theme element must be a object.” This matches what ggtern’s own themes (e.g. theme_rgbw()) already do.
ggastrum 0.1.4
New Features
Bundled fonts (Open Sans, Lato, Source Sans 3) are now auto-registered on package load via .register_bundled_fonts(), eliminating the need for explicit set_fonts() calls in most cases.
set_theme(set_font = FALSE) (the default) now uses auto-registered bundled fonts instead of falling back to system “sans”.
Improvements
Consolidated 30 scale function definitions into a factory pattern (R/scales.R), reducing code duplication while preserving the same public API.
Moved vignette articles out of vignettes/ into top-level articles/ directory to eliminate R CMD check warnings.
Expanded test coverage for font loading, palette validation, and edge cases.
Bug Fixes
Fixed “font family ‘Open Sans’ not found” warning on first set_theme() call on a new machine.
Fixed Lato TTF files being unloadable by sysfonts::font_add() due to a missing DSIG table.
Fixed R CMD check warnings for vignette articles missing VignetteIndexEntry.
ggastrum 0.1.3
New Features
Implemented autoload mechanism via R/zzz.R and R/attach.R.
Added palette documentation via R/palettes.R.
Improvements
Softened text colors in all themes.
Improved grid line contrast in theme_ggplot2().
Increased lineheight in base theme elements.
Bug Fixes
Removed runtime dependency loading (pacman::p_load) from set_theme().
Moved Rttf2pt1/remotes to Suggests in DESCRIPTION.
Replaced blanket imports() with targeted importFrom() in NAMESPACE.
Fixed self-referencing default in set_theme() (base_family = "sans").