ggtree icon indicating copy to clipboard operation
ggtree copied to clipboard

Depends were removed from ggplot2 version 3.4.0

Open Baohua-Chen opened this issue 3 years ago • 2 comments
trafficstars

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.

Baohua-Chen avatar Nov 09 '22 02:11 Baohua-Chen

#544 has some details that may be helpful

nicolerg avatar Nov 09 '22 18:11 nicolerg

@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?

Nazrath10R avatar Apr 26 '23 17:04 Nazrath10R