tests/testthat/_snaps/4.0/theme.md

modifying theme element properties with + operator works

Code
  theme_grey() + "asdf"
Condition
  Error in `method(+, list(ggplot2::theme, class_any))`:
  ! Can't add `"asdf"` to a theme object.


hadley/ggplot2 documentation built on June 13, 2025, 12:51 a.m.