bcgov / rems

An R package to access data from British Columbia's Environmental Monitoring System
Apache License 2.0
19 stars 5 forks source link

download_historic_data() should not throw error when user already has data #5

Closed joethorley closed 8 years ago

joethorley commented 8 years ago

The problem with throwing an error is that it breaks scripts unless the user calls it with

try(download_historic_data())

A NULL or TRUE value with an informative message would not cause this problem

ateucher commented 8 years ago

Good point, thanks.