Running 'testthat.R' [20s]
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-23, (SVN revision 1121)
  Geospatial Data Abstraction Library extensions to R successfully loaded
  Loaded GDAL runtime: GDAL 3.2.1, released 2020/12/29
  Path to GDAL shared files: D:/temp/RtmpeIgOBK/RLIBS_213886f31417/rgdal/gdal
  GDAL binary built with GEOS: TRUE 
  Loaded PROJ runtime: Rel. 7.2.1, January 1st, 2021, [PJ_VERSION: 721]
  Path to PROJ shared files: D:/temp/RtmpeIgOBK/RLIBS_213886f31417/rgdal/proj
  PROJ CDN enabled: FALSE
  Linking to sp version:1.4-5
  To mute warnings of possible GDAL/OSR exportToProj4() degradation,
  use options("rgdal_show_exportToProj4_warnings"="none") before loading rgdal.
  Overwritten PROJ_LIB was D:/temp/RtmpeIgOBK/RLIBS_213886f31417/rgdal/proj
  > 
  > test_check("sdmpredictors")
  [1] "d:/Rcompile/CRANpkg/local/4.1/sdmpredictors.Rcheck/tests/testthat"
  == Skipped tests ===============================================================
  * On CRAN (17)
  
  == Failed tests ================================================================
  -- Failure (test_get_sysdata.R:42:3): sysdata gets downloaded ------------------
  file.exists(outfile) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      x
   1. \-sdmpredictors:::gets_downloaded(outfile) test_get_sysdata.R:42:2
   2.   \-testthat::expect_true(file.exists(outfile)) test_get_sysdata.R:37:4
  -- Failure (test_get_sysdata.R:45:3): sysdata gets downloaded ------------------
  file.exists(outfile) is not TRUE
  
  `actual`:   FALSE
  `expected`: TRUE 
  Backtrace:
      x
   1. \-sdmpredictors:::gets_downloaded(outfile) test_get_sysdata.R:45:2
   2.   \-testthat::expect_true(file.exists(outfile)) test_get_sysdata.R:37:4
  
  [ FAIL 2 | WARN 44 | SKIP 17 | PASS 91 ]
  Error: Test failures
  Execution halted