Running examples in 'ensembleTax-Ex.R' failed
The error most likely occurred in:

> ### Name: assign.ensembleTax
> ### Title: Computes ensemble taxonomic assignments for each ASV in an
> ###   amplicon data set
> ### Aliases: assign.ensembleTax
> 
> ### ** Examples
> 
> fake1.pr2 <- data.frame(ASV = c("AAAA", "ATCG", "GCGC", "TATA", "TCGA"),
+          kingdom = c("Eukaryota", "Eukaryota", "Eukaryota", "Eukaryota",
+          "Eukaryota"),
+          supergroup = c(NA, "Stramenopiles", "Rhizaria", "Stramenopiles",
+          "Alveolata"),
+          division = c(NA, "Ochrophyta", "Radiolaria", "Opalozoa",
+          "Dinoflagellata"),
+          class = c(NA, "Bacillariophyta", "Polycystinea", "MAST-12",
+          "Syndiniales"),
+          order = c(NA, "Bacillariophyta_X", "Collodaria", "MAST-12A", NA),
+          family = c(NA, "Polar-centric-Mediophyceae", "Collophidiidae", NA,
+          NA),
+          genus = c(NA, NA, "Collophidium", NA, NA),
+          species = as.character(c(NA, NA, NA, NA, NA)),
+          stringsAsFactors = FALSE)
> fake2.pr2 <- data.frame(ASV = c("AAAA", "ATCG", "GCGC", "TATA", "TCGA"),
+          kingdom = c("Eukaryota", "Eukaryota", "Eukaryota", "Eukaryota",
+          "Eukaryota"),
+          supergroup = c(NA, "Stramenopiles", "Rhizaria", "Stramenopiles",
+          "Alveolata"),
+          division = c(NA, "Opalozoa", "Radiolaria", "Opalozoa",
+          "Dinoflagellata"),
+          class = c(NA, NA, "Polycystinea", NA, "Dinophycese"),
+          order = c(NA, NA, "Collodaria", NA, NA),
+          family = c(NA, NA, "Collophidiidae", NA, NA),
+          genus = c(NA, NA, "Collophidium", NA, NA),
+          species = as.character(c(NA, NA, NA, NA, NA)),
+          stringsAsFactors = FALSE)
> head(fake1.pr2)
   ASV   kingdom    supergroup       division           class             order
1 AAAA Eukaryota          <NA>           <NA>            <NA>              <NA>
2 ATCG Eukaryota Stramenopiles     Ochrophyta Bacillariophyta Bacillariophyta_X
3 GCGC Eukaryota      Rhizaria     Radiolaria    Polycystinea        Collodaria
4 TATA Eukaryota Stramenopiles       Opalozoa         MAST-12          MAST-12A
5 TCGA Eukaryota     Alveolata Dinoflagellata     Syndiniales              <NA>
                      family        genus species
1                       <NA>         <NA>    <NA>
2 Polar-centric-Mediophyceae         <NA>    <NA>
3             Collophidiidae Collophidium    <NA>
4                       <NA>         <NA>    <NA>
5                       <NA>         <NA>    <NA>
> head(fake2.pr2)
   ASV   kingdom    supergroup       division        class      order
1 AAAA Eukaryota          <NA>           <NA>         <NA>       <NA>
2 ATCG Eukaryota Stramenopiles       Opalozoa         <NA>       <NA>
3 GCGC Eukaryota      Rhizaria     Radiolaria Polycystinea Collodaria
4 TATA Eukaryota Stramenopiles       Opalozoa         <NA>       <NA>
5 TCGA Eukaryota     Alveolata Dinoflagellata  Dinophycese       <NA>
          family        genus species
1           <NA>         <NA>    <NA>
2           <NA>         <NA>    <NA>
3 Collophidiidae Collophidium    <NA>
4           <NA>         <NA>    <NA>
5           <NA>         <NA>    <NA>
> xx <- list(fake1.pr2, fake2.pr2)
> names(xx) <- c("fake1", "fake2")
> xx
$fake1
   ASV   kingdom    supergroup       division           class             order
1 AAAA Eukaryota          <NA>           <NA>            <NA>              <NA>
2 ATCG Eukaryota Stramenopiles     Ochrophyta Bacillariophyta Bacillariophyta_X
3 GCGC Eukaryota      Rhizaria     Radiolaria    Polycystinea        Collodaria
4 TATA Eukaryota Stramenopiles       Opalozoa         MAST-12          MAST-12A
5 TCGA Eukaryota     Alveolata Dinoflagellata     Syndiniales              <NA>
                      family        genus species
1                       <NA>         <NA>    <NA>
2 Polar-centric-Mediophyceae         <NA>    <NA>
3             Collophidiidae Collophidium    <NA>
4                       <NA>         <NA>    <NA>
5                       <NA>         <NA>    <NA>

$fake2
   ASV   kingdom    supergroup       division        class      order
1 AAAA Eukaryota          <NA>           <NA>         <NA>       <NA>
2 ATCG Eukaryota Stramenopiles       Opalozoa         <NA>       <NA>
3 GCGC Eukaryota      Rhizaria     Radiolaria Polycystinea Collodaria
4 TATA Eukaryota Stramenopiles       Opalozoa         <NA>       <NA>
5 TCGA Eukaryota     Alveolata Dinoflagellata  Dinophycese       <NA>
          family        genus species
1           <NA>         <NA>    <NA>
2           <NA>         <NA>    <NA>
3 Collophidiidae Collophidium    <NA>
4           <NA>         <NA>    <NA>
5           <NA>         <NA>    <NA>

> eTax <- assign.ensembleTax(xx,
+            tablenames = names(xx),
+            ranknames = c("kingdom", "supergroup", "division","class","order",
+            "family","genus","species"),
+            tiebreakz = NULL,
+            count.na=TRUE,
+            assign.threshold = 0.5,
+            weights=rep(1,length(xx)))
Error in as.data.frame.integer(x[[i]], optional = TRUE) : 
  row names contain missing values
Calls: assign.ensembleTax ... data.frame -> as.data.frame -> as.data.frame.integer
Execution halted