[R-sig-phylo] diversitree: asr bug, equal-rate model with root constraint

2015-11-12 Thread Sébastien Lavergne
Dear all, It seems that fitting an equal-rate model of ancestral state reconstruction with a root constraint now returns an error message. It looks like a recent bug. It has something to do with a function called internally by find.mle {diversitree}, but I am not able to understand the exact

Re: [R-sig-phylo] Error with rerootingMethod in phytools

2015-11-12 Thread Liam J. Revell
Hi Graeme. Not sure how this bug was introduced. It may be because you were once able to root the tree at a tip, but now you cannot. I will have to roll back ape & check. You can work around it by setting the optional argument tips to TRUE, i.e.: rerootingMethod(tree, tipvals, model="ER",