Skip to content

Commit e7ecda5

Browse files
committed
don't pass names from method into tip_taxa
1 parent aa72faa commit e7ecda5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/taxonomy.R

+1-1
Original file line numberDiff line numberDiff line change
@@ -593,7 +593,7 @@ phylotax_ <- function(tree, taxa, node, ranks, method, e) {
593593
taxon
594594
)
595595
for (n in names(method)) {
596-
newAssign[[n]] <- method[n]
596+
newAssign[[n]] <- unname(method[n])
597597
}
598598
# remove assignments which are not consistent with the one we just chose
599599
e$tip_taxa <- dplyr::bind_rows(

0 commit comments

Comments
 (0)