Minimal taxon_id constructor for internal use. Only use when the input is known to be valid since few validity checks are done.
new_taxon_id(.names = NULL, id = character(), db = taxon_db())
An S3
object of class taxa_taxon_id
The names to apply to the vector
Zero or more taxonomic ids. Inputs will be transformed to a character
vector.
The name(s) of the database(s) associated with the IDs. If not NA
(the
default), the input must consist of names of databases in database_ref. The length must be
0, 1, or equal to the number of IDs.