Running 'testthat.R' [22s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(sdmpredictors)
  Loading required package: raster
  Loading required package: sp
  Loading required package: rgdal
  rgdal: version: 1.5-18, (SVN revision 1082)
  Geospatial Data Abstraction Library extensions to R successfully loaded
  Loaded GDAL runtime: GDAL 3.0.4, released 2020/01/28
  Path to GDAL shared files: D:/temp/RtmpUh60rv/RLIBS_2501810fa3de5/rgdal/gdal
  GDAL binary built with GEOS: TRUE 
  Loaded PROJ runtime: Rel. 6.3.1, February 10th, 2020, [PJ_VERSION: 631]
  Path to PROJ shared files: D:/temp/RtmpUh60rv/RLIBS_2501810fa3de5/rgdal/proj
  Linking to sp version:1.4-4
  To mute warnings of possible GDAL/OSR exportToProj4() degradation,
  use options("rgdal_show_exportToProj4_warnings"="none") before loading rgdal.
  > 
  > test_check("sdmpredictors")
  -- Warning (test_citations.R:6:3): layer_citations returns expected citations --
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_citations.R:10:3): layer_citations returns expected citations -
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_citations.R:14:3): layer_citations returns expected citations -
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_citations.R:18:3): layer_citations returns expected citations -
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_citations.R:18:3): layer_citations returns expected citations -
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_citations.R:18:3): layer_citations returns expected citations -
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_citations.R:18:3): layer_citations returns expected citations -
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Skip (test_citations.R:25:3): layer_citations returns layer specific citation
  Reason: On CRAN
  
  -- Warning (test_citations.R:33:3): each dataset has at least one citation -----
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_citations.R:35:5): each dataset has at least one citation -----
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_citations.R:35:5): each dataset has at least one citation -----
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_citations.R:35:5): each dataset has at least one citation -----
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_citations.R:35:5): each dataset has at least one citation -----
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_citations.R:35:5): each dataset has at least one citation -----
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Skip (test_citations.R:41:3): each layer has at least one citation ----------
  Reason: On CRAN
  
  -- Warning (test_citations.R:50:3): citations are returned ---------------------
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_citations.R:50:3): citations are returned ---------------------
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_citations.R:50:3): citations are returned ---------------------
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_citations.R:50:3): citations are returned ---------------------
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_citations.R:51:3): citations are returned ---------------------
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_citations.R:54:3): citations are returned ---------------------
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_citations.R:54:3): citations are returned ---------------------
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_citations.R:54:3): citations are returned ---------------------
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_citations.R:54:3): citations are returned ---------------------
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_citations.R:55:3): citations are returned ---------------------
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  [1] "d:/Rcompile/CRANpkg/local/4.0/sdmpredictors.Rcheck/tests/testthat"
  -- Warning (test_get_sysdata.R:8:3): get_sysdata has no unnamed list entries ---
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_get_sysdata.R:16:3): get_sysdata returns all expected entries -
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_get_sysdata.R:42:3): sysdata gets downloaded ------------------
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- FAILURE (test_get_sysdata.R:42:3): sysdata gets downloaded ------------------
  file.exists(outfile) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  -- Warning (test_get_sysdata.R:45:3): sysdata gets downloaded ------------------
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- FAILURE (test_get_sysdata.R:45:3): sysdata gets downloaded ------------------
  file.exists(outfile) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  
  -- Warning (test_list.R:5:3): list_datasets works ------------------------------
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_list.R:10:3): list_layers works -------------------------------
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_list.R:15:3): list_layers_future works ------------------------
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_list.R:15:3): list_layers_future works ------------------------
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_list.R:20:3): list_layers_paleo works -------------------------
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_list.R:20:3): list_layers_paleo works -------------------------
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Skip (test_load.R:52:3): load_layer for one not previously downloaded layerco
  Reason: On CRAN
  
  -- Skip (test_load.R:55:3): load_layer for a previously downloaded layer works -
  Reason: On CRAN
  
  -- Skip (test_load.R:58:3): load_layer equal area layer works ------------------
  Reason: On CRAN
  
  -- Skip (test_load.R:67:3): load_layer works with different datadir options ----
  Reason: On CRAN
  
  -- Skip (test_load.R:93:3): load_layer for dataframe from list_layers works ----
  Reason: On CRAN
  
  -- Skip (test_load.R:114:3): load_layer for multiple not previously downloaded l
  Reason: On CRAN
  
  -- Skip (test_load.R:117:3): load_layer for multiple previously downloaded layer
  Reason: On CRAN
  
  -- Skip (test_load.R:130:3): load_layer for multiple mixed not previously downlo
  Reason: On CRAN
  
  -- Skip (test_load.R:133:3): load_layer for multiple mixed previously downloaded
  Reason: On CRAN
  
  -- Skip (test_load.R:137:3): load_layer handles special cases ------------------
  Reason: On CRAN
  
  -- Skip (test_load.R:145:3): load_layer equal area TRUE/FALSE works ------------
  Reason: On CRAN
  
  -- Skip (test_load.R:168:3): A sample of 500 layers is available on http://www.l
  Reason: On CRAN
  
  -- Warning (test_stats.R:14:3): layer_stats without args returns all layers ----
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_stats.R:14:3): layer_stats without args returns all layers ----
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_stats.R:14:3): layer_stats without args returns all layers ----
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_stats.R:15:3): layer_stats without args returns all layers ----
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_stats.R:21:3): layer_stats with one or more existing layercodes
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_stats.R:25:3): layer_stats with one or more existing layercodes
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Skip (test_stats.R:31:3): layer_stats with non existing layercodes generates 
  Reason: On CRAN
  
  -- Warning (test_stats.R:42:3): layers_correlation without args returns correlat
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_stats.R:43:3): layers_correlation without args returns correlat
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_stats.R:51:3): layers_correlation with one or more existing lay
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Warning (test_stats.R:55:3): layers_correlation with one or more existing lay
  InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
  
  -- Skip (test_stats.R:61:3): layers_correlation with non existing layercodes gen
  Reason: On CRAN
  
  -- Skip (test_stats.R:101:3): plot_correlation works ---------------------------
  Reason: On CRAN
  
  -- Warning (test_stats.R:115:3): calc_stats returns stats ----------------------
  CRS is NA. Assuming it is longitude/latitude
  
  -- Skipped tests  --------------------------------------------------------------
  * On CRAN (17)
  
  == testthat results  ===========================================================
  Warning (test_citations.R:6:3): layer_citations returns expected citations
  Warning (test_citations.R:10:3): layer_citations returns expected citations
  Warning (test_citations.R:14:3): layer_citations returns expected citations
  Warning (test_citations.R:18:3): layer_citations returns expected citations
  Warning (test_citations.R:18:3): layer_citations returns expected citations
  Warning (test_citations.R:18:3): layer_citations returns expected citations
  Warning (test_citations.R:18:3): layer_citations returns expected citations
  Warning (test_citations.R:33:3): each dataset has at least one citation
  Warning (test_citations.R:35:5): each dataset has at least one citation
  Warning (test_citations.R:35:5): each dataset has at least one citation
  Warning (test_citations.R:35:5): each dataset has at least one citation
  Warning (test_citations.R:35:5): each dataset has at least one citation
  Warning (test_citations.R:35:5): each dataset has at least one citation
  Warning (test_citations.R:50:3): citations are returned
  Warning (test_citations.R:50:3): citations are returned
  Warning (test_citations.R:50:3): citations are returned
  Warning (test_citations.R:50:3): citations are returned
  Warning (test_citations.R:51:3): citations are returned
  Warning (test_citations.R:54:3): citations are returned
  Warning (test_citations.R:54:3): citations are returned
  Warning (test_citations.R:54:3): citations are returned
  Warning (test_citations.R:54:3): citations are returned
  Warning (test_citations.R:55:3): citations are returned
  Warning (test_get_sysdata.R:8:3): get_sysdata has no unnamed list entries
  Warning (test_get_sysdata.R:16:3): get_sysdata returns all expected entries
  Warning (test_get_sysdata.R:42:3): sysdata gets downloaded
  FAILURE (test_get_sysdata.R:42:3): sysdata gets downloaded
  Warning (test_get_sysdata.R:45:3): sysdata gets downloaded
  FAILURE (test_get_sysdata.R:45:3): sysdata gets downloaded
  Warning (test_list.R:5:3): list_datasets works
  Warning (test_list.R:10:3): list_layers works
  Warning (test_list.R:15:3): list_layers_future works
  Warning (test_list.R:15:3): list_layers_future works
  Warning (test_list.R:20:3): list_layers_paleo works
  Warning (test_list.R:20:3): list_layers_paleo works
  Warning (test_stats.R:14:3): layer_stats without args returns all layers
  Warning (test_stats.R:14:3): layer_stats without args returns all layers
  Warning (test_stats.R:14:3): layer_stats without args returns all layers
  Warning (test_stats.R:15:3): layer_stats without args returns all layers
  Warning (test_stats.R:21:3): layer_stats with one or more existing layercodes works
  Warning (test_stats.R:25:3): layer_stats with one or more existing layercodes works
  Warning (test_stats.R:42:3): layers_correlation without args returns correlations for all layers
  Warning (test_stats.R:43:3): layers_correlation without args returns correlations for all layers
  Warning (test_stats.R:51:3): layers_correlation with one or more existing layercodes works
  Warning (test_stats.R:55:3): layers_correlation with one or more existing layercodes works
  Warning (test_stats.R:115:3): calc_stats returns stats
  
  [ FAIL 2 | WARN 44 | SKIP 17 | PASS 91 ]
  Error: Test failures
  Execution halted