Running ‘testthat.R’ [84s/104s]
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, 10, 1097-1107.
  > 
  > test_check("pavo")
  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: 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: 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 
   
  ── 1. Error: procimg (@test-images.R#69)  ──────────────────────────────────────
  R: width or height exceeds limit `[0]' @ error/cache.c/SetPixelCacheNexusPixels/5198
  Backtrace:
   1. testthat::expect_equal(...)
   4. pavo::procimg(papilio, resize = 50)
   5. magick::image_resize(image, size, "Quadratic")
   6. magick:::magick_image_resize(image, geometry, filter)
  
     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 18823 items
  Read 10820 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: 314 | SKIPPED: 6 | WARNINGS: 1033 | FAILED: 1 ]
  1. Error: procimg (@test-images.R#69) 
  
  Error: testthat unit tests failed
  Execution halted