Running ‘testthat.R’ [13s/21s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(OpenImageR)
  > 
  > test_check("OpenImageR")
  
  time to complete : 0.005780935 secs 
  
  
  time to complete : 0.0256958 secs 
  
  
  time to complete : 0.06135511 secs 
  
  
  time to complete : 0.05233598 secs 
  
  
  time to complete : 0.0481143 secs 
  
  
  time to complete : 0.02547026 secs 
  
  
  time to complete : 0.0002706051 secs 
  
  
  time to complete : 0.0002813339 secs 
  
  
  time to complete : 0.0004637241 secs 
  
  
  time to complete : 0.001233339 secs 
  
  
  time to complete : 0.001252651 secs 
  
  
  time to complete : 0.02215052 secs 
  
  
  time to complete : 0.005856991 secs 
  
  
  time to complete : 0.006032228 secs 
  
  
  time to complete : 0.0001370907 secs 
  
  
  time to complete : 0.0001289845 secs 
  
  
  time to complete : 0.0001380444 secs 
  
  
  time to complete : 0.0001482964 secs 
  
  
  time to complete : 0.00050807 secs 
  
  
  time to complete : 0.0005056858 secs 
  
  
  time to complete : 0.001989841 secs 
  
  
  time to complete : 0.002280712 secs 
  
  
  time to complete : 0.006211281 secs 
  
  
  time to complete : 0.0002360344 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:
      █
   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:
      █
   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:
      █
   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:
      █
   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:
      █
   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:
      █
   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:
      █
   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:
      █
   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:
      █
   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:
      █
   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:
      █
   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:
      █
   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