Open richelbilderbeek opened 3 years ago
Hi @richelbilderbeek ,
That's a good idea, I think we can check the NCBI output for <ERROR>
fields, and at least return use them as an R warning.
A bit slammed at the moment, but can keep it on the TODO list.
Great to hear this feature one day will be there. Thanks so much!
Dear
rentrez
maintainer,I enjoy
rentrez
quite a bit and I suggest to improve an error message to make it even more awesome:The code below works fine (if NCBI is up), where I use the 'gene' database to look up the gene 'something':
When the database name is nonsense, I get an obscure error. For example, this code ..
results in the error message:
I suggest to add a more descriptive error message, such as for example:
To make it even more awesome, give the user a hint which databases can be used, such as referring to a (not yet existing?)
rentrez
function such asget_db_names
: