Running ‘testthat.R’ [19s/13s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(OpenImageR)
  > 
  > test_check("OpenImageR")
  
  time to complete : 0.02645302 secs 
  
  
  time to complete : 0.07957268 secs 
  
  
  time to complete : 0.08072138 secs 
  
  
  time to complete : 0.08053708 secs 
  
  
  time to complete : 0.07965469 secs 
  
  
  error: Mat::col(): index out of bounds
  ── 1. Error: the 'gabor_feature_extraction' method returns the expected output i
  Mat::col(): index out of bounds
  1: init_gb$gabor_feature_extraction(image = im, scales = SCAL, orientations = ORIEN, 
         downsample_gabor = FALSE, downsample_rows = NULL, downsample_cols = NULL, gabor_rows = ROWS, 
         gabor_columns = COLS, plot_data = TRUE, normalize_features = FALSE, threads = 1) at testthat/test-gabor.R:85
  2: Gabor_export_Features(image, downsample_rows, downsample_cols, scales, orientations, 
         gabor_rows, gabor_columns, downsample_gabor, plot_data, normalize_features, threads)
  
  
  error: Mat::col(): index out of bounds
  ── 2. Error: the 'gabor_feature_extraction' method returns the expected output i
  Mat::col(): index out of bounds
  1: init_gb$gabor_feature_extraction(image = im, scales = SCAL, orientations = ORIEN, 
         downsample_gabor = TRUE, downsample_rows = 3, downsample_cols = 3, gabor_rows = ROWS, 
         gabor_columns = COLS, plot_data = TRUE, normalize_features = FALSE, threads = 1) at testthat/test-gabor.R:116
  2: Gabor_export_Features(image, downsample_rows, downsample_cols, scales, orientations, 
         gabor_rows, gabor_columns, downsample_gabor, plot_data, normalize_features, threads)
  
  
  error: Mat::col(): index out of bounds
  ── 3. Error: the plot the output data of the 'gabor_feature_extraction' method (
  Mat::col(): index out of bounds
  1: init_gb$gabor_feature_extraction(image = im, scales = SCAL, orientations = ORIEN, 
         downsample_gabor = TRUE, downsample_rows = 3, downsample_cols = 3, gabor_rows = ROWS, 
         gabor_columns = COLS, plot_data = TRUE, normalize_features = FALSE, threads = 1) at testthat/test-gabor.R:215
  2: Gabor_export_Features(image, downsample_rows, downsample_cols, scales, orientations, 
         gabor_rows, gabor_columns, downsample_gabor, plot_data, normalize_features, threads)
  
  
  time to complete : 0.07552505 secs 
  
  
  time to complete : 0.004109621 secs 
  
  
  time to complete : 0.004292727 secs 
  
  
  time to complete : 0.006602526 secs 
  
  
  time to complete : 0.003713846 secs 
  
  
  time to complete : 0.004839182 secs 
  
  
  time to complete : 0.04540157 secs 
  
  
  time to complete : 0.02289128 secs 
  
  
  time to complete : 0.04540944 secs 
  
  
  time to complete : 0.000897646 secs 
  
  
  time to complete : 0.0008671284 secs 
  
  
  time to complete : 0.001300812 secs 
  
  
  time to complete : 0.001308441 secs 
  
  
  time to complete : 0.003896713 secs 
  
  
  time to complete : 0.004399538 secs 
  
  
  time to complete : 0.004898548 secs 
  
  
  time to complete : 0.009782791 secs 
  
  
  time to complete : 0.01452804 secs 
  
  
  time to complete : 8.893013e-05 secs 
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 343 SKIPPED: 0 FAILED: 3
  1. Error: the 'gabor_feature_extraction' method returns the expected output if the 'downsample_gabor' parameter is FALSE (@test-gabor.R#85) 
  2. Error: the 'gabor_feature_extraction' method returns the expected output if the 'downsample_gabor' parameter is TRUE (@test-gabor.R#116) 
  3. Error: the plot the output data of the 'gabor_feature_extraction' method (@test-gabor.R#215) 
  
  Error: testthat unit tests failed
  Execution halted