-
Notifications
You must be signed in to change notification settings - Fork 0
Description
Code:
library(rphylotastic)
library(datelife)
#to pull the scientifc names from the list of state symbols in my .txt file
WV_symbols <- file_get_scientific_names(file_name = "state_symbols/West_Virginia.txt")
WV_phy1 <- taxa_get_otol_tree(taxa = WV_symbols)
WV_phy2 <- taxa_get_phylomatic_tree(taxa = WV_symbols)
Using this file:
West_Virginia.txt
Results in:
status rank division scientificname commonname uid genus species subsp modificationdate
1 active subgenus butterflies Danaus 151542 2001/02/08 00:00
2 active genus butterflies Danaus 13036 2004/09/08 00:00
1:
Error in if (all(phy$node.label == "")) phy$node.label <- NULL :
missing value where TRUE/FALSE needed