geom_tukey is now built on a proper ggplot2 Stat extension (StatTukey) rather than a ggplot_add hook.
Added tukey_letters(), a helper that generates a compact letter display from any model supported by emmeans and returns a plain data frame for use with geom_text. Useful for mixed-effects models, GLMs, and other model types that geom_tukey cannot fit internally.
Fixed geom = "label" broken by removal of label.size in ggplot2 4.0 (replaced with linewidth).
Fixed two-group TukeyHSD results failing under R 4.6.0, which silently drops row names when subsetting a one-row matrix by column.
Other changes
Removed egg, magrittr, purrr, tidyr, tibble, and dplyr from Imports (12 → 6 total). tidyr moved to Suggests.
boxplot_letters now uses theme_classic() instead of egg::theme_article().
Requires R >= 4.1.0.
ggtukey 0.5.1
Added support for a fixed numeric value to the where argument in geom_tukey, allowing letters to be placed at a specified y-position instead of a computed statistic.
ggtukey 0.5.0
Added support for Dunn’s test as implemented in the rstatix package.
Changed default letter order, so the group with the largest value is assigned the ‘a’.
Added reversed argument to reverse letter order (so that the small value is assigned the ‘a’).
ggtukey 0.4.0
Fixed bug when using kruskalmc (Dunn test) due to changes in pgirmess::kruskalmc output.
ggtukey 0.3.0
Added additional parameters to geom_tukey (geom, color, fill, & alpha) for further customization of letters.
ggtukey 0.2.0
Added additional options to where parameter for placement of letters.
Allowed numeric arguments to type argument in geom_tukey.
Added citation file.
Changed vjust default to -0.2.
ggtukey 0.1.0
Added a NEWS.md file to track changes to the package.