Closed egonozer closed 1 year ago
hey, I meet the same problem.
I update R and Bioconductor, it dose not still work.
upgrade to ggtree v=3.6.1 (release) or github version should works.
FYI
You can install the github version with this command:
if (!requireNamespace("devtools", quietly = TRUE)) {
install.packages("devtools")
}
devtools::install_github("YuLab-SMU/ggtree")
I have a new problem with ggtree that occurred when I updated some packages. I tired updating R and ggtree to get rid of the error, but it is consistent now. Whenever I try to use geom_tiplab() and align the labels (align=T) I end up with an error.
Here is a reproducible example:
The above code works and produces a tree with tip labels
The above code produces the following error:
If I set
linetype = NULL
, the tree is produced with aligned labels, but without any connecting lines. If I try to set any other linetype, like"dotted"
or"dashed"
, the error above is reproduced.Here is my session info:
Any help would be appreciated. Thank you!