You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi @rhijmans, the function crop_spam() returns an error indicating that it is unable to connect to the server. Do you know if this can be solved from your side or is something related to IFPRI / SPAM server?
cas <- crop_spam("cassava", "area", path=tempdir(), TRUE)
trying URL 'https://s3.amazonaws.com/mapspam/2017/ssa/v1.1/geotiff/spam2017v1r1_ssa_harv_area.geotiff.zip'
Error in utils::download.file(url = url, destfile = filename, quiet = quiet, :
cannot open URL 'https://s3.amazonaws.com/mapspam/2017/ssa/v1.1/geotiff/spam2017v1r1_ssa_harv_area.geotiff.zip'
download failed
This is the R session info
> sessioninfo::session_info()
─ Session info ────────────────────────────────────────────────────────────────────────────────────────────────────
setting value
version R version 4.2.1 (2022-06-23)
os macOS 14.0
system x86_64, darwin17.0
ui RStudio
language (EN)
collate en_US.UTF-8
ctype en_US.UTF-8
tz Europe/Paris
date 2024-01-30
rstudio 2023.06.2+561 Mountain Hydrangea (desktop)
pandoc 2.9.1.1 @ /usr/local/bin/pandoc
─ Packages ────────────────────────────────────────────────────────────────────────────────────────────────────────
package * version date (UTC) lib source
cli 3.6.1 2023-03-23 [1] CRAN (R 4.2.0)
codetools 0.2-18 2020-11-04 [1] CRAN (R 4.2.1)
geodata * 0.5-3 2022-12-01 [1] CRAN (R 4.2.0)
Rcpp 1.0.10 2023-01-22 [1] CRAN (R 4.2.0)
rstudioapi 0.14 2022-08-22 [1] CRAN (R 4.2.0)
sessioninfo 1.2.2 2021-12-06 [1] CRAN (R 4.2.0)
terra * 1.7-65 2023-12-15 [1] CRAN (R 4.2.0)
[1] /Library/Frameworks/R.framework/Versions/4.2/Resources/library
The text was updated successfully, but these errors were encountered:
Hi @rhijmans, the function
crop_spam()
returns an error indicating that it is unable to connect to the server. Do you know if this can be solved from your side or is something related to IFPRI / SPAM server?This is the R session info
The text was updated successfully, but these errors were encountered: