ropensci / rfishbase

R interface to the fishbase.org database
https://docs.ropensci.org/rfishbase
111 stars 40 forks source link

errrors #239

Closed marineLZ closed 1 year ago

marineLZ commented 2 years ago

fish <- validate_names(c("Oreochromis niloticus", "Salmo trutta")) Error in curl::curl_download(addr, dest = local_tbl) : Timeout was reached: [] Connection timed out after 10001 milliseconds

devtools::session_info()

  • Session info ---------------------------------------------------------------------- setting value
    version R version 4.1.1 (2021-08-10)
    os Windows 10 x64
    system x86_64, mingw32
    ui RStudio
    language (EN)
    collate Chinese (Simplified)_China.936 ctype Chinese (Simplified)_China.936 tz Asia/Taipei
    date 2021-11-27

[1] E:/R/R-4.1.1/library

marineLZ commented 2 years ago

rfishbase::species(version = "19.04") Error in curl::curl_download(addr, dest = local_tbl) : Timeout was reached: [] Connection timed out after 10000 milliseconds

cboettig commented 2 years ago

@marineLZ thanks for the report, that's definitely unexpected. Could be a temporary connectivity issue though, can you try again and confirm?

If the issue persists, could you also try the current development branch by running:

# install.packages("remotes") # first if necessary
remotes::install_github("ropensci/rfishbase@parquet")

restart R, and try again?