-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
wdpa_fetch() no longer works #63
Comments
Hi, I see that this has already been identified by @Jo-Schie, but I'm affraid that the solution doesn't work on linux: remotes::install_github("prioritizr/wdpar", quiet = TRUE, force = TRUE,
upgrade = "always")
library(dplyr)
library(wdpar)
# Downloading Protected areas from Madagascar
PA_mada <- wdpa_fetch("Madagascar", wait = TRUE,
download_dir = "data_s3/WDPA") %>%
filter(STATUS != "Proposed") %>%
filter(DESIG != "Locally Managed Marine Area", DESIG != "Marine Park") Which returns the following error: It is running on Ubuntu 20.04, with R 4.2.1 |
Thank you very much for reaching out @fBedecarrats! Hmm, the |
I just tried and it worked indeed! I agree that a message to the user would be useful to help solve this error. Thanks a lot. |
Ok excellent - thanks! Yeah, I'll update the error message. |
The PhantomJS web driver is no longer supported by the RSelenium package, and so this function no longers works. I need to find another package to replace the Rselenium dependency.
The text was updated successfully, but these errors were encountered: