ggplot2
ggplot2 copied to clipboard
Fix missing `labels` slot
This PR aims to fix part of #6008.
Briefly, reverse dependencies sometimes make assumptions about length(ggplot()) or names(ggplot()). In #5879 we removed the labels field, causing these assumptions to no longer hold. This PR brings back the labels field to make these assumptions valid again.