-
Notifications
You must be signed in to change notification settings - Fork 62
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
taxize::synonyms return error "The x
argument of as_tibble()
can't be missing as of tibble 3.0.0."
#922
Comments
Thanks! I am unable to reproduce this error. Can you add a library(taxize)
synonyms(sci_id = 'Ameiva atrigularis', db = 'itis')
#> ══ 1 queries ═══════════════
#>
#> Retrieving data for taxon 'Ameiva atrigularis'
#> ✔ Found: Ameiva atrigularis
#> ══ Results ═════════════════
#>
#> • Total: 1
#> • Found: 1
#> • Not Found: 0
#> $`Ameiva atrigularis`
#> data frame with 0 columns and 0 rows
#>
#> attr(,"class")
#> [1] "synonyms"
#> attr(,"db")
#> [1] "itis"
sessionInfo()
#> R version 4.3.2 (2023-10-31)
#> Platform: x86_64-pc-linux-gnu (64-bit)
#> Running under: Pop!_OS 22.04 LTS
#>
#> Matrix products: default
#> BLAS: /usr/lib/x86_64-linux-gnu/openblas-pthread/libblas.so.3
#> LAPACK: /usr/lib/x86_64-linux-gnu/openblas-pthread/libopenblasp-r0.3.20.so; LAPACK version 3.10.0
#>
#> locale:
#> [1] LC_CTYPE=en_US.UTF-8 LC_NUMERIC=C
#> [3] LC_TIME=en_US.UTF-8 LC_COLLATE=en_US.UTF-8
#> [5] LC_MONETARY=en_US.UTF-8 LC_MESSAGES=en_US.UTF-8
#> [7] LC_PAPER=en_US.UTF-8 LC_NAME=C
#> [9] LC_ADDRESS=C LC_TELEPHONE=C
#> [11] LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C
#>
#> time zone: America/Los_Angeles
#> tzcode source: system (glibc)
#>
#> attached base packages:
#> [1] stats graphics grDevices utils datasets methods base
#>
#> other attached packages:
#> [1] taxize_0.9.100
#>
#> loaded via a namespace (and not attached):
#> [1] bold_1.3.0 solrium_1.2.0 jsonlite_1.8.7 dplyr_1.1.4
#> [5] compiler_4.3.2 crayon_1.5.2 tidyselect_1.2.0 reprex_2.0.2
#> [9] Rcpp_1.0.11 xml2_1.3.5 urltools_1.7.3 parallel_4.3.2
#> [13] triebeard_0.4.1 yaml_2.3.7 fastmap_1.1.1 lattice_0.22-5
#> [17] plyr_1.8.9 R6_2.5.1 generics_0.1.3 curl_5.1.0
#> [21] knitr_1.45 iterators_1.0.14 tibble_3.2.1 ritis_1.0.0
#> [25] crul_1.4.0 pillar_1.9.0 rlang_1.1.2 utf8_1.2.4
#> [29] httpcode_0.3.0 stringi_1.8.2 xfun_0.41 fs_1.6.3
#> [33] cli_3.6.1 magrittr_2.0.3 withr_2.5.2 digest_0.6.33
#> [37] foreach_1.5.2 grid_4.3.2 rstudioapi_0.15.0 lifecycle_1.0.4
#> [41] nlme_3.1-163 vctrs_0.6.4 evaluate_0.23 glue_1.6.2
#> [45] data.table_1.14.8 codetools_0.2-19 zoo_1.8-12 fansi_1.0.5
#> [49] ape_5.7-1 rmarkdown_2.25 pkgconfig_2.0.3 tools_4.3.2
#> [53] htmltools_0.5.7 Created on 2023-11-30 with reprex v2.0.2 |
Hi, Thanks for the reply! The session info is in the original post. I also pasted it below. One thing I noticed from your session info is that we are using the same tibble package version so I am at a complete loss for why this error is occurring for me. I will try on a new machine tonight and let you know if I have better luck. Session Info: Matrix products: default locale: time zone: America/New_York attached base packages: other attached packages: loaded via a namespace (and not attached): |
Oh, sorry, I did not see it at first. That is odd. Another person with a similar error also had the same tibble version, so there is something going on. I tried both the Github and CRAN version and did not get an error with either. |
I have the same issue, any updates? sessionInfo: R version 4.1.2 (2021-11-01) Matrix products: default locale: attached base packages: other attached packages: loaded via a namespace (and not attached): |
Also the same issue, any progress? R version 4.3.2 (2023-10-31 ucrt) Matrix products: default locale: time zone: America/Los_Angeles attached base packages: other attached packages: loaded via a namespace (and not attached): |
same outcome with different architecture: synonyms(sci_id = 'Ameiva atrigularis', db = 'itis')
Matrix products: default locale: attached base packages: other attached packages: loaded via a namespace (and not attached): |
Discovered this is what happens when the ITISWebService is down. |
Session Info
Hi,
I am trying to look up the known synonyms for a list of species. In the past, I have used taxize::synonyms with great success. However, now when I run the following code, I get an error about a tibble not being able to be made because a parameter is needed as of tibble 3.0.0.
Here is the code I am trying to run:
And this is the output I get with the traceback
══ 1 queries ═══════════════
Retrieving data for taxon 'Ameiva atrigularis'
Error:
! The
x
argument ofas_tibble()
can't be missing as of tibble 3.0.0.Run
rlang::last_trace()
to see where the error occurred.Backtrace:
▆
Run rlang::last_trace(drop = FALSE) to see 1 hidden frame.
I tried to run it again after reinstalling taxize through remotes::install_github("ropensci/taxize") and it still returned the same error. The interesting this is that I ran this code in September without issue.
The text was updated successfully, but these errors were encountered: