- using R version 4.4.1 Patched (2024-07-08 r86915)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-13 (Debian 13.3.0-3) 13.3.0
GNU Fortran (Debian 13.3.0-3) 13.3.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘cvms/DESCRIPTION’ ... OK
- this is package ‘cvms’ version ‘1.6.1’
- 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 ‘cvms’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... OK
- checking ‘build’ directory ... 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 ... [2s/2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the package can be unloaded cleanly ... [1s/2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the namespace can be unloaded cleanly ... [2s/3s] OK
- checking loading without being on the library search path ... [2s/2s] 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 ... [37s/46s] OK
- checking Rd files ... [2s/2s] 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 ... [2s/3s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [2s/3s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [126s/155s] ERROR
Running ‘testthat.R’ [126s/154s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(cvms)
>
> if (require("xpectr")) {
+ test_check("cvms")
+ }
Loading required package: xpectr
[ FAIL 3 | WARN 0 | SKIP 71 | PASS 3613 ]
══ Skipped tests (71) ══════════════════════════════════════════════════════════
• Fails in check - IMPROVE THESE TESTS (1): 'test_example_functions.R:7:3'
• On CRAN (58): 'test_baseline.R:9:3', 'test_baseline.R:630:3',
'test_baseline.R:921:3', 'test_baseline.R:1218:3', 'test_baseline.R:1518:3',
'test_baseline.R:3602:3', 'test_baseline.R:3694:3',
'test_cross_validate.R:134:3', 'test_cross_validate.R:246:3',
'test_cross_validate.R:734:3', 'test_cross_validate.R:935:3',
'test_cross_validate.R:969:3', 'test_cross_validate.R:1019:3',
'test_cross_validate.R:1245:3', 'test_cross_validate.R:1518:3',
'test_cross_validate.R:1859:3', 'test_cross_validate.R:2200:3',
'test_cross_validate.R:2395:3', 'test_cross_validate.R:2511:3',
'test_cross_validate.R:3138:3', 'test_cross_validate.R:3216:3',
'test_cross_validate_fn.R:101:3', 'test_cross_validate_fn.R:512:3',
'test_cross_validate_fn.R:752:3', 'test_cross_validate_fn.R:969:3',
'test_cross_validate_fn.R:1056:3', 'test_cross_validate_fn.R:1308:3',
'test_cross_validate_fn.R:1419:3', 'test_cross_validate_fn.R:1552:3',
'test_cross_validate_fn.R:1952:3', 'test_cross_validate_fn.R:2061:3',
'test_cross_validate_fn.R:2248:3', 'test_cross_validate_fn.R:2525:3',
'test_cross_validate_fn.R:2574:3', 'test_cross_validate_fn.R:2615:3',
'test_cross_validate_fn.R:3292:3', 'test_cross_validate_fn.R:3357:3',
'test_cross_validate_fn.R:3425:3', 'test_cross_validate_fn.R:3485:3',
'test_evaluate.R:3845:3', 'test_evaluate.R:4268:3', 'test_evaluate.R:4767:3',
'test_evaluate.R:5412:3', 'test_most_challenging.R:8:3',
'test_most_challenging.R:369:3', 'test_most_challenging.R:742:3',
'test_most_challenging.R:1502:3', 'test_select_definitions.R:7:3',
'test_select_metrics.R:7:3', 'test_select_metrics.R:573:3',
'test_validate.R:123:3', 'test_validate.R:296:3', 'test_validate.R:430:3',
'test_validate.R:665:3', 'test_validate_fn.R:185:3',
'test_validate_fn.R:828:3', 'test_validate_fn.R:2195:3',
'test_validate_fn.R:3079:3'
• Skipping check for CRAN release due to r_hub failure (1):
'test_combine_predictors.R:259:3'
• Skipping parallel tests (3): 'test_parallelization.R:11:3',
'test_parallelization.R:56:3', 'test_parallelization.R:141:3'
• Skipping test as R version is > 4.2. (1): 'test_cross_validate_fn.R:469:3'
• empty test (1): 'test_parallelization.R:99:1'
• keras and tensorflow take too long and have too many dependencies (1):
'test_cross_validate_fn.R:2333:3'
• mac and ubuntu give different warnings (4): 'test_cross_validate.R:596:3',
'test_cross_validate.R:664:3', 'test_helpers.R:42:3', 'test_helpers.R:287:3'
• tidymodels have too many dependencies (1): 'test_cross_validate_fn.R:2460:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_plotting_functions.R:312:3'): plot_confusion_matrix() with sum tiles, class order, and intensity_by percentage ──
p1$labels not equal to list(...).
Names: 1 string mismatch
Component 3: Attributes: < Modes: list, NULL >
Component 3: Attributes: < Lengths: 1, 0 >
Component 3: Attributes: < names for target but not for current >
Component 3: Attributes: < current is not list-like >
── Failure ('test_plotting_functions.R:329:3'): plot_confusion_matrix() with sum tiles, class order, and intensity_by percentage ──
p1$mapping not equal to structure(...).
Names: 1 string mismatch
── Failure ('test_plotting_functions.R:353:3'): plot_confusion_matrix() with sum tiles, class order, and intensity_by percentage ──
p2$labels not equal to list(...).
Names: 1 string mismatch
Component 3: Attributes: < Modes: list, NULL >
Component 3: Attributes: < Lengths: 1, 0 >
Component 3: Attributes: < names for target but not for current >
Component 3: Attributes: < current is not list-like >
[ FAIL 3 | WARN 0 | SKIP 71 | PASS 3613 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [273s/323s] OK
- checking PDF version of manual ... [12s/15s] OK
- checking HTML version of manual ... [7s/10s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR