Running ‘testthat.R’ [65s/75s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(forecastML)
  Loading required package: dplyr
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > 
  > test_check("forecastML")
  [ FAIL 1 | WARN 24 | SKIP 25 | PASS 62 ]
  
  ══ Skipped tests (25) ══════════════════════════════════════════════════════════
  • empty test (25): 'test_create_lagged_df_grouped.R:7:1',
    'test_create_lagged_df_grouped.R:56:1',
    'test_create_lagged_df_grouped.R:109:1',
    'test_create_lagged_df_grouped_multi_output.R:7:1',
    'test_create_lagged_df_grouped_multi_output.R:65:1',
    'test_create_lagged_df_horizons.R:7:1',
    'test_create_lagged_df_horizons.R:44:1',
    'test_create_lagged_df_horizons.R:86:1',
    'test_create_lagged_df_horizons_multi_output.R:7:1',
    'test_create_lagged_df_horizons_multi_output.R:46:1',
    'test_create_lagged_df_horizons_multi_output.R:88:1',
    'test_create_lagged_df_lookback.R:73:1',
    'test_create_lagged_df_lookback.R:115:1',
    'test_create_lagged_df_lookback_multi_output.R:73:1',
    'test_create_lagged_df_lookback_multi_output.R:115:1',
    'test_create_lagged_df_nongrouped.R:7:1',
    'test_create_lagged_df_nongrouped.R:43:1', 'test_fill_gaps.R:6:1',
    'test_fill_gaps.R:35:1', 'test_return_error.R:6:1',
    'test_return_error.R:73:1', 'test_return_error.R:134:1',
    'test_return_error.R:275:1', 'test_return_error.R:329:1',
    'test_return_error.R:380:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_train_model.R:5:1'): (code run outside of `test_that()`) ───────
  <packageNotFoundError/error/condition>
  Error in `library(glmnet)`: there is no package called 'glmnet'
  Backtrace:
      ▆
   1. └─base::library(glmnet) at test_train_model.R:5:1
  
  [ FAIL 1 | WARN 24 | SKIP 25 | PASS 62 ]
  Error: Test failures
  Execution halted