galah appears to be trying to run the query with an empty identify argument for the rest of the query, triggering these other errors.
When there are no taxonomic matches, galah_identify() should either abort, or remove the presence of the identify argument so that the query is run as if there was no galah_identify() in the query (along with a message that this has happened). In this case, this would return the complete ALA counts, e.g.
After discussion, we decided that ending the query early was a more transparent solution than ignoring the argument and therefore returning results for a query that wasn't intended by the user.
When a galah query containing
galah_identify()
returns no matched taxa, the query triggers multiple other warnings/errors.Created on 2023-12-05 with reprex v2.0.2
galah appears to be trying to run the query with an empty
identify
argument for the rest of the query, triggering these other errors.When there are no taxonomic matches,
galah_identify()
should either abort, or remove the presence of theidentify
argument so that the query is run as if there was nogalah_identify()
in the query (along with a message that this has happened). In this case, this would return the complete ALA counts, e.g.Created on 2023-12-05 with reprex v2.0.2