Running 'testthat.R' [17s/18s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(OpenImageR)
  > 
  > test_check("OpenImageR")
  
  time to complete : 0.009232998 secs 
  
  
  time to complete : 0.03460836 secs 
  
  
  time to complete : 0.03920078 secs 
  
  
  time to complete : 0.03593254 secs 
  
  
  time to complete : 0.03394341 secs 
  
  
  time to complete : 0.01283097 secs 
  
  
  time to complete : 0.0003361702 secs 
  
  
  time to complete : 0.0003597736 secs 
  
  
  time to complete : 0.0006129742 secs 
  
  
  time to complete : 0.001908779 secs 
  
  
  time to complete : 0.001877546 secs 
  
  
  time to complete : 0.00989151 secs 
  
  
  time to complete : 0.008266211 secs 
  
  
  time to complete : 0.009092569 secs 
  
  
  time to complete : 0.0001749992 secs 
  
  
  time to complete : 0.0001699924 secs 
  
  
  time to complete : 0.0002028942 secs 
  
  
  time to complete : 0.0002057552 secs 
  
  
  time to complete : 0.0007927418 secs 
  
  
  time to complete : 0.000821352 secs 
  
  
  time to complete : 0.003019571 secs 
  
  
  time to complete : 0.00327754 secs 
  
  
  time to complete : 0.008859396 secs 
  
  
  time to complete : 4.291534e-05 secs 
  
  == Failed tests ================================================================
  -- Error (test-hog_features.R:179:3): the HOG_apply function returns an error if each row of the input is not equal to rows * columns --
  Error: data length differs from size of matrix: [75 != 5 x 25]
  Backtrace:
      x
   1. \-base::matrix(runif(75), ncol = 25, nrow = 5) test-hog_features.R:179:2
  -- Error (test-rotate.R:77:3): in case of a gray image (2-dimensional) when the angle value is below 0.0 degrees it returns an error --
  Error: data length differs from size of matrix: [30 != 5 x 5]
  Backtrace:
      x
   1. \-base::matrix(runif(30), 5, 5) test-rotate.R:77:2
  -- Error (test-rotate.R:85:3): in case of a gray image (2-dimensional) when the angle value is greater than 360.0 degrees it returns an error --
  Error: data length differs from size of matrix: [30 != 5 x 5]
  Backtrace:
      x
   1. \-base::matrix(runif(30), 5, 5) test-rotate.R:85:2
  -- Error (test-rotate.R:93:3): in case of a gray image (2-dimensional) if the input image is invalid it returns an error --
  Error: data length differs from size of matrix: [30 != 5 x 5]
  Backtrace:
      x
   1. \-base::matrix(runif(30), 5, 5) test-rotate.R:93:2
  -- Error (test-rotate.R:101:3): in case of a gray image (2-dimensional) if the number of threads is less than 1 it returns an error --
  Error: data length differs from size of matrix: [30 != 5 x 5]
  Backtrace:
      x
   1. \-base::matrix(runif(30), 5, 5) test-rotate.R:101:2
  -- Error (test-rotate.R:109:3): in case of a gray image (2-dimensional) if the method is invalid it returns an error --
  Error: data length differs from size of matrix: [30 != 5 x 5]
  Backtrace:
      x
   1. \-base::matrix(runif(30), 5, 5) test-rotate.R:109:2
  -- Error (test-rotate.R:117:3): in case of a gray image (2-dimensional) if the mode is invalid it returns an error --
  Error: data length differs from size of matrix: [30 != 5 x 5]
  Backtrace:
      x
   1. \-base::matrix(runif(30), 5, 5) test-rotate.R:117:2
  -- Error (test-rotate.R:131:3): in case of a gray image (2-dimensional) it returns a matrix with the same dimensions of the initial image, 20 degrees --
  Error: data length differs from size of matrix: [30 != 5 x 5]
  Backtrace:
      x
   1. \-base::matrix(runif(30), 5, 5) test-rotate.R:131:2
  -- Error (test-rotate.R:140:3): in case of a gray image (2-dimensional) it returns a matrix with the same dimensions of the initial image, 20 degrees --
  Error: data length differs from size of matrix: [30 != 5 x 5]
  Backtrace:
      x
   1. \-base::matrix(runif(30), 5, 5) test-rotate.R:140:2
  -- Error (test-rotate.R:150:3): in case of a gray image (2-dimensional) it returns a matrix with the same dimensions of the initial image, 20 degrees --
  Error: data length differs from size of matrix: [30 != 5 x 5]
  Backtrace:
      x
   1. \-base::matrix(runif(30), 5, 5) test-rotate.R:150:2
  -- Error (test-rotate.R:159:3): in case of a gray image (2-dimensional) it returns a matrix with the same dimensions of the initial image, 20 degrees --
  Error: data length differs from size of matrix: [30 != 5 x 5]
  Backtrace:
      x
   1. \-base::matrix(runif(30), 5, 5) test-rotate.R:159:2
  -- Error (test-rotate.R:168:3): in case of a gray image (2-dimensional) it returns a matrix with the same dimensions of the initial image, 90 degrees --
  Error: data length differs from size of matrix: [30 != 5 x 5]
  Backtrace:
      x
   1. \-base::matrix(runif(30), 5, 5) test-rotate.R:168:2
  
  [ FAIL 12 | WARN 12 | SKIP 0 | PASS 349 ]
  Error: Test failures
  Execution halted