marcoblume / pinnacle.API

R Wrapper for the Pinnacle API
40 stars 13 forks source link

Use the new error handling function for all recently added endpoints #27

Closed atheriel closed 6 years ago

atheriel commented 6 years ago

This PR updates the endpoint functions introduced in #21 in #22 to use the error handling approach added as part of #26. This dramatically simplifies them in most cases, and since they have not appeared on CRAN yet no one should be affected by the slightly different error messages yet.