Running 'testthat.R' [65s]
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 
   
  -- 1. Error: summary (@test-images.R#280)  -------------------------------------
  Magick: UnableToOpenBlob `D:\temp\RtmpOsJPGo\RLIBS_ba083415711e\pavo\testdata\images\snakes': Permission denied @ error/blob.c/OpenBlob/2701
  1: getimg(system.file("testdata/images/snakes", package = "pavo")) at testthat/test-images.R:280
  2: as.rimg(image_read(imgpath), name = sub(".*\\/", "", sub("[.][^.]+$", "", imgpath)))
  3: image_read(imgpath)
  4: magick_image_readpath(enc2native(path), density, depth, strip)
  
     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 
  -- 2. Error: getimg (@test-import.R#70)  ---------------------------------------
  Magick: UnableToOpenBlob `D:\temp\RtmpOsJPGo\RLIBS_ba083415711e\pavo\testdata\images\formats': Permission denied @ error/blob.c/OpenBlob/2701
  1: expect_s3_class(getimg(system.file("testdata", "images", "formats", package = "pavo")), 
         "rimg") at testthat/test-import.R:70
  2: quasi_label(enquo(object), arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: getimg(system.file("testdata", "images", "formats", package = "pavo"))
  5: as.rimg(image_read(imgpath), name = sub(".*\\/", "", sub("[.][^.]+$", "", imgpath)))
  6: image_read(imgpath)
  7: magick_image_readpath(enc2native(path), density, depth, strip)
  
  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: 338 | SKIPPED: 1 | WARNINGS: 1040 | FAILED: 2 ]
  1. Error: summary (@test-images.R#280) 
  2. Error: getimg (@test-import.R#70) 
  
  Error: testthat unit tests failed
  Execution halted