Open Baohua-Chen opened 1 year ago
@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?
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.