Re: [R-sig-phylo] Warnings when calculating beta in apTreeshape

2016-02-02 Thread Pedro Neves
t;) before calculating beta. Maybe that is causing the issue whith the condition tests. Best, Pedro > Subject: Re: [R-sig-phylo] Warnings when calculating beta in apTreeshape > To: pedro.santos.ne...@outlook.com; r-sig-phylo@r-project.org > From: emmanuel.para...@ird.fr > Date: Tue, 2 F

Re: [R-sig-phylo] Warnings when calculating beta in apTreeshape

2016-02-02 Thread Emmanuel Paradis
Hi Pedro, It's an issue in the design of the package. The condition tests should be something like: if (inherits(phylo, "treeshape")) if (inherits(phylo, "phylo")) But if the output makes sense, you should not worry about it since, apparently, this is just to transform the tree in