Running ‘testthat.R’ [24s/34s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(ForestTools)
  > 
  > test_check("ForestTools")
  [ FAIL 16 | WARN 2 | SKIP 0 | PASS 43 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test_glcm_internal.R:67:3'): 0 degree GLCM metrics ────────────────
  GLCMTextures::glcm_metrics(...) (`actual`) not equal to read_validation_metrics("hallbey0") (`expected`).
  
  `names(actual)[6:8]`:   "glcm_mean" "glcm_variance" "glcm_correlation"          
  `names(expected)[6:9]`: "glcm_mean" "glcm_variance" "glcm_correlation" "glcm_SA"
  
      actual            | expected             
  [6] 1.29166666666667  | 1.29166666666667  [6]
  [7] 1.03993055555556  | 1.03993055555556  [7]
  [8] 0.719532554257095 | 0.719532554257095 [8]
                        - 2.58333333333333  [9]
  ── Failure ('test_glcm_internal.R:68:3'): 0 degree GLCM metrics ────────────────
  GLCMTextures::glcm_metrics(...) (`actual`) not equal to read_validation_metrics("tumor0") (`expected`).
  
  `names(actual)[6:8]`:   "glcm_mean" "glcm_variance" "glcm_correlation"          
  `names(expected)[6:9]`: "glcm_mean" "glcm_variance" "glcm_correlation" "glcm_SA"
  
      actual            | expected             
  [6] 13.1434988179669  | 13.1434988179669  [6]
  [7] 42.3200700277764  | 42.3200700277764  [7]
  [8] 0.930178604767005 | 0.930178604767005 [8]
                        - 26.2869976359338  [9]
  ── Failure ('test_glcm_internal.R:69:3'): 0 degree GLCM metrics ────────────────
  GLCMTextures::glcm_metrics(...) (`actual`) not equal to read_validation_metrics("noise0") (`expected`).
  
  `names(actual)[6:8]`:   "glcm_mean" "glcm_variance" "glcm_correlation"          
  `names(expected)[6:9]`: "glcm_mean" "glcm_variance" "glcm_correlation" "glcm_SA"
  
      actual             | expected              
  [6] 15.3875510204081   | 15.3875510204081   [6]
  [7] 85.2810286963765   | 85.2810286963765   [7]
  [8] 0.0195225863576815 | 0.0195225863576815 [8]
                         - 30.7751020408163   [9]
  ── Failure ('test_glcm_internal.R:70:3'): 0 degree GLCM metrics ────────────────
  GLCMTextures::glcm_metrics(...) (`actual`) not equal to read_validation_metrics("bars0") (`expected`).
  
  `names(actual)[6:8]`:   "glcm_mean" "glcm_variance" "glcm_correlation"          
  `names(expected)[6:9]`: "glcm_mean" "glcm_variance" "glcm_correlation" "glcm_SA"
  
    `actual[6:8]`: 9.5 30.25 0.983471074380165   
  `expected[6:9]`: 9.5 30.25 0.983471074380165 19
  ── Failure ('test_glcm_internal.R:76:3'): 45 degree GLCM metrics ───────────────
  GLCMTextures::glcm_metrics(...) (`actual`) not equal to read_validation_metrics("hallbey45") (`expected`).
  
  `names(actual)[6:8]`:   "glcm_mean" "glcm_variance" "glcm_correlation"          
  `names(expected)[6:9]`: "glcm_mean" "glcm_variance" "glcm_correlation" "glcm_SA"
  
      actual            | expected             
  [6] 1.22222222222222  | 1.22222222222222  [6]
  [7] 0.839506172839506 | 0.839506172839506 [7]
  [8] 0.735294117647059 | 0.735294117647059 [8]
                        - 2.44444444444444  [9]
  ── Failure ('test_glcm_internal.R:77:3'): 45 degree GLCM metrics ───────────────
  GLCMTextures::glcm_metrics(...) (`actual`) not equal to read_validation_metrics("tumor45") (`expected`).
  
  `names(actual)[6:8]`:   "glcm_mean" "glcm_variance" "glcm_correlation"          
  `names(expected)[6:9]`: "glcm_mean" "glcm_variance" "glcm_correlation" "glcm_SA"
  
      actual            | expected             
  [6] 13.2294685990338  | 13.2294685990338  [6]
  [7] 42.8362330509463  | 42.8362330509463  [7]
  [8] 0.843353524583834 | 0.843353524583834 [8]
                        - 26.4589371980676  [9]
  ── Failure ('test_glcm_internal.R:78:3'): 45 degree GLCM metrics ───────────────
  GLCMTextures::glcm_metrics(...) (`actual`) not equal to read_validation_metrics("noise45") (`expected`).
  
  `names(actual)[6:8]`:   "glcm_mean" "glcm_variance" "glcm_correlation"          
  `names(expected)[6:9]`: "glcm_mean" "glcm_variance" "glcm_correlation" "glcm_SA"
  
      actual               | expected                
  [6] 15.3496459808414     | 15.3496459808414     [6]
  [7] 85.1320167426421     | 85.1320167426421     [7]
  [8] -0.00613755233092562 | -0.00613755233092562 [8]
                           - 30.6992919616826     [9]
  ── Failure ('test_glcm_internal.R:79:3'): 45 degree GLCM metrics ───────────────
  GLCMTextures::glcm_metrics(...) (`actual`) not equal to read_validation_metrics("bars45") (`expected`).
  
  `names(actual)[6:8]`:   "glcm_mean" "glcm_variance" "glcm_correlation"          
  `names(expected)[6:9]`: "glcm_mean" "glcm_variance" "glcm_correlation" "glcm_SA"
  
    `actual[6:8]`: 9.5 30.25 0.983471074380165   
  `expected[6:9]`: 9.5 30.25 0.983471074380165 19
  ── Failure ('test_glcm_internal.R:85:3'): 90 degree GLCM metrics ───────────────
  GLCMTextures::glcm_metrics(...) (`actual`) not equal to read_validation_metrics("hallbey90") (`expected`).
  
  `names(actual)[6:8]`:   "glcm_mean" "glcm_variance" "glcm_correlation"          
  `names(expected)[6:9]`: "glcm_mean" "glcm_variance" "glcm_correlation" "glcm_SA"
  
      actual            | expected             
  [6] 1.16666666666667  | 1.16666666666667  [6]
  [7] 0.972222222222222 | 0.972222222222222 [7]
  [8] 0.485714285714286 | 0.485714285714286 [8]
                        - 2.33333333333333  [9]
  ── Failure ('test_glcm_internal.R:86:3'): 90 degree GLCM metrics ───────────────
  GLCMTextures::glcm_metrics(...) (`actual`) not equal to read_validation_metrics("tumor90") (`expected`).
  
  `names(actual)[6:8]`:   "glcm_mean" "glcm_variance" "glcm_correlation"          
  `names(expected)[6:9]`: "glcm_mean" "glcm_variance" "glcm_correlation" "glcm_SA"
  
      actual            | expected             
  [6] 13.1424858223062  | 13.1424858223062  [6]
  [7] 42.5314463726724  | 42.5314463726724  [7]
  [8] 0.888634608157374 | 0.888634608157374 [8]
                        - 26.2849716446125  [9]
  ── Failure ('test_glcm_internal.R:87:3'): 90 degree GLCM metrics ───────────────
  GLCMTextures::glcm_metrics(...) (`actual`) not equal to read_validation_metrics("noise90") (`expected`).
  
  `names(actual)[6:8]`:   "glcm_mean" "glcm_variance" "glcm_correlation"          
  `names(expected)[6:9]`: "glcm_mean" "glcm_variance" "glcm_correlation" "glcm_SA"
  
      actual             | expected              
  [6] 15.3314285714286   | 15.3314285714286   [6]
  [7] 85.2921959183674   | 85.2921959183674   [7]
  [8] 0.0234960846239587 | 0.0234960846239587 [8]
                         - 30.6628571428571   [9]
  ── Failure ('test_glcm_internal.R:88:3'): 90 degree GLCM metrics ───────────────
  GLCMTextures::glcm_metrics(...) (`actual`) not equal to read_validation_metrics("bars90") (`expected`).
  
  `names(actual)[6:8]`:   "glcm_mean" "glcm_variance" "glcm_correlation"          
  `names(expected)[6:9]`: "glcm_mean" "glcm_variance" "glcm_correlation" "glcm_SA"
  
    `actual[6:8]`: 9.5 33.25 1   
  `expected[6:9]`: 9.5 33.25 1 19
  ── Failure ('test_glcm_internal.R:94:3'): 135 degree GLCM metrics ──────────────
  GLCMTextures::glcm_metrics(...) (`actual`) not equal to read_validation_metrics("hallbey135") (`expected`).
  
  `names(actual)[6:8]`:   "glcm_mean" "glcm_variance" "glcm_correlation"          
  `names(expected)[6:9]`: "glcm_mean" "glcm_variance" "glcm_correlation" "glcm_SA"
  
      actual            | expected             
  [6] 1.22222222222222  | 1.22222222222222  [6]
  [7] 1.06172839506173  | 1.06172839506173  [7]
  [8] 0.162790697674419 | 0.162790697674419 [8]
                        - 2.44444444444444  [9]
  ── Failure ('test_glcm_internal.R:95:3'): 135 degree GLCM metrics ──────────────
  GLCMTextures::glcm_metrics(...) (`actual`) not equal to read_validation_metrics("tumor135") (`expected`).
  
  `names(actual)[6:8]`:   "glcm_mean" "glcm_variance" "glcm_correlation"          
  `names(expected)[6:9]`: "glcm_mean" "glcm_variance" "glcm_correlation" "glcm_SA"
  
      actual            | expected             
  [6] 13.2299516908213  | 13.2299516908213  [6]
  [7] 42.8316632826904  | 42.8316632826904  [7]
  [8] 0.862939448271703 | 0.862939448271703 [8]
                        - 26.4599033816425  [9]
  ── Failure ('test_glcm_internal.R:96:3'): 135 degree GLCM metrics ──────────────
  GLCMTextures::glcm_metrics(...) (`actual`) not equal to read_validation_metrics("noise135") (`expected`).
  
  `names(actual)[6:8]`:   "glcm_mean" "glcm_variance" "glcm_correlation"          
  `names(expected)[6:9]`: "glcm_mean" "glcm_variance" "glcm_correlation" "glcm_SA"
  
      actual              | expected               
  [6] 15.3513119533528    | 15.3513119533528    [6]
  [7] 85.1695828268834    | 85.1695828268834    [7]
  [8] -0.0290198479483709 | -0.0290198479483709 [8]
                          - 30.7026239067056    [9]
  ── Failure ('test_glcm_internal.R:97:3'): 135 degree GLCM metrics ──────────────
  GLCMTextures::glcm_metrics(...) (`actual`) not equal to read_validation_metrics("bars135") (`expected`).
  
  `names(actual)[6:8]`:   "glcm_mean" "glcm_variance" "glcm_correlation"          
  `names(expected)[6:9]`: "glcm_mean" "glcm_variance" "glcm_correlation" "glcm_SA"
  
    `actual[6:8]`: 9.5 30.25 0.983471074380165   
  `expected[6:9]`: 9.5 30.25 0.983471074380165 19
  
  [ FAIL 16 | WARN 2 | SKIP 0 | PASS 43 ]
  Error: Test failures
  Execution halted