tidyverse/ggplot2

Example in `?ggproto` counterproducive

Opened this issue · 0 comments

The example in ?ggproto gives an example of a stateful class (.e.g Adder$x) is a stateful field.
It advertises a property of ggproto classes that should be used sparingly and ideally not at all if you're developing extensions.