ggtree
ggtree copied to clipboard
Depends were removed from ggplot2 version 3.4.0
When build ggtree version 3.6.0, two dependent function "warning_wrap" and "new_data_frame" were used to be imported from "ggplot2". However, these two functions were removed from the newest version of ggplot2 (3.4.0), which leads to failure in building ggtree 3.6.0. To solve this, one can install ggplot2 3.3.6 before install ggtree 3.6.0 OR copy these two functions into ggtree resource files.
#544 has some details that may be helpful
@Baohua-Chen I have this error and am trying to stick to the ggplot version I have as other dependencies rely on it. Could you advise where to locate the warning_wrap function and where in ggtree's resource file to add it?