Closed kairos35 closed 3 years ago
First of all, thx for contributing this very helpful package.
I see the same error using rfishbase_3.1.8
on macOS Big Sur 11.5.1 and R
v4.1.0.
I think the code worked for me in the past, so maybe a recent curl
update broke something?
Correct, it worked for me last year, too. Now I wanted to update the data - and it's broke. Possible that the recent curl update broke something - alas I don't know how to test or even resolve this. And: issues #215 mentions, that the github release is still missing .... maybe the cran package and the github files are not "in sync"?
You probably refer to #206, but this shouldn't be of relevance here. I also just checked, the GitHub version. (main
branch) also returns the same error message.
Probably nothing you can test or resolve at this point. Let's see what the developers say.
Ok. Thanks Just found an data update on https://github.com/ropensci/rfishbase/releases/tag/fb-21.04 instead of https://github.com/ropensci/rfishbase/releases/download/fb-21.04
Oh and a reproduciable example just in case:
library(rfishbase)
validate_names("Abramites ternetzi")
#> Error in curl::curl_download(addr, dest = local_tbl): HTTP error 404.
Created on 2021-08-05 by the reprex package (v2.0.0)
FWIW - I ran some iterative queries up until ~6 PM EST last night which ran no problem. These are the same queries I have been scripting for a couple of months now. I get the same errors as others have reported when I tried to run those same scripts this morning (was so excited to access all that new DB cached data!)
The data update I found is from 14 hours ago - it's in a new folder (see comment above), file format parquet. So possibly, we need to wait until developers finished all code updates?
Hi all,
apologies, preparing the new data dump, but meanwhile it is confusing the current release which doesn't know how to parse the new format. I'll srupress the 2021 tag until we're ready to ship
p.s. meanwhile, if you set the version
string to the previous release, things should work as before; e.g.:
rfishbase::species(version = "19.04")
21.04 data should be up now for FB, SLB coming soon. parquet-based release won't go live until the next release of the R package.
Hi Carl, thanks a million for your prompt help. My code is working fine again. And thank you so much for this package!
Although downloading the newest version and cleaning cache, with most functions I get the error in the title.
Also, some functions seem to be discontinued? e.g. get_latest_release(), which seemed to be used in other functions?
Mainly, I cannot access any tables. One example for the brains table
Same error if I use provided code like
I tried to find out which path the brains() function uses, and one suggestion I found is:
R SESSION Information :
Thanks a lot for any advice!