AtlasOfLivingAustralia / galah-R

Query living atlases from R
https://galah.ala.org.au
39 stars 3 forks source link

Functions querying a web service should only return a `message`, never a `warning` or `error` #119

Closed mjwestgate closed 2 years ago

mjwestgate commented 2 years ago

This is advice we received from CRAN that otherwise can cause {galah} to get archived. The easiest way to do this is to use tryCatch to catch all errors (first commit here: e9fffc6875dfb722198f16f9fa5c0cdc7b90263e); but some care needed to ensure that issues are properly dealt with in downstream code.

mjwestgate commented 2 years ago

Updates to atlas_counts given in 461004f99609ea8b64a4a1463afcb6328e45d1ca Updates to atlas_taxonomy and atlas_species given in ff046d2eb6cdb91faecc4754cac690b3c3c9a58f