TIBHannover / BacDiveR

Inofficial R client for the DSMZ's Bacterial Diversity Metadatabase (former contact: @katrinleinweber). https://api.bacdive.dsmz.de/client_examples seems to be the official alternatives.
https://TIBHannover.GitHub.io/BacDiveR/
MIT License
10 stars 12 forks source link

retrieve_data: argument is of length zero #92

Closed jotech closed 5 years ago

jotech commented 5 years ago

Hi, after updating to the newest version, i'm getting some strange error:

retrieve_data(searchTerm=43, searchType = "bacdive_id")
43 Error in if (payload$detail == "Not found") { : 
  argument is of length zero

This worked before using version 18cb3d70229f0bbd7d09906035dadcc9ba686b4e Thanks for having a look

katrinleinweber commented 5 years ago

You're welcome and 1k thanks again for reporting this bug :-)

I think I'll let it run through their entire DB now to find more error-causing datasets.