Running ‘testthat.R’ [31s/58s]
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/tests.html
  > # * https://testthat.r-lib.org/reference/test_package.html#special-files
  > 
  > library(testthat)
  > library(nestedmodels)
  > 
  > test_check("nestedmodels")
  Loading required package: Matrix
  Loaded glmnet 4.1-8
  Error in fit(...) : `penalty` must be a number or `NULL`, not a call.
  Error in fit(...) : `penalty` must be a number or `NULL`, not a call.
  Error in fit(...) : `penalty` must be a number or `NULL`, not a call.
  Error in fit(...) : `penalty` must be a number or `NULL`, not a call.
  Error in fit(...) : `penalty` must be a number or `NULL`, not a call.
  Error in fit(...) : `penalty` must be a number or `NULL`, not a call.
  Error in fit(...) : `penalty` must be a number or `NULL`, not a call.
  Error in fit(...) : `penalty` must be a number or `NULL`, not a call.
  Error in fit(...) : `penalty` must be a number or `NULL`, not a call.
  Error in fit(...) : `penalty` must be a number or `NULL`, not a call.
  Error in fit(...) : `penalty` must be a number or `NULL`, not a call.
  Error in fit(...) : `penalty` must be a number or `NULL`, not a call.
  Error in fit(...) : `penalty` must be a number or `NULL`, not a call.
  Error in fit(...) : `penalty` must be a number or `NULL`, not a call.
  Error in fit(...) : `penalty` must be a number or `NULL`, not a call.
  Error in fit(...) : `penalty` must be a number or `NULL`, not a call.
  Error in fit(...) : `penalty` must be a number or `NULL`, not a call.
  Error in fit(...) : `penalty` must be a number or `NULL`, not a call.
  Error in fit(...) : `penalty` must be a number or `NULL`, not a call.
  Error in fit(...) : `penalty` must be a number or `NULL`, not a call.
  Error: $ operator is invalid for atomic vectors
  Error: $ operator is invalid for atomic vectors
  Error: $ operator is invalid for atomic vectors
  Error: $ operator is invalid for atomic vectors
  Error: $ operator is invalid for atomic vectors
  Error: $ operator is invalid for atomic vectors
  Error: $ operator is invalid for atomic vectors
  Error: $ operator is invalid for atomic vectors
  Error: $ operator is invalid for atomic vectors
  Error: $ operator is invalid for atomic vectors
  Error: $ operator is invalid for atomic vectors
  Error: $ operator is invalid for atomic vectors
  Error: $ operator is invalid for atomic vectors
  Error: $ operator is invalid for atomic vectors
  Error: $ operator is invalid for atomic vectors
  Error: $ operator is invalid for atomic vectors
  Error: $ operator is invalid for atomic vectors
  Error: $ operator is invalid for atomic vectors
  Error: $ operator is invalid for atomic vectors
  Error: $ operator is invalid for atomic vectors
  [ FAIL 1 | WARN 1 | SKIP 4 | PASS 173 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • On CRAN (4): 'test-autoplot.R:20:3', 'test-fit_xy.R:39:3',
    'test-nested_model.R:24:3', 'test-step_nest.R:10:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-multi_predict.R:13:3'): multi_predict.nested_model_fit works ───
  Error in `fix_predictions(pred, model_map$data)`: All of the predictions failed.
  Backtrace:
      ▆
   1. ├─base::suppressWarnings(...) at test-multi_predict.R:13:3
   2. │ └─base::withCallingHandlers(...)
   3. ├─parsnip::multi_predict(...)
   4. └─nestedmodels:::multi_predict.nested_model_fit(...)
   5.   └─nestedmodels:::fix_predictions(pred, model_map$data)
   6.     └─cli::cli_abort(c("All of the predictions failed."))
   7.       └─rlang::abort(...)
  
  [ FAIL 1 | WARN 1 | SKIP 4 | PASS 173 ]
  Deleting unused snapshots:
  • autoplot/combined-autoplot-results.svg
  Error: Test failures
  Execution halted