EnquistLab / RTNRS

R package for the (plant) Taxonomic Name Resolution Service
https://bien.nceas.ucsb.edu/bien/tools/tnrs/
Other
8 stars 0 forks source link

error when run #4

Closed cbud closed 2 years ago

cbud commented 3 years ago

When I ran this:

results <- TNRS(taxonomic_names = tnrs_testfile)

I got this:

Error in function (type, msg, asError = TRUE) : error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version

bmaitner commented 3 years ago

Thanks for the heads up on this. I think this might be tied to recent server and database updates. In the next few days I'll get to work on improving the package so it handles these types of errors in a smarter fashion (i.e. with a more useful error message)

bmaitner commented 2 years ago

I've now implemented unit tests that should let us know if the code or the database is down as well as improved error handling that should fail gracefully (and return a more useful message).