Running examples in ‘metacoder-Ex.R’ failed
The error most likely occurred in:

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: parse_tax_data
> ### Title: Convert one or more data sets to taxmap
> ### Aliases: parse_tax_data
> 
> ### ** Examples
> 
>  # Read a vector of classifications
>  my_taxa <- c("Mammalia;Carnivora;Felidae",
+               "Mammalia;Carnivora;Felidae",
+               "Mammalia;Carnivora;Ursidae")
>  parse_tax_data(my_taxa, class_sep = ";")
<Taxmap>
  4 taxa: b. Mammalia, c. Carnivora, d. Felidae, e. Ursidae
  4 edges: NA->b, b->c, c->d, c->e
  1 data sets:
    tax_data: a named vector of 'character' with 3 items
       d. Mammalia;Carnivora;Felidae ... e. Mammalia;Carnivora;Ursidae
  0 functions:
> 
>  # Read a list of classifications
>  my_taxa <- list("Mammalia;Carnivora;Felidae",
+                 "Mammalia;Carnivora;Felidae",
+                 "Mammalia;Carnivora;Ursidae")
>  parse_tax_data(my_taxa, class_sep = ";")
<Taxmap>
  4 taxa: b. Mammalia, c. Carnivora, d. Felidae, e. Ursidae
  4 edges: NA->b, b->c, c->d, c->e
  1 data sets:
    tax_data: a list of 3 items named by taxa:
       d, d, e
  0 functions:
> 
>  # Read classifications in a table in a single column
>  species_data <- data.frame(tax = c("Mammalia;Carnivora;Felidae",
+                                     "Mammalia;Carnivora;Felidae",
+                                     "Mammalia;Carnivora;Ursidae"),
+                            species_id = c("A", "B", "C"))
>  parse_tax_data(species_data, class_sep = ";", class_cols = "tax")
<Taxmap>
  4 taxa: b. Mammalia, c. Carnivora, d. Felidae, e. Ursidae
  4 edges: NA->b, b->c, c->d, c->e
  1 data sets:
    tax_data:
      # A tibble: 3 \xc3\x97 3\x0a        taxon_id tax                        species_id\x0a        <chr>    <chr>                      <chr>     \x0a      1 d        Mammalia;Carnivora;Felidae A         \x0a      2 d        Mammalia;Carnivora;Felidae B         \x0a      3 e        Mammalia;Carnivora;Ursidae C         \x0a  0 functions:
> 
>  # Read classifications in a table in multiple columns
>  species_data <- data.frame(lineage = c("Mammalia;Carnivora;Felidae",
+                                         "Mammalia;Carnivora;Felidae",
+                                         "Mammalia;Carnivora;Ursidae"),
+                             species = c("Panthera leo",
+                                         "Panthera tigris",
+                                         "Ursus americanus"),
+                             species_id = c("A", "B", "C"))
>  parse_tax_data(species_data, class_sep = c(" ", ";"),
+                 class_cols = c("lineage", "species"))
<Taxmap>
  9 taxa: b. Mammalia, c. Carnivora ... i. tigris, j. americanus
  9 edges: NA->b, b->c, c->d, c->e, d->f, e->g, f->h, f->i, g->j
  1 data sets:
    tax_data:
Error in nchar(table_text[row_indexes]) : 
  number of characters is not computable in "bytes" encoding, element 3
Calls: <Anonymous> ... <Anonymous> -> highlight_taxon_ids -> paste0 -> substr
Execution halted