CRAN Package Check Results for Package ForestTools

Last updated on 2025-01-17 17:48:23 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.2 3.87 68.02 71.89 ERROR
r-devel-linux-x86_64-debian-gcc 1.0.2 3.09 44.51 47.60 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.2 123.27 ERROR
r-devel-linux-x86_64-fedora-gcc 1.0.2 109.17 ERROR
r-devel-windows-x86_64 1.0.2 6.00 80.00 86.00 OK
r-patched-linux-x86_64 1.0.2 3.75 60.02 63.77 OK
r-release-linux-x86_64 1.0.2 3.76 60.64 64.40 ERROR
r-release-macos-arm64 1.0.2 34.00 OK
r-release-macos-x86_64 1.0.2 52.00 OK
r-release-windows-x86_64 1.0.2 7.00 78.00 85.00 ERROR
r-oldrel-macos-arm64 1.0.2 40.00 OK
r-oldrel-macos-x86_64 1.0.2 68.00 OK
r-oldrel-windows-x86_64 1.0.2 7.00 91.00 98.00 OK

Check Details

Version: 1.0.2
Check: tests
Result: ERROR Running ‘testthat.R’ [29s/35s] 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 Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.0.2
Check: tests
Result: ERROR Running ‘testthat.R’ [16s/20s] 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 Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.2
Check: tests
Result: ERROR Running ‘testthat.R’ [47s/185s] 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") OMP: Warning #96: Cannot form a team with 8 threads, using 2 instead. OMP: Hint Consider unsetting KMP_DEVICE_THREAD_LIMIT (KMP_ALL_THREADS), KMP_TEAMS_THREAD_LIMIT, and OMP_THREAD_LIMIT (if any are set). [ 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 Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.0.2
Check: tests
Result: ERROR Running ‘testthat.R’ [42s/52s] 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 Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.2
Check: tests
Result: ERROR Running ‘testthat.R’ [24s/28s] 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 Flavor: r-release-linux-x86_64

Version: 1.0.2
Check: tests
Result: ERROR Running 'testthat.R' [22s] 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 0 | 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 0 | SKIP 0 | PASS 43 ] Error: Test failures Execution halted Flavor: r-release-windows-x86_64