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

error due to R update #264

Open
marinebnt opened this issue May 31, 2023 · 2 comments
Open

error due to R update #264

marinebnt opened this issue May 31, 2023 · 2 comments

Comments

@marinebnt
Copy link

Hi,

The following error : Error in validate_key(key) : could not find function "validate_key" appears when I try to use the functions species() or species_list() with the latest R version (4.2.2). I have tried to run the same code with the former R version (4.2.1) and it runs correctly. I am using the version 4.1.1 of rfishbase.

Many thanks

@marinebnt marinebnt changed the title error due to the R update error due to R update May 31, 2023
@cboettig
Copy link
Member

@marinebnt thanks for the report and apologies for the trouble.

Can you provide the output of running sessionInfo() in R after you see this error? It might be worth checking that all package dependencies are also up-to-date, e.g. remotes::install_github("ropensci/rfishbase"), and select update all package dependencies at the prompt.

Also, just a note that currently, the latest version of R is actually 4.3.0.

@marinebnt
Copy link
Author

Good news, the error disappears with the R version 4.3.0, sorry for the bother.
With R version 4.2.2 :
Even after doing remotes::install_github("ropensci/rfishbase") the error remains. Here are my session info :

R version 4.2.2 (2022-10-31 ucrt) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 19045) Matrix products: default locale: [1] LC_COLLATE=French_France.utf8 LC_CTYPE=French_France.utf8 [3] LC_MONETARY=French_France.utf8 LC_NUMERIC=C [5] LC_TIME=French_France.utf8 attached base packages: [1] stats graphics grDevices utils datasets methods base other attached packages: [1] rfishbase_4.1.1 loaded via a namespace (and not attached): [1] progress_1.2.2 gtools_3.9.4 spam_2.9-1 tidyselect_1.2.0 [5] remotes_2.4.2 purrr_1.0.1 colorspace_2.0-3 vctrs_0.6.2 [9] generics_0.1.3 viridisLite_0.4.2 pkgbuild_1.4.0 utf8_1.2.2 [13] rlang_1.1.0 R.oo_1.25.0 pillar_1.9.0 withr_2.5.0 [17] glue_1.6.2 DBI_1.1.3 R.utils_2.12.2 dbplyr_2.3.2 [21] foreach_1.5.2 lifecycle_1.0.3 stringr_1.5.0 fields_14.1 [25] dotCall64_1.0-2 munsell_0.5.0 gtable_0.3.3 calibrar_0.2.0 [29] R.methodsS3_1.8.2 codetools_0.2-19 callr_3.7.3 tzdb_0.3.0 [33] fastmap_1.1.0 ps_1.7.5 curl_5.0.0 fansi_1.0.3 [37] readr_2.1.3 scales_1.2.1 desc_1.4.2 fs_1.6.2 [41] gridExtra_2.3 ggplot2_3.4.2 hms_1.1.3 stringi_1.7.8 [45] processx_3.8.1 dplyr_1.1.2 ncdf4_1.19 grid_4.2.2 [49] rprojroot_2.0.3 here_1.0.1 cli_3.4.1 tools_4.2.2 [53] magrittr_2.0.3 maps_3.4.1 tibble_3.2.1 crayon_1.5.2 [57] pkgconfig_2.0.3 prettyunits_1.1.1 rstudioapi_0.14 iterators_1.0.14 [61] viridis_0.6.3 R6_2.5.1 compiler_4.2.2

Thank you !

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

No branches or pull requests

2 participants