outbreak-info / R-outbreak-info

R package to access the genomics and epidemiology data and Research Library metadata compiled and standardized on outbreak.info.
https://outbreak-info.github.io/R-outbreak-info/
MIT License
19 stars 10 forks source link

Better error message for bad inputs to getLocationData #76

Open flaneuse opened 2 years ago

flaneuse commented 2 years ago

getLocationData("California", "India") fails with message Error in pb_tick(self, private, len, tokens) : !self$finished is not TRUE

flaneuse commented 2 years ago

sorry, i'm an idiot, missing the c() wrapper around the locations. Would be nice to have a cleaner exit / error message though.