Running ‘run_test.R’ [14s/24s]
Running the tests in ‘tests/run_test.R’ failed.
Complete output:
  > all_files <- list.files("testthat",full.names=T,pattern="*.R$")
  > 
  > sapply(all_files,source)
  Loading required package: magick
  Linking to ImageMagick 6.9.10.23
  Enabled features: fontconfig, freetype, fftw, lcms, pango, webp, x11
  Disabled features: cairo, ghostscript, rsvg
  Loading required package: XML
  
  Attaching package: 'magrittr'
  
  The following objects are masked from 'package:testthat':
  
      equals, is_less_than, not
  
  1 files found in input directory:
  [1] "RTest_TC-generic.xml"
  
  Import TC file '/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RTest/xml-templates/RTest_TC-generic.xml'
  
  Create new TC using adapter definition 'RTestCase'.Test Case
    Object of class ' RTestCase '
    @ID :  RTest_TC-generic 
    @tc.type :  RTestCase 
    @synopsis :
       $version :  01 
       $author :  Sebastian Wolf 
       $short-description :  RTest Template TC for generic test-adapter 
       $description :  A test case without a test adapter 
       $label :   
       $creation-date :  2018-12-11 
       $change-history :
          2018-12-11 ,  Sebastian Wolf :
            Initial Version 
  
    @xml.fPath :  /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/RTest/xml-templates/RTest_TC-generic.xml 
    @xml.root :  XMLNode 
  
    @input.data : 
  test01 : 'data.frame':	2 obs. of  2 variables:
   $ x: num  1 1
   $ y: num  2 2
  
    @test.for :  NA 
    @test.result :  NA 
  
    @tests :
  RTest : List of 5
   $ :List of 1
    ..$ example_data_frame:List of 1
    .. ..$ :List of 16
    .. .. ..$ pkg         : chr "RTest"
    .. .. ..$ pgk-iter    : num 1
    .. .. ..$ func        : chr "example_data_frame"
    .. .. ..$ func-iter   : num 1
    .. .. ..$ test-code   : chr "RTest::example_data_frame"
    .. .. ..$ test-adapter: chr "RTestCase"
    .. .. ..$ test-func   : chr "test.RTest.example_data_frame"
    .. .. ..$ pkg-desc    : chr ""
    .. .. ..$ func-desc   : chr "Test data.frame"
    .. .. ..$ xpath       : chr "//RTestCase/tests/RTest[1]/example_data_frame[1]"
    .. .. ..$ reporter    : logi NA
    .. .. ..$ result      : logi NA
    .. .. ..$ cache       : logi NA
    .. .. ..$ execresid   : logi NA
    .. .. ..$ specid      : chr "01"
    .. .. ..$ riskid      : chr "01"
   $ :List of 1
    ..$ example_image:List of 1
    .. ..$ :List of 16
    .. .. ..$ pkg         : chr "RTest"
    .. .. ..$ pgk-iter    : num 2
    .. .. ..$ func        : chr "example_image"
    .. .. ..$ func-iter   : num 1
    .. .. ..$ test-code   : chr "RTest::example_image"
    .. .. ..$ test-adapter: chr "RTestCase"
    .. .. ..$ test-func   : chr "test.RTest.example_image"
    .. .. ..$ pkg-desc    : chr ""
    .. .. ..$ func-desc   : chr "Compare an image"
    .. .. ..$ xpath       : chr "//RTestCase/tests/RTest[2]/example_image[1]"
    .. .. ..$ reporter    : logi NA
    .. .. ..$ result      : logi NA
    .. .. ..$ cache       : logi NA
    .. .. ..$ execresid   : logi NA
    .. .. ..$ specid      : chr "02"
    .. .. ..$ riskid      : chr "01"
   $ :List of 1
    ..$ example_list:List of 1
    .. ..$ :List of 16
    .. .. ..$ pkg         : chr "RTest"
    .. .. ..$ pgk-iter    : num 3
    .. .. ..$ func        : chr "example_list"
    .. .. ..$ func-iter   : num 1
    .. .. ..$ test-code   : chr "RTest::example_list"
    .. .. ..$ test-adapter: chr "RTestCase"
    .. .. ..$ test-func   : chr "test.RTest.example_list"
    .. .. ..$ pkg-desc    : chr ""
    .. .. ..$ func-desc   : chr ""
    .. .. ..$ xpath       : chr "//RTestCase/tests/RTest[3]/example_list[1]"
    .. .. ..$ reporter    : logi NA
    .. .. ..$ result      : logi NA
    .. .. ..$ cache       : logi NA
    .. .. ..$ execresid   : logi NA
    .. .. ..$ specid      : chr "03"
    .. .. ..$ riskid      : chr "01"
   $ :List of 1
    ..$ example_vector:List of 1
    .. ..$ :List of 16
    .. .. ..$ pkg         : chr "RTest"
    .. .. ..$ pgk-iter    : num 4
    .. .. ..$ func        : chr "example_vector"
    .. .. ..$ func-iter   : num 1
    .. .. ..$ test-code   : chr "RTest::example_vector"
    .. .. ..$ test-adapter: chr "RTestCase"
    .. .. ..$ test-func   : chr "test.RTest.example_vector"
    .. .. ..$ pkg-desc    : chr ""
    .. .. ..$ func-desc   : chr "Test vector example"
    .. .. ..$ xpath       : chr "//RTestCase/tests/RTest[4]/example_vector[1]"
    .. .. ..$ reporter    : logi NA
    .. .. ..$ result      : logi NA
    .. .. ..$ cache       : logi NA
    .. .. ..$ execresid   : logi NA
    .. .. ..$ specid      : chr "04"
    .. .. ..$ riskid      : chr "01"
   $ :List of 1
    ..$ example_variable:List of 1
    .. ..$ :List of 16
    .. .. ..$ pkg         : chr "RTest"
    .. .. ..$ pgk-iter    : num 5
    .. .. ..$ func        : chr "example_variable"
    .. .. ..$ func-iter   : num 1
    .. .. ..$ test-code   : chr "RTest::example_variable"
    .. .. ..$ test-adapter: chr "RTestCase"
    .. .. ..$ test-func   : chr "test.RTest.example_variable"
    .. .. ..$ pkg-desc    : chr ""
    .. .. ..$ func-desc   : chr "Test relative difference"
    .. .. ..$ xpath       : chr "//RTestCase/tests/RTest[5]/example_variable[1]"
    .. .. ..$ reporter    : logi NA
    .. .. ..$ result      : logi NA
    .. .. ..$ cache       : logi NA
    .. .. ..$ execresid   : logi NA
    .. .. ..$ specid      : chr "05"
    .. .. ..$ riskid      : chr "01"
  
  
   data.frame: 2 x 1 ...  data.frame: 2 x 1 ...  data.frame: 2 x 2 ...  data.frame: 2 x 2 ...  data.frame: 2 x 2 ...  data.frame: 2 x 2 ...  data.frame: 2 x 2 ...  data.frame: 2 x 2 ...  data.frame: 2 x 2 ...  data.frame: 2 x 2 ...  data.frame: 2 x 2 ...  data.frame: 2 x 2 ...  data.frame: 2 x 2 ...  data.frame: 2 x 2 ...  data.frame: 2 x 2 ...  data.frame: 2 x 2 ...  data.frame: 2 x 2 ...  data.frame: 2 x 2 ...  data.frame: 2 x 1 ...  data.frame: 2 x 1 ...  data.frame: 2 x 1 ...  data.frame: 2 x 1 ... Error: Test failed: 'xmlWriteData_matrix'
  * class(data) == "matrix" are not all TRUE
  Backtrace:
    1. testthat::expect_output(regexp = "numeric", RTest:::xmlWriteData_matrix(data = matrix_1))
   10. RTest:::xmlWriteData_matrix(data = matrix_1)
   11. base::stopifnot(class(data) == "matrix")
  Execution halted