You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like children works for ITIS is failing due to different names being expected and given.
Failing test:
expect_named(res[[1]], c("id", "name", "rank"))
Current output:
res<- children(c(154395, 154357), db="itis")
>res$`154395`# A tibble: 8 × 5parentnameparenttsnranknametaxonnametsn<chr><chr><chr><chr><chr>1Apis154395SpeciesApismellifera1543962Apis154395SpeciesApisandreniformis7635503Apis154395SpeciesApiscerana7635514Apis154395SpeciesApisdorsata7635525Apis154395SpeciesApisflorea7635536Apis154395SpeciesApiskoschevnikovi7635547Apis154395SpeciesApisnigrocincta7635558Apis154395SpeciesApislaboriosa1128092$`154357`# A tibble: 1,741 × 5parentnameparenttsnranknametaxonnametsn<chr><chr><chr><chr><chr>1Lasioglossum154357SpeciesLasioglossumabanci7578782Lasioglossum154357SpeciesLasioglossumaberrans7578793Lasioglossum154357SpeciesLasioglossumabietum7578804Lasioglossum154357SpeciesLasioglossumablenum7578815Lasioglossum154357SpeciesLasioglossumabrophilum7578826Lasioglossum154357SpeciesLasioglossumabsimile7578837Lasioglossum154357SpeciesLasioglossumabsurdiceps7578848Lasioglossum154357SpeciesLasioglossumabundum7578859Lasioglossum154357SpeciesLasioglossumaburiellum75788610Lasioglossum154357SpeciesLasioglossumaburiense757887# ℹ 1,731 more rows# ℹ Use `print(n = ...)` to see more rows
r$> packageVersion("taxizedb")
[1] ‘0.3.1’
The text was updated successfully, but these errors were encountered:
I was in error - needed to restart my R session. However, taxize and taxizedb return different names (taxize, which was loaded in my environment, uses the above names; taxizedb uses the ones described in the test)
Note that this issue is different from #45
It seems like
children works for ITIS
is failing due to different names being expected and given.Failing test:
Current output:
The text was updated successfully, but these errors were encountered: