Running ‘testthat.R’ [365s/561s]
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.3-3, (SVN revision 759)
   Geospatial Data Abstraction Library extensions to R successfully loaded
   Loaded GDAL runtime: GDAL 2.3.1, released 2018/06/22
   Path to GDAL shared files: /usr/share/gdal
   GDAL binary built with GEOS: TRUE 
   Loaded PROJ.4 runtime: Rel. 5.1.0, June 1st, 2018, [PJ_VERSION: 510]
   Path to PROJ.4 shared files: (autodetected)
   Linking to sp version: 1.3-1 
  > 
  > test_check("sdmpredictors")
  ── 1. Failure: layer_citations returns expected citations (@test_citations.R#7) 
  length(ref) not equal to 1.
  1/1 mismatches
  [1] 2 - 1 == 1
  
  ── 2. Failure: layer_citations returns expected citations (@test_citations.R#8) 
  grepl("Bio-ORACLE", ref) isn't true.
  
  ── 3. Failure: layer_citations returns expected citations (@test_citations.R#15)
  length(ref) not equal to 2.
  1/1 mismatches
  [1] 1 - 2 == -1
  
  ── 4. Failure: citations are returned (@test_citations.R#52)  ──────────────────
  length(lcitations) not equal to length(dcitations).
  1/1 mismatches
  [1] 5 - 7 == -2
  
  ── 5. Failure: citations are returned (@test_citations.R#56)  ──────────────────
  length(lcitations) not equal to length(dcitations).
  1/1 mismatches
  [1] 5 - 7 == -2
  
  [1] "/home/hornik/tmp/R.check/r-devel-gcc/Work/PKGS/sdmpredictors.Rcheck/tests/testthat"
  trying URL 'http://www.lifewatch.be/sdmpredictors/BO_ph_lonlat.tif'
  Content type 'image/tiff' length 2518560 bytes (2.4 MB)
  ==================================================
  downloaded 2.4 MB
  
  trying URL 'http://www.lifewatch.be/sdmpredictors/MS_bathy_21kya_lonlat.tif'
  Content type 'image/tiff' length 8210663 bytes (7.8 MB)
  ==================================================
  downloaded 7.8 MB
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 929 SKIPPED: 18 FAILED: 5
  1. Failure: layer_citations returns expected citations (@test_citations.R#7) 
  2. Failure: layer_citations returns expected citations (@test_citations.R#8) 
  3. Failure: layer_citations returns expected citations (@test_citations.R#15) 
  4. Failure: citations are returned (@test_citations.R#52) 
  5. Failure: citations are returned (@test_citations.R#56) 
  
  Error: testthat unit tests failed
  Execution halted