I hope this email finds you well.
I am currently working on an analysis using the Wallace EcoMod, but I am encountering some issues that I need help resolving. Below is the code I am using to initiate the program:
[[install.packages("devtools")
devtools::install_github("wallaceEcoMod/wallace")
library(wallace)
run_wallace()]]
However, I receive the following notifications in RStudio before the webpage opens:
[[ install.packages("devtools")
Error in install.packages : Updating loaded packages
> devtools::install_github("wallaceEcoMod/wallace")
Downloading GitHub repo wallaceEcoMod/wallace@HEAD
Error in utils::download.file(url, path, method = method, quiet = quiet, :
download from '
https://api.github.com/repos/wallaceEcoMod/wallace/tarball/HEAD' failed
> library(wallace)
Loading required package: shiny
Loading required package: leaflet
> run_wallace()
Listening on
http://127.0.0.1:5593]]
The webpage does open, but when I attempt to retrieve environmental variable data from WorldClim, the screen turns grey and freezes. The error notification in RStudio is as follows:
[[Registered S3 methods overwritten by 'adehabitatMA':
method from
print.SpatialPixelsDataFrame sp
print.SpatialPixels sp
Warning in raster::getData(name = "worldclim", var = "bio", res = bcRes, :
getData will be removed in a future version of raster
. Please use the geodata package instead
trying URL '
https://biogeo.ucdavis.edu/data/climate/worldclim/1_4/grid/cur/bio_2-5m_bil.zip'
Warning in utils::download.file(url = aurl, destfile = fn, quiet = FALSE, :
URL '
https://biogeo.ucdavis.edu/data/climate/worldclim/1_4/grid/cur/bio_2-5m_bil.zip': Timeout of 600 seconds was reached
Warning: Error in utils::download.file: cannot open URL '
https://biogeo.ucdavis.edu/data/climate/worldclim/1_4/grid/cur/bio_2-5m_bil.zip'
2: shiny::runApp
1: run_wallace]]
Could you please provide guidance on how to fix this issue? Specifically, I would like to understand how to successfully download the required data and avoid the screen freezing problem.
Thank you in advance for your assistance.
Best regards,
Marwat