* using log directory 'd:/Rcompile/CRANpkg/local/4.6/FoReco.Rcheck' * using R Under development (unstable) (2026-03-09 r89583 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-03-10 18:54:21 UTC * checking for file 'FoReco/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'FoReco' version '1.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 'FoReco' can be installed ... OK * checking installed package size ... OK * checking package 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 ... [2s] OK * checking whether the package can be unloaded cleanly ... [2s] OK * checking whether the namespace can be loaded with stated dependencies ... [2s] 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 ... [13s] OK * checking Rd files ... [2s] 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 ... [1s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking examples ... [4s] ERROR Running examples in 'FoReco-Ex.R' failed The error most likely occurred in: > ### Name: csrec > ### Title: Optimal combination cross-sectional reconciliation > ### Aliases: csrec > > ### ** Examples > > set.seed(123) > # (2 x 3) base forecasts matrix (simulated), Z = X + Y > base <- matrix(rnorm(6, mean = c(20, 10, 10)), 2, byrow = TRUE) > # (10 x 3) in-sample residuals matrix (simulated) > res <- t(matrix(rnorm(n = 30), nrow = 3)) > > # Aggregation matrix for Z = X + Y > A <- t(c(1,1)) > reco <- csrec(base = base, agg_mat = A, comb = "wls", res = res) > > # Zero constraints matrix for Z - X - Y = 0 > C <- t(c(1, -1, -1)) > reco <- csrec(base = base, cons_mat = C, comb = "wls", res = res) # same results > > # Non negative reconciliation > base[1,3] <- -base[1,3] # Making negative one of the base forecasts for variable Y > nnreco <- csrec(base = base, agg_mat = A, comb = "wls", res = res, nn = "osqp") Warning: ! The `polish` argument is deprecated. ℹ Use `polishing` instead. Error in dimnames(x) <- dn : length of 'dimnames' [2] not equal to array extent Calls: csrec -> reco -> .reco -> reco.proj_osqp -> colnames<- Execution halted * checking for unstated dependencies in 'tests' ... OK * checking tests ... [8s] ERROR Running 'testthat.R' [7s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(FoReco) Loading required package: Matrix > > test_check("FoReco") Polishing not needed - no active set detected at optimal point Saving _problems/test-cs-47.R Saving _problems/test-cs-69.R Saving _problems/test-cs-89.R Polishing not needed - no active set detected at optimal point Saving _problems/test-ct-36.R Saving _problems/test-ct-107.R Saving _problems/test-ct-129.R Polishing not needed - no active set detected at optimal point Saving _problems/test-te-37.R Saving _problems/test-te-50.R Saving _problems/test-te-70.R [ FAIL 9 | WARN 9 | SKIP 0 | PASS 142 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-cs.R:46:5'): Optimal cross-sectional reconciliation ──────────── Error in `dimnames(x) <- dn`: length of 'dimnames' [2] not equal to array extent Backtrace: ▆ 1. └─FoReco::csrec(...) at test-cs.R:46:5 2. └─FoReco:::reco(...) 3. ├─FoReco:::.reco(...) 4. └─FoReco:::reco.strc_osqp(...) 5. └─base::`colnames<-`(...) ── Error ('test-cs.R:68:5'): Optimal nonegative cross-sectional reconciliation ── Error in `dimnames(x) <- dn`: length of 'dimnames' [2] not equal to array extent Backtrace: ▆ 1. └─FoReco::csrec(...) at test-cs.R:68:5 2. └─FoReco:::reco(...) 3. ├─FoReco:::.reco(...) 4. └─FoReco:::reco.strc_osqp(...) 5. └─base::`colnames<-`(...) ── Error ('test-cs.R:88:5'): Optimal immutable cross-sectional reconciliation ── Error in `dimnames(x) <- dn`: length of 'dimnames' [2] not equal to array extent Backtrace: ▆ 1. └─FoReco::csrec(...) at test-cs.R:88:5 2. └─FoReco:::reco(...) 3. ├─FoReco:::.reco(...) 4. └─FoReco:::reco.strc_osqp(...) 5. └─base::`colnames<-`(...) ── Error ('test-ct.R:35:5'): Optimal cross-temporal reconciliation ───────────── Error in `dimnames(x) <- dn`: length of 'dimnames' [2] not equal to array extent Backtrace: ▆ 1. └─FoReco::ctrec(...) at test-ct.R:35:5 2. └─FoReco:::reco(...) 3. ├─FoReco:::.reco(...) 4. └─FoReco:::reco.strc_osqp(...) 5. └─base::`colnames<-`(...) ── Error ('test-ct.R:106:5'): Optimal nonegative cross-sectional reconciliation ── Error in `dimnames(x) <- dn`: length of 'dimnames' [2] not equal to array extent Backtrace: ▆ 1. └─FoReco::ctrec(...) at test-ct.R:106:5 2. └─FoReco:::reco(...) 3. ├─FoReco:::.reco(...) 4. └─FoReco:::reco.strc_osqp(...) 5. └─base::`colnames<-`(...) ── Error ('test-ct.R:128:5'): Optimal immutable cross-sectional reconciliation ── Error in `dimnames(x) <- dn`: length of 'dimnames' [2] not equal to array extent Backtrace: ▆ 1. └─FoReco::ctrec(...) at test-ct.R:128:5 2. └─FoReco:::reco(...) 3. ├─FoReco:::.reco(...) 4. └─FoReco:::reco.strc_osqp(...) 5. └─base::`colnames<-`(...) ── Error ('test-te.R:36:5'): Optimal temporal reconciliation ─────────────────── Error in `dimnames(x) <- dn`: length of 'dimnames' [2] not equal to array extent Backtrace: ▆ 1. └─FoReco::terec(...) at test-te.R:36:5 2. └─FoReco:::reco(...) 3. ├─FoReco:::.reco(...) 4. └─FoReco:::reco.strc_osqp(...) 5. └─base::`colnames<-`(...) ── Error ('test-te.R:49:5'): Optimal nonegative temporal reconciliation ──────── Error in `dimnames(x) <- dn`: length of 'dimnames' [2] not equal to array extent Backtrace: ▆ 1. └─FoReco::terec(...) at test-te.R:49:5 2. └─FoReco:::reco(...) 3. ├─FoReco:::.reco(...) 4. └─FoReco:::reco.strc_osqp(...) 5. └─base::`colnames<-`(...) ── Error ('test-te.R:69:5'): Optimal immutable temporal reconciliation ───────── Error in `dimnames(x) <- dn`: length of 'dimnames' [2] not equal to array extent Backtrace: ▆ 1. └─FoReco::terec(...) at test-te.R:69:5 2. └─FoReco:::reco(...) 3. ├─FoReco:::.reco(...) 4. └─FoReco:::reco.strc_osqp(...) 5. └─base::`colnames<-`(...) [ FAIL 9 | WARN 9 | SKIP 0 | PASS 142 ] Error: ! Test failures. Execution halted * checking PDF version of manual ... [22s] OK * checking HTML version of manual ... [17s] OK * DONE Status: 2 ERRORs