brodieG / vetr

Trust, but Verify
79 stars 2 forks source link

`abstract` nuking columns inside ggplot objects #54

Open brodieG opened 7 years ago

brodieG commented 7 years ago
p.base <- ggplot(data.frame(x=numeric(), y=numeric()), aes(x=x, y=y))
p.p <- p.base + geom_point()
str(abstract(p.p))
List of 9
 $ data       :'data.frame':    0 obs. of  0 variables
 $ layers     :List of 1