Running 'testthat.R' [46s/49s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(pavo)
  Welcome to pavo 2! Take a look at the latest features (and update your bibliography) in our recent publication: Maia R., Gruson H., Endler J. A., White T. E. (2019) pavo 2: new tools for the spectral and spatial analysis of colour in R. Methods in Ecology and Evolution, Early View.
  > 
  > test_check("pavo")
  Colorspace & visual model options:
   * Colorspace: tcs 
   * Quantal catch: Qi 
   * Visual system, chromatic: user-defined 
   * Visual system, achromatic: none 
   * Illuminant: ideal, scale = 1 (von Kries colour correction not applied) 
   * Background: ideal 
   * Relative: TRUE 
   
  Colorspace & visual model options:
   * Colorspace: CIELCh 
   * Quantal catch: Qi 
   * Visual system, chromatic: cie10 
   * Visual system, achromatic: none 
   * Illuminant: ideal, scale = 1 (von Kries colour correction applied) 
   * Background: ideal 
   * Relative: FALSE 
   
  Colorspace & visual model options:
   * Colorspace: tcs 
   * Quantal catch: Qi 
   * Visual system, chromatic: avg.uv 
   * Visual system, achromatic: none 
   * Illuminant: ideal, scale = 1 (von Kries colour correction not applied) 
   * Background: ideal 
   * Relative: TRUE 
   
  Colorspace & visual model options:
   * Colorspace: tcs 
   * Quantal catch: Qi 
   * Visual system, chromatic: avg.uv 
   * Visual system, achromatic: none 
   * Illuminant: ideal, scale = 1 (von Kries colour correction not applied) 
   * Background: ideal 
   * Relative: TRUE 
   
  
   *** caught segfault ***
  address 0x18, cause 'memory not mapped'
  An irrecoverable exception occurred. R is aborting now ...
  
   *** caught segfault ***
  address 0x18, cause 'memory not mapped'
  An irrecoverable exception occurred. R is aborting now ...
  -- 1. Error: adjacency (@test-images.R#206)  -----------------------------------
  attempt to set an attribute on NULL
  1: classify(imgfakes, kcols = 2) at testthat/test-images.R:206
  
     Length     Class      Mode 
          2 character character 
     Length     Class      Mode 
          1 character character 
     Length     Class      Mode 
          1 character character 
     Length     Class      Mode 
          1 character character 
     Length     Class      Mode 
          1 character character 
     Length     Class      Mode 
          1 character character 
     Length     Class      Mode 
          1 character character 
     Length     Class      Mode 
          3 character character 
  Read 10820 items
  Read 18823 items
  Read 10824 items
     Length     Class      Mode 
          2 character character 
     Length     Class      Mode 
          2 character character 
     Length     Class      Mode 
          1 character character 
     Length     Class      Mode 
          2 character character 
     Length     Class      Mode 
          2 character character 
     Length     Class      Mode 
          0 character character 
  visual model options:
   * Quantal catch: Qi 
   * Visual system, chromatic: avg.uv 
   * Visual system, achromatic: none 
   * Illuminant: ideal, scale = 1 (von Kries colour correction not applied) 
   * Background: ideal 
   * Transmission: ideal 
   * Relative: TRUE 
  == testthat results  ===========================================================
  OK: 313 SKIPPED: 1 WARNINGS: 1041 FAILED: 1
  1. Error: adjacency (@test-images.R#206) 
  
  Error: testthat unit tests failed
  Execution halted