-
Notifications
You must be signed in to change notification settings - Fork 61
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
gnr_resolve fails with incorrectly spelled species name Internal Server Error HTTP 500 #940
Comments
Dear maintainers, let me start by thanking you for your contributions to the R ecosystem. I second the issue of @user3386170 which also comes up in my work. I have the same limitation to minor oddities. Error reproduction and R sessionInfo():
|
Thanks for the info! Looking at this now. |
It appears that the problem is with the GNR service itself, rather than with https://verifier.globalnames.org/ I will need to write a new function for GNA verifier and depreciate |
That's a pain that the GNR service changed the API! Thanks for looking into this and I hope it can get back up and running soon via |
I added a new function called |
Thanks for your hard work! Overall, the new function works but it took me a little bit of getting used to. I'd suggest a couple of tweaks to the error messages if possible but they are minor ones just to make the user experience a bit more smooth in the transition to the new function and are not strictly necessary if you don't like them.
These are just suggestions. The main issue has been resolve and we can go back to using
|
@superornitho : Une mise à jour de |
I ran into another minor issue today running |
I last used
taxize
on September 27th but this morning I am running into an error with the functiongnr_resolve
. Whenever I provide it with species names that are incorrectly spelled, it spits out the following error:Error: Internal Server Error (HTTP 500)
I tested it with the code lines from the tutorial on the vignette page and I get the same error. If I supply the names correctly to
taxize
, it gives me all the other information on the species. But the whole point of the function is to be able to fix errors so I hope it is an easy to get it up and running again ;) However, I saw the thread abouttaxize
being pulled off CRAN during arduous updates so I wonder if it is related and may be too complicated to fix in the near future.UPDATE: I continued to play around with the function. It can still handle minor errors such as capitals in species names (e.g. Acer Rubrum) and oddities after the genus names (e.g. Crataegus sp.. with two periods).
Session Info R version 4.3.2 (2023-10-31 ucrt) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 11 x64 (build 22631)
Matrix products: default
locale:
[1] LC_COLLATE=English_Canada.utf8 LC_CTYPE=English_Canada.utf8
[3] LC_MONETARY=English_Canada.utf8 LC_NUMERIC=C
[5] LC_TIME=English_Canada.utf8
time zone: America/Toronto
tzcode source: internal
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] taxize_0.9.100.1
loaded via a namespace (and not attached):
[1] Matrix_1.6-4 jsonlite_1.8.7 dplyr_1.1.4 compiler_4.3.2
[5] crayon_1.5.2 tidyselect_1.2.0 Rcpp_1.0.11 xml2_1.3.6
[9] urltools_1.7.3 parallel_4.3.2 splines_4.3.2 triebeard_0.4.1
[13] uuid_1.1-1 lattice_0.21-9 TH.data_1.1-2 R6_2.5.1
[17] generics_0.1.3 curl_5.1.0 iterators_1.0.14 MASS_7.3-60
[21] tibble_3.2.1 crul_1.4.2 pillar_1.9.0 rlang_1.1.2
[25] utf8_1.2.4 multcomp_1.4-25 httpcode_0.3.0 cli_3.6.1
[29] magrittr_2.0.3 foreach_1.5.2 digest_0.6.33 grid_4.3.2
[33] rstudioapi_0.15.0 mvtnorm_1.2-4 sandwich_3.0-2 lifecycle_1.0.4
[37] nlme_3.1-163 vctrs_0.6.4 glue_1.6.2 data.table_1.14.8
[41] codetools_0.2-19 zoo_1.8-12 survival_3.5-7 ape_5.8
[45] fansi_1.0.5 conditionz_0.1.0 tools_4.3.2 pkgconfig_2.0.3
The text was updated successfully, but these errors were encountered: