-
Notifications
You must be signed in to change notification settings - Fork 8
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
bdc_query_names_taxadb() Error in object[[name, exact = TRUE]] : subscript out of bounds #245
Comments
Thanks for reporting! Warning messages seem to come from recent updates on the Please, check your current packageVersion("taxadb") If your version is 0.2.0, please reinstall the 0.1.5 with: if (!require("remotes")) install.packages("remotes")
remotes::install_github("ropensci/taxadb@be2369e8229144847d8f16c71dd1f2de289e811d", force = TRUE) Then, refresh your session and try the query again: names_harmonization <- bdc_query_names_taxadb( species_NA$scientific_name ) We will work on these updates in the next days. |
Thanks for the response, I have run the above and now get the following error: Native bulk importer found, attempting fast import of e91399e82bcb21e35289be93ef614b15327d5c813cc4b8619b43c0044eba8ad8 |
@kguidonimartins did you spot the cause already? Also, is P. S.: There's also a
|
Not yet! Maybe in the next few days.
I still can't inform you about the error message. I have only identified the source of the warning message. |
New momentarily deprecated dbs: tpl, fb, iucn. Unfortunately, db version is hardcoded for now. Related to #245
The latest version of bdc is on the go. We'll be back soon with more instructions. Thanks for your patience. |
Folks, I think The following code should work with no errors (but warnings messages are expected):
|
Excellent, seems to work for me, I get the following warnings with the code you provided: Querying using gbif database version 22.12 A total of 0 NA was/were found in sci_name. 1 names queried in 0 minutes Warning messages: |
Great. These warnings were expected, and they come from the |
@kguidonimartins when can we expect the new version to hit CRAN? :) |
We want to remove the warning messages from bdc_query_names_taxadb before submitting a new version to CRAN. Perhaps this will be done next weekend. |
Hello,
I am experiencing issues when applying the bdc_query_names_taxadb() to a standard list of species names (keeping all other aguments as default, e.g.:
names_harmonization <- bdc_query_names_taxadb( species_NA$scientific_name )
I get the same error when running the standard example too. I have installed the latest version of bdc from github.
The full error I am getting is below:
Error in object[[name, exact = TRUE]] : subscript out of bounds
In addition: Warning messages:
1: In assert_deprecated(dbdir, driver, read_only) :
deprecated arguments will be removed from future releases, see function docs
2: In assert_deprecated(overwrite, lines) :
deprecated arguments will be removed from future releases, see function docs
The text was updated successfully, but these errors were encountered: