- using R version 4.4.2 Patched (2025-01-16 r87584)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-12) 14.2.0
GNU Fortran (Debian 14.2.0-12) 14.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘ForestTools/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘ForestTools’ version ‘1.0.2’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘ForestTools’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [4s/5s] OK
- checking Rd files ... [0s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... [9s/11s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [0s/1s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [24s/31s] ERROR
Running ‘testthat.R’ [24s/31s]
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
- checking PDF version of manual ... [4s/6s] OK
- checking HTML version of manual ... [0s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR