Parentheses error importing tree with R version 4.1.1
Opened this issue · 4 comments
jrede commented
Hi @jbisanz ,
I recently updated R to 4.1.1 because of compatibility issues. However, now when I try to import a .qza tree file I get the following error:
Error in FUN(X[[i]], ...) :
numbers of left and right parentheses in Newick string not equal
Any idea how to fix this without running two versions of R?
Thanks!
Jordan
roxanacoras commented
Hi, I have the exact same problem!
I would appreciate your help with fixing this.
Thanks a lot,
Roxana
mestaki commented
I believe this is the same as #33 resulting from something with newest version of "ape".
If ape is just being used for reading the tree then phytools::read.newick("tree.nwk") could be an easy replacement? Worked fine for me from an extract Q2 tree.