Running ‘testthat.R’
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(OpenImageR)
  > 
  > test_check("OpenImageR")
  
  time to complete : 0.04912114 secs 
  
  
  time to complete : 0.1192892 secs 
  
  
  time to complete : 0.1130404 secs 
  
  
  time to complete : 0.1205521 secs 
  
  
  time to complete : 0.110867 secs 
  
  
  time to complete : 0.09199142 secs 
  
  
  time to complete : 0.001924276 secs 
  
  
  time to complete : 0.001783133 secs 
  
  
  time to complete : 0.003385544 secs 
  
  
  time to complete : 0.005112171 secs 
  
  
  time to complete : 0.004816294 secs 
  
  
  time to complete : 0.03450656 secs 
  
  
  time to complete : 0.03119373 secs 
  
  
  time to complete : 0.04500484 secs 
  
  
  time to complete : 0.001654148 secs 
  
  
  time to complete : 0.00118804 secs 
  
  
  time to complete : 0.001083612 secs 
  
  
  time to complete : 0.001147985 secs 
  
  
  time to complete : 0.002723455 secs 
  
  
  time to complete : 0.002974749 secs 
  
  1. Error: the func_transform function loads a .tiff image successfully and returns the correct dimensions (@test-hog_features.R#117) 
  TIFFFetchDirectory: pkg:tiff: Seek error accessing TIFF directory
  1: func_transform(image_1, path, fl, F) at testthat/test-hog_features.R:117
  2: tiff::readTIFF(paste(folder_path, image, sep = ""))
  
  
  time to complete : 0.007214546 secs 
  
  
  time to complete : 0.01069927 secs 
  
  
  time to complete : 0.01729608 secs 
  
  
  time to complete : 0.0001204014 secs 
  
  2. Error: if the input is a .tiff it retruns a matrix (@test-read_image.R#69) --
  TIFFFetchDirectory: pkg:tiff: Seek error accessing TIFF directory
  1: readImage(paste0(Folder, path)) at testthat/test-read_image.R:69
  2: tiff::readTIFF(path, ...)
  
  3. Error: writeImage saves a .tiff successfully (@test-write_image.R#80) -------
  TIFFAppendToStrip: Maximum TIFF file size exceeded
  1: writeImage(x, "SAV_DEL.tiff") at testthat/test-write_image.R:80
  2: tiff::writeTIFF(data, where = file_name, ...)
  
  testthat results ================================================================
  OK: 328 SKIPPED: 0 FAILED: 3
  1. Error: the func_transform function loads a .tiff image successfully and returns the correct dimensions (@test-hog_features.R#117) 
  2. Error: if the input is a .tiff it retruns a matrix (@test-read_image.R#69) 
  3. Error: writeImage saves a .tiff successfully (@test-write_image.R#80) 
  
  Error: testthat unit tests failed
  Execution halted