Running 'testthat.R' [4s]
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(FoCo2)
  Loading required package: Matrix
  Loading required package: FoReco
  > 
  > test_check("FoCo2")
  Polishing not needed - no active set detected at optimal point
  Saving _problems/test-cs-23.R
  Saving _problems/test-cs-51.R
  Polishing not needed - no active set detected at optimal point
  Saving _problems/test-cs-72.R
  [ FAIL 3 | WARN 3 | SKIP 0 | PASS 18 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-cs.R:22:5'): Optimal cross-sectional coherent combination ──────
  Error in `dimnames(x) <- dn`: length of 'dimnames' [2] not equal to array extent
  Backtrace:
      ▆
   1. └─FoCo2::csocc(...) at test-cs.R:22:5
   2.   └─FoCo2:::resemble(...)
   3.     ├─FoCo2:::.resemble(...)
   4.     └─FoCo2:::resemble.strc_osqp(...)
   5.       └─base::`colnames<-`(...)
  ── Error ('test-cs.R:50:5'): Optimal nonegative cross-sectional reconciliation ──
  Error in `dimnames(x) <- dn`: length of 'dimnames' [2] not equal to array extent
  Backtrace:
      ▆
   1. └─FoCo2::csocc(...) at test-cs.R:50:5
   2.   └─FoCo2:::resemble(...)
   3.     ├─FoCo2:::.resemble(...)
   4.     └─FoCo2:::resemble.strc_osqp(...)
   5.       └─base::`colnames<-`(...)
  ── Error ('test-cs.R:71:5'): Optimal cross-sectional coherent combination with NA ──
  Error in `dimnames(x) <- dn`: length of 'dimnames' [2] not equal to array extent
  Backtrace:
      ▆
   1. └─FoCo2::csocc(...) at test-cs.R:71:5
   2.   └─FoCo2:::resemble(...)
   3.     ├─FoCo2:::.resemble(...)
   4.     └─FoCo2:::resemble.strc_osqp(...)
   5.       └─base::`colnames<-`(...)
  
  [ FAIL 3 | WARN 3 | SKIP 0 | PASS 18 ]
  Error:
  ! Test failures.
  Execution halted