ropensci / wateRinfo

R package to download time series data from waterinfo.be
https://docs.ropensci.org/wateRinfo
MIT License
14 stars 3 forks source link

Patch changed response #65

Closed stijnvanhoey closed 5 years ago

stijnvanhoey commented 5 years ago

Fixes current build errors as described in https://github.com/ropensci/wateRinfo/issues/64.

Previously, some API constructs were resulting in non-json responses even though requested. This improvement on the API side simplifies the code and, as such, the unit tests which where added to check these special cases. This PR removes the obsolete parts, without influencing any major components.