KrishnamurthyLab/spatialEpisim.foundation

`originalCodeResults` expression in Q-matrix test requires data not available in package

Closed this issue · 0 comments

See the FIXME quoted below and resolve it following the short bunny trail through Wonderland here.

#### FIXME: The following error occurs when the originalCodeResults compound
#### expression is ran outside of yeOldeSpatialEpisim; I need to make the data
#### which is expected to be available by this test available.
### Error: [rast] file does not exist: tif/cod_ppp_2020_1km_Aggregated_UNadj.tif
### In addition: Warning messages:
### 1: In download.file(url, paste0(tifFolder, tifFileName), mode = "wb") :
### URL https://data.worldpop.org/GIS/Population/Global_2000_2020_1km_UNadj/2020/COD/cod_ppp_2020_1km_Aggregated_UNadj.tif: cannot open destfile 'tif/cod_ppp_2020_1km_Aggregated_UNadj.tif', reason 'No such file or directory'
### 2: In download.file(url, paste0(tifFolder, tifFileName), mode = "wb") :
### download had nonzero exit status
### 3: tif/cod_ppp_2020_1km_Aggregated_UNadj.tif: No such file or directory (GDAL error 4)

yeOldeSpatialEpisim is the name of the Git Worktree on my system containing a very old copy of SpatialEpisim. That name is not useful for others, but it should be satisfactorily named semantically.