CRAN Package Check Results for Package FoReco

Last updated on 2026-03-02 03:51:37 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1.0 13.92 105.87 119.79 OK
r-devel-linux-x86_64-debian-gcc 1.1.0 8.08 74.60 82.68 OK
r-devel-linux-x86_64-fedora-clang 1.1.0 20.00 152.86 172.86 OK
r-devel-linux-x86_64-fedora-gcc 1.1.0 23.00 165.90 188.90 ERROR
r-devel-macos-arm64 1.1.0 3.00 25.00 28.00 OK
r-devel-windows-x86_64 1.1.0 14.00 118.00 132.00 OK
r-patched-linux-x86_64 1.1.0 15.44 94.01 109.45 OK
r-release-linux-x86_64 1.1.0 10.40 93.76 104.16 OK
r-release-macos-arm64 1.1.0 OK
r-release-macos-x86_64 1.1.0 8.00 109.00 117.00 OK
r-release-windows-x86_64 1.1.0 15.00 110.00 125.00 OK
r-oldrel-macos-arm64 1.1.0 OK
r-oldrel-macos-x86_64 1.1.0 8.00 78.00 86.00 OK
r-oldrel-windows-x86_64 1.1.0 19.00 195.00 214.00 OK

Check Details

Version: 1.1.0
Check: examples
Result: 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 Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.1.0
Check: tests
Result: ERROR Running ‘testthat.R’ [15s/41s] 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 Flavor: r-devel-linux-x86_64-fedora-gcc