Running ‘testthat.R’ [11s/12s]
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(FoRecoML)
  Loading required package: Matrix
  Loading required package: FoReco
  > 
  > test_check("FoRecoML")
  Saving _problems/test-csrml-51.R
  Saving _problems/test-csrml-51.R
  Saving _problems/test-csrml-51.R
  Saving _problems/test-csrml-51.R
  Saving _problems/test-csrml-51.R
  Saving _problems/test-csrml-51.R
  Saving _problems/test-csrml-51.R
  Saving _problems/test-csrml-51.R
  Saving _problems/test-csrml-51.R
  Saving _problems/test-csrml-51.R
  Saving _problems/test-csrml-51.R
  Saving _problems/test-csrml-51.R
  Saving _problems/test-csrml-51.R
  Saving _problems/test-csrml-51.R
  Saving _problems/test-csrml-51.R
  Saving _problems/test-csrml-51.R
  Saving _problems/test-csrml-71.R
  Saving _problems/test-ctrml-60.R
  Saving _problems/test-ctrml-60.R
  Saving _problems/test-ctrml-60.R
  Saving _problems/test-ctrml-60.R
  Saving _problems/test-ctrml-60.R
  Saving _problems/test-ctrml-60.R
  Saving _problems/test-ctrml-60.R
  Saving _problems/test-ctrml-60.R
  Saving _problems/test-ctrml-73.R
  Saving _problems/test-ctrml-109.R
  Saving _problems/test-terml-38.R
  Saving _problems/test-terml-38.R
  Saving _problems/test-terml-38.R
  Saving _problems/test-terml-38.R
  Saving _problems/test-terml-38.R
  Saving _problems/test-terml-38.R
  Saving _problems/test-terml-38.R
  Saving _problems/test-terml-38.R
  Saving _problems/test-terml-49.R
  Saving _problems/test-terml-79.R
  [ FAIL 37 | WARN 0 | SKIP 0 | PASS 21 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure ('test-csrml.R:44:9'): Approach and features ────────────────────────
  Expected `csrml(...)` not to throw any errors.
  Actually got a <functionNotFoundError> with message:
    could not find function "new_foreco_info"
  ── Failure ('test-csrml.R:44:9'): Approach and features ────────────────────────
  Expected `csrml(...)` not to throw any errors.
  Actually got a <functionNotFoundError> with message:
    could not find function "new_foreco_info"
  ── Failure ('test-csrml.R:44:9'): Approach and features ────────────────────────
  Expected `csrml(...)` not to throw any errors.
  Actually got a <functionNotFoundError> with message:
    could not find function "new_foreco_info"
  ── Failure ('test-csrml.R:44:9'): Approach and features ────────────────────────
  Expected `csrml(...)` not to throw any errors.
  Actually got a <functionNotFoundError> with message:
    could not find function "new_foreco_info"
  ── Failure ('test-csrml.R:44:9'): Approach and features ────────────────────────
  Expected `csrml(...)` not to throw any errors.
  Actually got a <functionNotFoundError> with message:
    could not find function "new_foreco_info"
  ── Failure ('test-csrml.R:44:9'): Approach and features ────────────────────────
  Expected `csrml(...)` not to throw any errors.
  Actually got a <functionNotFoundError> with message:
    could not find function "new_foreco_info"
  ── Failure ('test-csrml.R:44:9'): Approach and features ────────────────────────
  Expected `csrml(...)` not to throw any errors.
  Actually got a <functionNotFoundError> with message:
    could not find function "new_foreco_info"
  ── Failure ('test-csrml.R:44:9'): Approach and features ────────────────────────
  Expected `csrml(...)` not to throw any errors.
  Actually got a <functionNotFoundError> with message:
    could not find function "new_foreco_info"
  ── Failure ('test-csrml.R:44:9'): Approach and features ────────────────────────
  Expected `csrml(...)` not to throw any errors.
  Actually got a <functionNotFoundError> with message:
    could not find function "new_foreco_info"
  ── Failure ('test-csrml.R:44:9'): Approach and features ────────────────────────
  Expected `csrml(...)` not to throw any errors.
  Actually got a <functionNotFoundError> with message:
    could not find function "new_foreco_info"
  ── Failure ('test-csrml.R:44:9'): Approach and features ────────────────────────
  Expected `csrml(...)` not to throw any errors.
  Actually got a <functionNotFoundError> with message:
    could not find function "new_foreco_info"
  ── Failure ('test-csrml.R:44:9'): Approach and features ────────────────────────
  Expected `csrml(...)` not to throw any errors.
  Actually got a <functionNotFoundError> with message:
    could not find function "new_foreco_info"
  ── Failure ('test-csrml.R:44:9'): Approach and features ────────────────────────
  Expected `csrml(...)` not to throw any errors.
  Actually got a <functionNotFoundError> with message:
    could not find function "new_foreco_info"
  ── Failure ('test-csrml.R:44:9'): Approach and features ────────────────────────
  Expected `csrml(...)` not to throw any errors.
  Actually got a <functionNotFoundError> with message:
    could not find function "new_foreco_info"
  ── Failure ('test-csrml.R:44:9'): Approach and features ────────────────────────
  Expected `csrml(...)` not to throw any errors.
  Actually got a <functionNotFoundError> with message:
    could not find function "new_foreco_info"
  ── Failure ('test-csrml.R:44:9'): Approach and features ────────────────────────
  Expected `csrml(...)` not to throw any errors.
  Actually got a <functionNotFoundError> with message:
    could not find function "new_foreco_info"
  ── Error ('test-csrml.R:64:5'): Two step ───────────────────────────────────────
  <functionNotFoundError/objectNotFoundError/error/condition>
  Error in `new_foreco_info(list(fit = obj, framework = "Cross-sectional", forecast_horizon = NROW(reco_mat), cs_n = n, rfun = "csrml", ml = approach))`: could not find function "new_foreco_info"
  Backtrace:
      ▆
   1. └─FoRecoML::csrml(...) at test-csrml.R:64:5
  ── Failure ('test-ctrml.R:52:9'): Approach and features ────────────────────────
  Expected `ctrml(...)` not to throw any errors.
  Actually got a <simpleError> with message:
    'FoReco2matrix' is not an exported object from 'namespace:FoReco'
  ── Failure ('test-ctrml.R:52:9'): Approach and features ────────────────────────
  Expected `ctrml(...)` not to throw any errors.
  Actually got a <simpleError> with message:
    'FoReco2matrix' is not an exported object from 'namespace:FoReco'
  ── Failure ('test-ctrml.R:52:9'): Approach and features ────────────────────────
  Expected `ctrml(...)` not to throw any errors.
  Actually got a <simpleError> with message:
    'FoReco2matrix' is not an exported object from 'namespace:FoReco'
  ── Failure ('test-ctrml.R:52:9'): Approach and features ────────────────────────
  Expected `ctrml(...)` not to throw any errors.
  Actually got a <simpleError> with message:
    'FoReco2matrix' is not an exported object from 'namespace:FoReco'
  ── Failure ('test-ctrml.R:52:9'): Approach and features ────────────────────────
  Expected `ctrml(...)` not to throw any errors.
  Actually got a <simpleError> with message:
    'FoReco2matrix' is not an exported object from 'namespace:FoReco'
  ── Failure ('test-ctrml.R:52:9'): Approach and features ────────────────────────
  Expected `ctrml(...)` not to throw any errors.
  Actually got a <simpleError> with message:
    'FoReco2matrix' is not an exported object from 'namespace:FoReco'
  ── Failure ('test-ctrml.R:52:9'): Approach and features ────────────────────────
  Expected `ctrml(...)` not to throw any errors.
  Actually got a <simpleError> with message:
    'FoReco2matrix' is not an exported object from 'namespace:FoReco'
  ── Failure ('test-ctrml.R:52:9'): Approach and features ────────────────────────
  Expected `ctrml(...)` not to throw any errors.
  Actually got a <simpleError> with message:
    'FoReco2matrix' is not an exported object from 'namespace:FoReco'
  ── Error ('test-ctrml.R:66:5'): Two step ───────────────────────────────────────
  Error: 'FoReco2matrix' is not an exported object from 'namespace:FoReco'
  Backtrace:
      ▆
   1. └─FoRecoML::ctrml_fit(...) at test-ctrml.R:66:5
   2.   └─FoRecoML:::input2rtw(hat, tmp$set)
  ── Error ('test-ctrml.R:102:5'): Errors ────────────────────────────────────────
  Error: 'FoReco2matrix' is not an exported object from 'namespace:FoReco'
  Backtrace:
      ▆
   1. └─FoRecoML::ctrml_fit(...) at test-ctrml.R:102:5
   2.   └─FoRecoML:::input2rtw(hat, tmp$set)
  ── Failure ('test-terml.R:31:9'): Approach and features ────────────────────────
  Expected `terml(...)` not to throw any errors.
  Actually got a <simpleError> with message:
    'FoReco2matrix' is not an exported object from 'namespace:FoReco'
  ── Failure ('test-terml.R:31:9'): Approach and features ────────────────────────
  Expected `terml(...)` not to throw any errors.
  Actually got a <simpleError> with message:
    'FoReco2matrix' is not an exported object from 'namespace:FoReco'
  ── Failure ('test-terml.R:31:9'): Approach and features ────────────────────────
  Expected `terml(...)` not to throw any errors.
  Actually got a <simpleError> with message:
    'FoReco2matrix' is not an exported object from 'namespace:FoReco'
  ── Failure ('test-terml.R:31:9'): Approach and features ────────────────────────
  Expected `terml(...)` not to throw any errors.
  Actually got a <simpleError> with message:
    'FoReco2matrix' is not an exported object from 'namespace:FoReco'
  ── Failure ('test-terml.R:31:9'): Approach and features ────────────────────────
  Expected `terml(...)` not to throw any errors.
  Actually got a <simpleError> with message:
    'FoReco2matrix' is not an exported object from 'namespace:FoReco'
  ── Failure ('test-terml.R:31:9'): Approach and features ────────────────────────
  Expected `terml(...)` not to throw any errors.
  Actually got a <simpleError> with message:
    'FoReco2matrix' is not an exported object from 'namespace:FoReco'
  ── Failure ('test-terml.R:31:9'): Approach and features ────────────────────────
  Expected `terml(...)` not to throw any errors.
  Actually got a <simpleError> with message:
    'FoReco2matrix' is not an exported object from 'namespace:FoReco'
  ── Failure ('test-terml.R:31:9'): Approach and features ────────────────────────
  Expected `terml(...)` not to throw any errors.
  Actually got a <simpleError> with message:
    'FoReco2matrix' is not an exported object from 'namespace:FoReco'
  ── Error ('test-terml.R:44:5'): Two step ───────────────────────────────────────
  Error: 'FoReco2matrix' is not an exported object from 'namespace:FoReco'
  Backtrace:
      ▆
   1. └─FoRecoML::terml_fit(hat = hat, obs = obs, agg_order = m, approach = "lightgbm") at test-terml.R:44:5
   2.   └─FoRecoML:::input2rtw(hat, kset)
  ── Error ('test-terml.R:74:5'): Errors ─────────────────────────────────────────
  Error: 'FoReco2matrix' is not an exported object from 'namespace:FoReco'
  Backtrace:
      ▆
   1. └─FoRecoML::terml_fit(hat = hat, obs = obs, agg_order = m, approach = "lightgbm") at test-terml.R:74:5
   2.   └─FoRecoML:::input2rtw(hat, kset)
  
  [ FAIL 37 | WARN 0 | SKIP 0 | PASS 21 ]
  Error:
  ! Test failures.
  Execution halted