ropensci / ritis

Integrated Taxonomic Information Service (ITIS) R client
https://docs.ropensci.org/ritis
Other
16 stars 2 forks source link

Signal to user if ITIS response is empty #27

Open jcblum opened 9 months ago

jcblum commented 9 months ago

Current behavior is to silently return an empty data frame. It would be nicer to also include a warning that the response from ITIS was completely empty (no fields).

See #26, where a transient ITIS outage was leading to an empty string getting passed into parse_raw() (but apparently no HTTP errors were detected?).

rix133 commented 9 months ago

(but apparently no HTTP errors were detected?).

Yes, no HTTP errors of any sort