Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tax_name() fails on some names #530

Closed
sckott opened this issue May 13, 2016 · 1 comment
Closed

tax_name() fails on some names #530

sckott opened this issue May 13, 2016 · 1 comment
Assignees
Labels
Milestone

Comments

@sckott
Copy link
Contributor

sckott commented May 13, 2016

tax_name(query = c("Osmia rufa", "Osmia bicornis"), get = "genus")
#>  Error in vector(type, length) : 
#>    vector: cannot make a vector of mode 'NULL'.

looks like just a column name incompatibility.

done separately:

tax_name(query = "Osmia bicornis", get = "genus")
#>    db          query NA
#>  1 itis Osmia bicornis NA
tax_name(query = "Osmia rufa", get = "genus")
#>     db      query genus
#> 1 itis Osmia rufa Osmia

another e.g.

x <- c('Osmia rufa','Osmia rufa','Osmia','Osmia')
taxas <- tax_name(query = x, get = "species", verbose = TRUE)
#> Error in vector(type, length) : 
#>   vector: cannot make a vector of mode 'NULL'.
@sckott sckott self-assigned this May 13, 2016
@sckott sckott added the bug label May 13, 2016
@sckott sckott added this to the v0.7.8 milestone May 13, 2016
@sckott
Copy link
Contributor Author

sckott commented May 18, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant