- using R version 4.5.2 Patched (2026-01-31 r89382)
- using platform: x86_64-apple-darwin20
- R was compiled by
Apple clang version 14.0.0 (clang-1400.0.29.202)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.3.1
- using session charset: UTF-8
- checking for file ‘twinsvm/DESCRIPTION’ ... OK
- this is package ‘twinsvm’ version ‘0.0.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 ‘twinsvm’ can be installed ... [33s/21s] OK
See the install log for details.
- used C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
- used SDK: ‘MacOSX11.3.1.sdk’
- 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 ... [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/1s] OK
- checking loading without being on the library search path ... [0s/1s] 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 ... [3s/4s] OK
- checking Rd files ... [0s/0s] 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 ... [0s/0s] OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... OK
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking compiled code ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [5s/7s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [4s/5s] ERROR
Running ‘testthat.R’ [4s/5s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(twinsvm)
>
> test_check("twinsvm")
Saving _problems/test-multiclass-82.R
`kernel_lift()` is kept for compatibility; use `lift_plot()` for new code.
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 104 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-multiclass.R:82:3'): binary svms path remains binary and predictively stable ──
Expected `dat$x` to be identical to `ref$x`.
Differences:
actual | expected
[1] -0.053776145126291225 | -0.053776145126291225 [1]
[2] 0.159758524913305028 | 0.159758524913305028 [2]
[3] -0.806835432197721358 | -0.806835432197721358 [3]
[4] -0.123797302419115227 - -0.123797302419115199 [4]
[5] 1.211173026605094627 | 1.211173026605094627 [5]
[6] 0.279364582535003014 | 0.279364582535003014 [6]
[7] -0.993372383738128972 | -0.993372383738128972 [7]
actual | expected
[9] -0.965002751694661765 | -0.965002751694661765 [9]
[10] 0.287428588317469036 | 0.287428588317469036 [10]
[11] -1.015328617226259666 | -1.015328617226259666 [11]
[12] -0.281088679197722902 - -0.281088679197723013 [12]
[13] -0.925302426140113932 - -0.925302426140114043 [13]
[14] 0.232506830375639822 | 0.232506830375639822 [14]
[15] -0.354666652373307967 | -0.354666652373307967 [15]
[16] -0.846974280846792382 | -0.846974280846792382 [16]
[17] -0.523011574085192610 - -0.523011574085192721 [17]
[18] 0.315871478906472214 | 0.315871478906472214 [18]
... ... ... and 2 more ...
actual | expected
[74] 1.065435293522284610 | 1.065435293522284610 [74]
[75] 0.266823194860631330 | 0.266823194860631330 [75]
[76] 0.906985776330440530 | 0.906985776330440530 [76]
[77] 0.066681633314782718 - 0.066681633314782704 [77]
[78] 0.905485173581564995 | 0.905485173581564995 [78]
[79] 0.347533346833998003 | 0.347533346833998003 [79]
[80] 0.873120013264591321 | 0.873120013264591321 [80]
actual | expected
[88] 0.889590417230019970 | 0.889590417230019970 [88]
[89] -0.068507136124534129 | -0.068507136124534129 [89]
[90] 0.440990857715073015 | 0.440990857715073015 [90]
[91] 0.199109511765162339 - 0.199109511765162367 [91]
[92] 0.982869263472023635 | 0.982869263472023635 [92]
[93] 1.017273623098265745 | 1.017273623098265745 [93]
[94] 0.877538941489769408 | 0.877538941489769408 [94]
[95] 0.589300438559663409 - 0.589300438559663631 [95]
[96] 0.870034403951381763 | 0.870034403951381763 [96]
[97] 0.296534278845241028 | 0.296534278845241028 [97]
... ... ... and 1 more ...
actual | expected
[105] 0.100983463935513912 | 0.100983463935513912 [105]
[106] -0.268745547534188833 | -0.268745547534188833 [106]
[107] 0.353460711660576132 | 0.353460711660576132 [107]
[108] 0.046247438838005903 - 0.046247438838005847 [108]
[109] -0.202560493313644674 - -0.202560493313644563 [109]
[110] -0.379170048663506676 | -0.379170048663506676 [110]
[111] -0.228760760362759524 | -0.228760760362759524 [111]
[112] -0.333490929327205921 | -0.333490929327205921 [112]
actual | expected
[125] -0.369448838600457463 | -0.369448838600457463 [125]
[126] -0.627386007615849506 | -0.627386007615849506 [126]
[127] 0.063669813409799270 | 0.063669813409799270 [127]
[128] -0.325073416216668520 - -0.325073416216668631 [128]
[129] 0.430687669899511349 | 0.430687669899511349 [129]
[130] 0.230915992264027703 | 0.230915992264027703 [130]
[131] 0.276919435346025811 | 0.276919435346025811 [131]
actual | expected
[136] -0.289430937480793904 | -0.289430937480793904 [136]
[137] -0.305955150933435616 | -0.305955150933435616 [137]
[138] 0.418740026474365867 | 0.418740026474365867 [138]
[139] 0.109303565732863789 - 0.109303565732863733 [139]
[140] -0.307046343103655361 | -0.307046343103655361 [140]
[ FAIL 1 | WARN 0 | SKIP 0 | PASS 104 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [18s/22s] OK
- checking PDF version of manual ... [7s/11s] OK
- DONE
Status: 1 ERROR
- DONE
* Status: FAILURE
- using check arguments '--no-clean-on-error '
* elapsed time (check, wall clock): 1:44
* result classification: failed check, errors:yes, warnings:no, notes:no