Makes sense now that you have to parse the body to get the status code.
Yes, I would bring it up with the developers.
You might want to just parse the response once to save compute time, e.g., you call httr::content
twice here - you could just call it once before the if statement line checking the status rgeobon/geobon_get.R at c6908ba066260e6d2ee9bd225091a1eb5589444d · VLucet/rgeobon · GitHub