Closed vsbuffalo closed 3 years ago
Ok, poking around a bit more, I see this is from contentid::resolve()
. I'm happy to close this issue and repost in the contentid repo if you like — though, for now, it would be useful to know if there's a way I can avoid hash-archive.org entirely while it's down?
@vsbuffalo Thanks for reporting! Yup, that's the issue, I've just patched this on master
over at https://github.com/cboettig/contentid. (contentid
should now warn instead of throwing an error while the hash-archive.org server is completely down, which should allow things to fall back to another resolver). Lemme know if you get a chance to test and I'll push a new contentid to CRAN soon
(p.s. you can indeed alter the default registries used by contentid
, e.g. to not include https://hash-archive.org, by setting the env var CONTENTID_REGISTRIES
, see https://github.com/cboettig/contentid/blob/master/R/default_registries.R. Still, I think I haven't really nailed down the best interface for opting in/out of different registries or the best model for adding extensions; I'd really appreciate your thoughts on that if you poke around.
last thing I'll toss in while I'm bugging you for input: you might take a quick look at taxalight
as well, https://github.com/cboettig/taxalight/, it accesses the same formatted darwin core tables data as taxadb
, but uses LMDB instead of a relational database as the backend. As you know, this means we sacrifice some of the flexibility of full SQL but gain a lot in speed for the 'standard' operations of resolving names <-> ids.
Thanks so much Carl for this quick fix and this information!
Installing contentid
using devtools::install_github('cboettig/contentid')
did the trick! taxalight
looks very cool, I'll check it out!
Just a note that contentid
0.0.10 is now on CRAN
Hello!
I am currently having an issue with taxadb version 0.1.2. Here's a MRE from the documentation:
which errors out with
Error in curl::curl_fetch_memory(url, handle = handle): Could not resolve host: hash-archive.org
Session info: