-
Notifications
You must be signed in to change notification settings - Fork 42
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
cannot open the connection to 'https://huggingface.co #288
Comments
Which version of the package are you using? I dont see this issue using v5.0.0 packageVersion("rfishbase");
#> [1] '5.0.0'
species_list <- c("Scomber scombrus","Pollachius virens","Pollachius virens");
rfishbase::validate_names(species_list)
#> Joining with `by = join_by(Subfamily, GenCode, FamCode)`
#> Joining with `by = join_by(FamCode)`
#> Joining with `by = join_by(Order, Ordnum, Class, ClassNum)`
#> Joining with `by = join_by(Class, ClassNum)`
#> [1] "Scomber scombrus" "Pollachius virens" "Pollachius virens" Created on 2024-09-12 with reprex v2.1.0 |
Thank you for your reply! I'm also using version '5.0.0'. |
@YQ303 you might try updating other packages too: remotes::install_github("ropensci/rfishbase", deps=TRUE, upgrade=TRUE) then restart R and try again? You can attempt to access the data directly too at https://huggingface.co/datasets/cboettig/fishbase. |
Thanks!! I will try access the data directly !! |
I encountered following connecting issues for almost all functions in the package.
validate_names(species.list)
Error in open.connection(con, "rb") :
cannot open the connection to 'https://huggingface.co/api/datasets/cboettig/fishbase/tree/main/data/fb'
I wonder if there is any possible solution, e.g. by mannually downloading necessary data?
Thanks for any suggestions!!!
The text was updated successfully, but these errors were encountered: