* using log directory 'd:/Rcompile/CRANpkg/local/4.6/OmicsPLS.Rcheck' * using R version 4.6.0 (2026-04-24 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 * current time: 2026-05-06 11:04:51 UTC * checking for file 'OmicsPLS/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'OmicsPLS' version '2.1.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 'OmicsPLS' can be installed ... OK * 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 ... [3s] OK * checking whether the package can be loaded with stated dependencies ... [3s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [3s] OK * checking whether the namespace can be unloaded cleanly ... [3s] OK * checking loading without being on the library search path ... [3s] 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 ... [11s] OK * checking Rd files ... [1s] 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 installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [7s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [5s] ERROR Running 'testthat.R' [4s] Running the tests in 'tests/testthat.R' failed. Complete output: > Sys.setenv(R_TESTS="") > library(testthat) > library(OmicsPLS) Attaching package: 'OmicsPLS' The following object is masked from 'package:stats': loadings > > test_check("OmicsPLS") SO2PLS fit with 1 joint components and 0 orthogonal components in X and 0 orthogonal components in Y Elapsed time: 0 sec GO2PLS fit with 1 joint components and 0 orthogonal components in X and 0 orthogonal components in Y Elapsed time: 0.02 sec Saving _problems/test_error-24.R Saving _problems/test_error-25.R O2PLS fit with 2 joint components and 0 orthogonal components in X and 0 orthogonal components in Y Elapsed time: 0 sec ******************* Elapsed time: 0.01 sec ******* Minimal 2-CV error is at ax=0 ay=0 a=2 ******* Minimum MSE is 1.835671e-14 ******************* *** Summary of the O2PLS fit *** - Call: o2m(X = data.frame(a = 1:10, b = 2:11, c = 3:12), Y = data.frame(d = 1:10, e = 2:11, f = 3:12), n = 2, nx = 0, ny = 0) - Modeled variation -- Total variation: in X: 1535 in Y: 1535 -- Joint, Orthogonal and Noise as proportions: data X data Y Joint 1 1 Orthogonal 0 0 Noise 0 0 -- Predictable variation in Y-joint part by X-joint part: Variation in T*B_T relative to U: 1 -- Predictable variation in X-joint part by Y-joint part: Variation in U*B_U relative to T: 1 -- Variances per component: Comp 1 Comp 2 X joint 1531.768 3.232 Y joint 1531.768 3.232 - Coefficient in 'U = T B_T + H_U' model: -- Diagonal elements of B_T = 1 1 *** Summary of the O2PLS fit *** - Call: o2m(X = diag(3), Y = diag(3), n = 1, nx = 1, ny = 1) - Modeled variation -- Total variation: in X: 3 in Y: 3 -- Joint, Orthogonal and Noise as proportions: data X data Y Joint 0.333 0.333 Orthogonal 0.333 0.333 Noise 0.333 0.333 -- Predictable variation in Y-joint part by X-joint part: Variation in T*B_T relative to U: 1 -- Predictable variation in X-joint part by Y-joint part: Variation in U*B_U relative to T: 1 -- Variances per component: Comp 1 X joint 1 Y joint 1 Comp 1 X Orth 1 Comp 1 Y Orth 1 - Coefficient in 'U = T B_T + H_U' model: -- Diagonal elements of B_T = 1 [ FAIL 2 | WARN 0 | SKIP 0 | PASS 65 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test_error.R:24:3'): Normal crossval goes without error ─────────── `crossval_o2m(1:10 %*% t(1:3), 1:10 %*% t(1:3), 1, 0, 0, 2, 2)` threw an error. Message: creation of server socket failed: port 11020 cannot be opened Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_error.R:24:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─OmicsPLS::crossval_o2m(...) 7. └─parallel::makePSOCKcluster(nr_cores) 8. └─base::serverSocket(port = port) ── Failure ('test_error.R:25:3'): Normal crossval goes without error ─────────── `crossval_o2m_adjR2(...)` threw an error. Message: creation of server socket failed: port 11020 cannot be opened Class: simpleError/error/condition Backtrace: ▆ 1. ├─testthat::expect_error(...) at test_error.R:25:3 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─OmicsPLS::crossval_o2m_adjR2(...) 7. └─parallel::makePSOCKcluster(nr_cores) 8. └─base::serverSocket(port = port) [ FAIL 2 | WARN 0 | SKIP 0 | PASS 65 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [9s] OK * checking PDF version of manual ... [27s] OK * checking HTML version of manual ... [11s] OK * DONE Status: 1 ERROR