prioritizr / wdpar

Interface to the World Database on Protected Areas
https://prioritizr.github.io/wdpar
GNU General Public License v3.0
39 stars 5 forks source link

wdpa_clean doesnt work offline #21

Closed JonasGeschke closed 4 years ago

JonasGeschke commented 4 years ago

Hi, another issue I came across while working on the train: wdpa_clean doesnt work offline:

Error: curl::has_internet() is not TRUE

I guess this is due to the wdpa_url and wdpa_fetch functions that need internet connection, but wdpa_clean shouldnt need to, right?

jeffreyhanson commented 4 years ago

Yeah, wdpa_clean shouldn't need an internet connection. Thanks for raising this issue - I'll try and fix this sometime this week.

jeffreyhanson commented 4 years ago

I've just pushed a fix addressing this issue - thanks again for raising it.