* using log directory ‘/data/localhost/ripley/R/packages/tests-MKL/MMEFM.Rcheck’ * using R Under development (unstable) (2026-11-27 r91004) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3) GNU Fortran (GCC) 16.2.1 20261029 (Red Hat 16.2.1-3) * running under: Fedora Linux 44 (Server Edition) * using session charset: UTF-8 * current time: 2026-11-30 09:38:22 UTC * using option ‘--no-stop-on-test-error’ * checking for file ‘MMEFM/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘MMEFM’ version ‘0.1.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 ‘MMEFM’ can be installed ... 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 ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... 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 ... OK * checking Rd files ... 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 installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... ERROR Running examples in ‘MMEFM-Ex.R’ failed The error most likely occurred in: > ### Name: select_MMEFM_rank > ### Title: Select global and local MMEFM ranks > ### Aliases: select_MMEFM_rank > > ### ** Examples > > # Exact additive and common signals with orthogonal temporal scores. > H <- matrix(1, 1, 1) > for (i in seq_len(4L)) { + H <- rbind(cbind(H, H), cbind(H, -H)) + } > u <- c(1, 1, -2) > v <- c(1, -1, 0) > Xt <- setNames(vector('list', 3L), c('a','b','c')) > for (m in seq_along(Xt)) { + Xt[[m]] <- array(0, c(16L, 3L, 3L)) + for (t in seq_len(16L)) { + row <- 3 * (m + 1) * H[t, 2L] * u + H[t, 2L + m] * v + column <- 2 * (m + 2) * H[t, 6L] * u + H[t, 6L + m] * v + Xt[[m]][t, , ] <- outer(row, rep(1, 3)) + outer(rep(1, 3), column) + + 5 * (m + 1) * (m + 2) * H[t, 10L] * outer(u, u) + H[t, 10L + m] * outer(v, v) + } + } > selected <- select_MMEFM_rank(Xt, K0 = 8L, max_iter = 50L, seed = 2026L) Error in .validate_rank(ranks, data_info) : rank$l1 + rank$l2 must not exceed the available centered column dimension (dimension minus one under IC1) in group(s): a, b, c. Calls: select_MMEFM_rank -> .validate_rank Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘testthat.R’ ERROR Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(MMEFM) > > test_check("MMEFM") Saving _problems/test-fit-43.R Saving _problems/test-fit-125.R Saving _problems/test-global-detection-116.R Saving _problems/test-rank-selection-112.R Saving _problems/test-rank-selection-152.R Saving _problems/test-rank-selection-190.R [ FAIL 6 | WARN 0 | SKIP 0 | PASS 2229 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-fit.R:43:3'): automatic and explicit ranks use the same final estimation path ── Error in `.validate_rank(ranks, data_info)`: rank$l1 + rank$l2 must not exceed the available centered column dimension (dimension minus one under IC1) in group(s): a, b, c. Backtrace: ▆ 1. └─MMEFM::select_MMEFM_rank(x$Xt, K0 = 8L, seed = 2026L) at test-fit.R:43:3 2. └─MMEFM:::.validate_rank(ranks, data_info) ── Error ('test-fit.R:122:3'): iteration limits warn once for each active stage ── Error in `.validate_rank(ranks, data_info)`: rank$l1 + rank$l2 must not exceed the available centered column dimension (dimension minus one under IC1) in group(s): a, b, c. Backtrace: ▆ 1. ├─base::withCallingHandlers(...) at test-fit.R:122:3 2. └─MMEFM::select_MMEFM_rank(a$Xt, K0 = 8L, max_iter = 1L, tol = 1e-20) 3. └─MMEFM:::.validate_rank(ranks, data_info) ── Error ('test-global-detection.R:116:3'): automatic ranks and supplied ranks give identical detection ── Error in `.validate_rank(ranks, data_info)`: rank$l1 + rank$l2 must not exceed the available centered column dimension (dimension minus one under IC1) in group(s): a, b, c. Backtrace: ▆ 1. └─MMEFM::select_MMEFM_rank(x$Xt, K0 = 8L) at test-global-detection.R:116:3 2. └─MMEFM:::.validate_rank(ranks, data_info) ── Error ('test-rank-selection.R:112:3'): public rank objects and diagnostics match the canonical contracts ── Error in `.validate_rank(ranks, data_info)`: rank$l1 + rank$l2 must not exceed the available centered column dimension (dimension minus one under IC1) in group(s): a, b, c. Backtrace: ▆ 1. └─MMEFM::select_MMEFM_rank(Xt, K0 = 8L) at test-rank-selection.R:112:3 2. └─MMEFM:::.validate_rank(ranks, data_info) ── Error ('test-rank-selection.R:152:3'): the public selector restores caller RNG and ignores its initial state ── Error in `.validate_rank(ranks, data_info)`: rank$l1 + rank$l2 must not exceed the available centered column dimension (dimension minus one under IC1) in group(s): a, b, c. Backtrace: ▆ 1. └─MMEFM::select_MMEFM_rank(Xt, K0 = 8L, seed = 2026L) at test-rank-selection.R:152:3 2. └─MMEFM:::.validate_rank(ranks, data_info) ── Error ('test-rank-selection.R:189:3'): public rank controls are validated without rounding ── Error in `.validate_rank(ranks, data_info)`: rank$l1 + rank$l2 must not exceed the available centered column dimension (dimension minus one under IC1) in group(s): a, b, c. Backtrace: ▆ 1. ├─testthat::expect_identical(...) at test-rank-selection.R:189:3 2. │ └─testthat::quasi_label(enquo(object), label) 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─MMEFM::select_MMEFM_rank(Xt, K0 = 2, max_iter = 1, seed = 0) 5. └─MMEFM:::.validate_rank(ranks, data_info) [ FAIL 6 | WARN 0 | SKIP 0 | PASS 2229 ] Error: ! Test failures. Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs See ‘/data/localhost/ripley/R/packages/tests-MKL/MMEFM.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 0:29.60, 22.82 + 2.61