Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [158s/139s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(CimpleG)
  ---------------------
  CimpleG version 1.0.0
  ---------------------
  > 
  > test_check("CimpleG")
  Starting 2 test processes.
  Saving _problems/test3-CimpleG-xgboost-13.R
  [ FAIL 1 | WARN 0 | SKIP 4 | PASS 62 ]
  
  ══ Skipped tests (4) ═══════════════════════════════════════════════════════════
  • On CRAN (3): 'test1-CimpleG-decisiontree.R:3:3', 'test1-CimpleG-nnet.R:3:3',
    'test1-CimpleG-rf.R:3:3'
  • parallel not working properly locally (1): 'test8-CimpleG-parallel.R:4:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test3-CimpleG-xgboost.R:5:3'): signatures are generated w/ xgboost ──
  <purrr_error_indexed/rlang_error/error/condition>
  Error in `purrr::map(.x = target_columns, .f = work_helper)`: i In index: 1.
  Caused by error in `x$callbacks <- purrr::map(x$callbacks, function(x) as.function(c(formals(x),
    body(x)), env = rlang::base_env()))`:
  ! ALTLIST classes must provide a Set_elt method [class: XGBAltrepPointerClass, pkg: xgboost]
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test3-CimpleG-xgboost.R:5:3
    2. │ └─base::withCallingHandlers(...)
    3. ├─base::suppressMessages(...)
    4. │ └─base::withCallingHandlers(...)
    5. ├─CimpleG::CimpleG(...)
    6. ├─CimpleG:::CimpleG.matrix(...)
    7. │ └─CimpleG:::CimpleG_main(...)
    8. │   ├─purrr::map(.x = target_columns, .f = work_helper) %>% ...
    9. │   └─purrr::map(.x = target_columns, .f = work_helper)
   10. │     └─purrr:::map_("list", .x, .f, ..., .progress = .progress)
   11. │       ├─purrr:::with_indexed_errors(...)
   12. │       │ └─base::withCallingHandlers(...)
   13. │       ├─purrr:::call_with_cleanup(...)
   14. │       └─CimpleG (local) .f(.x[[i]], ...)
   15. │         └─CimpleG:::train_general_model(...)
   16. │           └─cimpleg_final_model %>% butcher::axe_call() %>% butcher::axe_env()
   17. ├─butcher::axe_env(.)
   18. ├─workflows:::axe_env.workflow(.)
   19. │ ├─butcher::axe_env(fit, verbose = verbose, ...)
   20. │ └─butcher:::axe_env.model_fit(fit, verbose = verbose, ...)
   21. │   ├─butcher::axe_env(x$fit, verbose = verbose, ...)
   22. │   └─butcher:::axe_env.xgb.Booster(x$fit, verbose = verbose, ...)
   23. └─base::.handleSimpleError(...)
   24.   └─purrr (local) h(simpleError(msg, call))
   25.     └─cli::cli_abort(...)
   26.       └─rlang::abort(...)
  
  [ FAIL 1 | WARN 0 | SKIP 4 | PASS 62 ]
  Error:
  ! Test failures.
  Execution halted