Running ‘testthat.R’ [52s/61s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(stacks)
  > 
  > test_check("stacks")
  ── Skip (test_add_candidates.R:6:3): stack can add candidates (regression) ─────
  Reason: still some inconsistencies with stored objects
  
  ── Skip (test_add_candidates.R:24:3): stack can add candidates (multinomial clas
  Reason: still some inconsistencies with stored objects
  
  ── Skip (test_add_candidates.R:41:3): stack can add candidates (two-way classifi
  Reason: still some inconsistencies with stored objects
  
  ── Skip (test_add_candidates.R:58:3): add_candidates errors informatively with b
  Reason: On CRAN
  
  ── Skip (test_add_candidates.R:168:3): model definition naming works as expected
  Reason: On CRAN
  
  ── Skip (test_blend_predictions.R:6:3): blend_predictions works ────────────────
  Reason: On CRAN
  
  ── Skip (test_blend_predictions.R:18:3): penalty argument works correctly ──────
  Reason: On CRAN
  
  ── Skip (test_blend_predictions.R:31:3): blend_predictions can handle many resam
  Reason: On CRAN
  
  ── Skip (test_blend_predictions.R:63:3): blend_predictions errors informatively 
  Reason: On CRAN
  
  ── Skip (test_blend_predictions.R:123:3): blend_predictions is sensitive to the 
  Reason: On CRAN
  
  ── Skip (test_blend_predictions.R:136:3): blend_predictions is sensitive to the 
  Reason: On CRAN
  
  ── Skip (test_blend_predictions.R:147:3): process_data_stack works ─────────────
  Reason: On CRAN
  
  ── Skip (test_butcher.R:17:3): model_stack + axe_call() works ──────────────────
  Reason: On CRAN
  
  ── Skip (test_butcher.R:25:3): model_stack + axe_ctrl() works ──────────────────
  Reason: On CRAN
  
  ── Skip (test_butcher.R:33:3): model_stack + axe_data() works ──────────────────
  Reason: On CRAN
  
  ── Skip (test_butcher.R:52:3): model_stack + axe_env() works ───────────────────
  Reason: On CRAN
  
  ── Skip (test_butcher.R:60:3): model_stack + axe_fitted() works ────────────────
  Reason: On CRAN
  
  ── Skip (test_butcher.R:68:3): model_stack + butcher() works ───────────────────
  Reason: On CRAN
  
  ── Skip (test_butcher.R:76:3): butchered model stack printing works ────────────
  Reason: On CRAN
  
  ── Skip (test_collect_parameters.R:6:3): collect_parameters dispatch works ─────
  Reason: On CRAN
  
  ── Skip (test_collect_parameters.R:20:3): collect_parameters errors informativel
  Reason: On CRAN
  
  ── Skip (test_collect_parameters.R:34:3): collect_parameters on a data stack wor
  Reason: On CRAN
  
  ── Skip (test_collect_parameters.R:59:3): collect_parameters on a model stack wo
  Reason: On CRAN
  
  ── Skip (test_collect_parameters.R:85:3): collect_parameters works (classificati
  Reason: On CRAN
  
  ── ERROR (test_cran.R:45:3): basic stacks pipeline works ───────────────────────
  Error: need at least two non-NA values to interpolate
  Backtrace:
       █
    1. ├─`%>%`(...) test_cran.R:45:2
    2. ├─stacks::fit_members(.)
    3. │ └─stacks:::check_model_stack(model_stack)
    4. ├─stacks::blend_predictions(.)
    5. │ ├─base::structure(...)
    6. │ └─stacks:::glmnet_metrics(candidates)
    7. │   ├─`%>%`(...)
    8. │   └─purrr::map_dfr(x$glmnet_fits, num_members, pens)
    9. │     └─purrr::map(.x, .f, ...)
   10. │       └─stacks:::.f(.x[[i]], ...)
   11. │         ├─stats::coef(x, s = penalties)
   12. │         └─glmnet::coef.glmnet(x, s = penalties)
   13. │           ├─stats::predict(...)
   14. │           ├─glmnet:::predict.elnet(...)
   15. │           ├─base::NextMethod("predict")
   16. │           └─glmnet::predict.glmnet(...)
   17. │             └─glmnet:::lambda.interp(lambda, s)
   18. │               └─stats::approx(lambda, seq(lambda), sfrac)
   19. ├─dplyr::full_join(...)
   20. ├─dplyr::ungroup(.)
   21. ├─dplyr::summarize(...)
   22. └─dplyr::group_by(., penalty)
  
  ── Skip (test_fit_members.R:6:3): basic fit_members works ──────────────────────
  Reason: On CRAN
  
  ── Skip (test_fit_members.R:33:3): fit_members leaves most model stack elements 
  Reason: On CRAN
  
  ── Skip (test_fit_members.R:73:3): fit_members errors informatively with a bad m
  Reason: On CRAN
  
  ── Skip (test_predict.R:6:3): predict method works (regression) ────────────────
  Reason: On CRAN
  
  ── Skip (test_predict.R:22:3): predict method works (classification) ───────────
  Reason: On CRAN
  
  ── Skip (test_predict.R:50:3): predict method errors informatively ─────────────
  Reason: On CRAN
  
  ── Skip (test_print.R:6:3): data stack printing works ──────────────────────────
  Reason: On CRAN
  
  ── Skip (test_print.R:30:3): model stack printing works ────────────────────────
  Reason: On CRAN
  
  ── Skip (test_utils.R:6:3): object types relate as expected ────────────────────
  Reason: On CRAN
  
  ── Skip (test_utils.R:24:3): control_* functions work ──────────────────────────
  Reason: On CRAN
  
  ── Skip (test_utils.R:44:3): misc. utilities work ──────────────────────────────
  Reason: On CRAN
  
  ── Skipped tests  ──────────────────────────────────────────────────────────────
  ● On CRAN (32)
  ● still some inconsistencies with stored objects (3)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  ERROR (test_cran.R:45:3): basic stacks pipeline works
  
  [ FAIL 1 | WARN 0 | SKIP 35 | PASS 5 ]
  Error: Test failures
  Execution halted