Hi Maria.
I believe I just fixed this on GitHub. There was a bug in phytools for
the circumstance in which some but not all nodes are labeled. You can
install phytools directly from GitHub using devtools as follows:
library(devtools)
install_github("liamrevell/phytools")
& then you can test
Dears,
I'm studying the structure of phylo object to work it in my functions. I'm
using read.newick to read tree with singletons. I do not know why the
number of node is not equal to length of node.labels. For instance:
I have this tree (the same annexed):