- using R Under development (unstable) (2026-03-08 r89578)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7)
GNU Fortran (GCC) 15.2.1 20260123 (Red Hat 15.2.1-7)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
* current time: 2026-03-09 14:26:13 UTC
- using option ‘--no-stop-on-test-error’
- 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 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 ‘FoReco’ can be installed ... [22s/57s] OK
See the install log for details.
- 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 ... 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 ... [40s/110s] 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking examples ... [4s/10s] 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 ... [15s/37s] ERROR
Running ‘testthat.R’ [15s/36s]
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 ... [13s/30s] OK
- checking HTML version of manual ... [15s/33s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 2 ERRORs