Giter Site home page Giter Site logo

Comments (8)

jeffreyhanson avatar jeffreyhanson commented on June 14, 2024

Hi @jaseeverett,

Thank you very much for reporting this! I'll look into it and try and get back to you later today.

from wdpar.

jeffreyhanson avatar jeffreyhanson commented on June 14, 2024

Hmm, it seems to work on my computer (Ubuntu). I assume this on your M1 Mac? Internally, wdpar uses the curl package to handle downloads - could you try updating that and see if it works? If not, we could try and debug this togeather over zoom/teams?

from wdpar.

jeffreyhanson avatar jeffreyhanson commented on June 14, 2024

Also, it might be possible that there was previously an issue when downloading the global dataset into the rappdirs::user_data_dir("wdpar") folder, so it's now failing when trying to import this cached data. So, maybe try deleting the global wdpar dataset from this folder and try running it again (so as to force wdpar to download the dataset again from Protected Planet)? Could you try running this code so that force wdpar is forced to re-download the data before trying to import it?

wdpa_data <- wdpar::wdpa_fetch("global", wait = TRUE, download_dir = rappdirs::user_data_dir("wdpar"), force_download = TRUE)

from wdpar.

jaseeverett avatar jaseeverett commented on June 14, 2024

Thanks @jeffreyhanson . No there isn't an issue with the cache. I tried it with new cache names, and also no cache and get the same issue.
I just spoke to my student who reported it and he is using a 2018 MB Air. So possible a Mac issue, but not specific to the new Macs.

from wdpar.

jaseeverett avatar jaseeverett commented on June 14, 2024

I'll have a look at debugging it myself and get back to you. Stand by

from wdpar.

jeffreyhanson avatar jeffreyhanson commented on June 14, 2024

Just to follow up, were you able to debug the issue?

from wdpar.

jaseeverett avatar jaseeverett commented on June 14, 2024

Hey @jeffreyhanson . Yes I think I have but I'm just getting a student to test it on their computer to see if it works for them. Will get back to you shortly.

from wdpar.

jaseeverett avatar jaseeverett commented on June 14, 2024

#81 should solve this

from wdpar.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.