ggreverse icon indicating copy to clipboard operation
ggreverse copied to clipboard

compatibility with default theme

Open GuangchuangYu opened this issue 6 years ago • 0 comments

see the source code below:

require(ggtree) 
x = rtree(30)
p = ggplot(x) + geom_tree()
code = ggreverse::convert_to_code(p)
# Error in reverse_theme(p$theme) : inherits(theme, "theme") is not TRUE

GuangchuangYu avatar May 21 '19 02:05 GuangchuangYu