- using R version 4.5.3 (2026-03-11 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'cvms/DESCRIPTION' ... OK
- this is package 'cvms' version '2.0.0'
- 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 hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'cvms' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... 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] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [2s] OK
- checking loading without being on the library search path ... [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 ... [22s] OK
- checking Rd files ... [3s] OK
- checking Rd metadata ... 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] 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 ... [5s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [130s] ERROR
Running 'testthat.R' [130s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(cvms)
>
> if (require("xpectr")) {
+ test_check("cvms")
+ }
Loading required package: xpectr
Saving _problems/test_validate_fn-4542.R
Saving _problems/test_validate_fn-4546.R
Saving _problems/test_validate_fn-4550.R
Saving _problems/test_validate_fn-4554.R
Saving _problems/test_validate_fn-4558.R
Saving _problems/test_validate_fn-4561.R
Saving _problems/test_validate_fn-4567.R
Saving _problems/test_validate_fn-4572.R
Saving _problems/test_validate_fn-4577.R
Saving _problems/test_validate_fn-4581.R
[ FAIL 10 | WARN 1 | SKIP 71 | PASS 3592 ]
══ 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:126:3', 'test_cross_validate.R:230:3',
'test_cross_validate.R:702:3', 'test_cross_validate.R:903:3',
'test_cross_validate.R:937:3', 'test_cross_validate.R:987:3',
'test_cross_validate.R:1213:3', 'test_cross_validate.R:1486:3',
'test_cross_validate.R:1827:3', 'test_cross_validate.R:2168:3',
'test_cross_validate.R:2363:3', 'test_cross_validate.R:2456:3',
'test_cross_validate.R:3083:3', 'test_cross_validate.R:3161: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:961:3',
'test_cross_validate_fn.R:1048:3', 'test_cross_validate_fn.R:1300:3',
'test_cross_validate_fn.R:1411:3', 'test_cross_validate_fn.R:1544:3',
'test_cross_validate_fn.R:1944:3', 'test_cross_validate_fn.R:2053:3',
'test_cross_validate_fn.R:2240:3', 'test_cross_validate_fn.R:2517:3',
'test_cross_validate_fn.R:2566:3', 'test_cross_validate_fn.R:2607:3',
'test_cross_validate_fn.R:3276:3', 'test_cross_validate_fn.R:3341:3',
'test_cross_validate_fn.R:3409:3', 'test_cross_validate_fn.R:3469:3',
'test_evaluate.R:3863:3', 'test_evaluate.R:4286:3', 'test_evaluate.R:4785:3',
'test_evaluate.R:5430: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:114:3', 'test_validate.R:279:3', 'test_validate.R:413:3',
'test_validate.R:648: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:2325:3'
• mac and ubuntu give different warnings (4): 'test_cross_validate.R:564:3',
'test_cross_validate.R:632:3', 'test_helpers.R:42:3', 'test_helpers.R:287:3'
• tidymodels have too many dependencies (1): 'test_cross_validate_fn.R:2452:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test_validate_fn.R:4539:5'): testing nested tibbles in multinomial validate_fn() ──
Expected `output_19148[["RowName"]]` to equal `c("class_2", "class_3", "class_2", "class_3")`.
Differences:
target is NULL, current is character
── Failure ('test_validate_fn.R:4543:5'): testing nested tibbles in multinomial validate_fn() ──
Expected `output_19148[["(Intercept)"]]` to equal `c(0.13991, 0.18849, 0.13991, 0.18849)`.
Differences:
target is NULL, current is numeric
── Failure ('test_validate_fn.R:4547:5'): testing nested tibbles in multinomial validate_fn() ──
Expected `output_19148[["predictor_1"]]` to equal `c(3.21067, -3.86798, 3.21067, -3.86798)`.
Differences:
target is NULL, current is numeric
── Failure ('test_validate_fn.R:4551:5'): testing nested tibbles in multinomial validate_fn() ──
Expected `output_19148[["predictor_2"]]` to equal `c(-0.39609, 1.25989, -0.39609, 1.25989)`.
Differences:
target is NULL, current is numeric
── Failure ('test_validate_fn.R:4555:5'): testing nested tibbles in multinomial validate_fn() ──
Expected `output_19148[["predictor_3"]]` to equal `c(-2.67468, 2.79658, -2.67468, 2.79658)`.
Differences:
target is NULL, current is numeric
── Failure ('test_validate_fn.R:4559:5'): testing nested tibbles in multinomial validate_fn() ──
Expected `output_19148[["p.value"]]` to equal `c(NA, NA, NA, NA)`.
Differences:
Lengths (2, 4) differ (comparison on first 2 components)
── Failure ('test_validate_fn.R:4563:5'): testing nested tibbles in multinomial validate_fn() ──
Expected `names(output_19148)` to equal `c(...)`.
Differences:
Lengths differ: 5 is not 6
── Failure ('test_validate_fn.R:4569:5'): testing nested tibbles in multinomial validate_fn() ──
Expected `xpectr::element_classes(output_19148)` to equal `c("character", "numeric", "numeric", "numeric", "numeric", "logical")`.
Differences:
Lengths differ: 5 is not 6
── Failure ('test_validate_fn.R:4574:5'): testing nested tibbles in multinomial validate_fn() ──
Expected `xpectr::element_types(output_19148)` to equal `c("character", "double", "double", "double", "double", "logical")`.
Differences:
Lengths differ: 5 is not 6
── Failure ('test_validate_fn.R:4579:5'): testing nested tibbles in multinomial validate_fn() ──
Expected `dim(output_19148)` to equal `c(4L, 6L)`.
Differences:
2/2 mismatches (average diff: 1.5)
[1] 2 - 4 == -2
[2] 5 - 6 == -1
[ FAIL 10 | WARN 1 | SKIP 71 | PASS 3592 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [260s] OK
- checking PDF version of manual ... [24s] OK
- checking HTML version of manual ... [16s] OK
- DONE
Status: 1 ERROR