Skip to content

Check if taxon is present in tree for add_cherry_to_tip() and produce informative error message. #1

Description

@Peter-T-Ruehr

When trying to add new tips next to a taxon that is not present in tree, add_cherry_to_tip() crashes with the following error:

Error in if (where == 0 || where == "root") where <- ROOTx : missing value where TRUE/FALSE needed

A test if the taxon the function is looking for with a helpful error message if it is not present would be nice.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions