Running ‘testthat.R’ [47s/51s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(embed)
  Loading required package: recipes
  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
  
  
  Attaching package: 'recipes'
  
  The following object is masked from 'package:stats':
  
      step
  
  > 
  > test_check(package = "embed")
  ── 1. Failure: xgb_binning for classification (@test_discretize_xgb.R#194)  ────
  length(xgb_binning) not equal to 6.
  1/1 mismatches
  [1] 5 - 6 == -1
  
  [14:58:30] WARNING: amalgamation/../src/objective/regression_obj.cu:170: reg:linear is now deprecated in favor of reg:squarederror.
  ── 2. Failure: xgb_binning for multi-classification (@test_discretize_xgb.R#235)
  length(xgb_binning) not equal to 6.
  1/1 mismatches
  [1] 5 - 6 == -1
  
  [14:58:30] WARNING: amalgamation/../src/objective/regression_obj.cu:170: reg:linear is now deprecated in favor of reg:squarederror.
  [14:58:30] WARNING: amalgamation/../src/objective/regression_obj.cu:170: reg:linear is now deprecated in favor of reg:squarederror.
  ── 3. Failure: xgb_binning for regression (@test_discretize_xgb.R#276)  ────────
  length(xgb_binning) not equal to 6.
  1/1 mismatches
  [1] 8 - 6 == 2
  
  [14:58:31] WARNING: amalgamation/../src/objective/regression_obj.cu:170: reg:linear is now deprecated in favor of reg:squarederror.
  [14:58:33] WARNING: amalgamation/../src/objective/regression_obj.cu:170: reg:linear is now deprecated in favor of reg:squarederror.
  [14:58:33] WARNING: amalgamation/../src/objective/regression_obj.cu:170: reg:linear is now deprecated in favor of reg:squarederror.
  [14:58:34] WARNING: amalgamation/../src/objective/regression_obj.cu:170: reg:linear is now deprecated in favor of reg:squarederror.
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 242 | SKIPPED: 12 | WARNINGS: 0 | FAILED: 3 ]
  1. Failure: xgb_binning for classification (@test_discretize_xgb.R#194) 
  2. Failure: xgb_binning for multi-classification (@test_discretize_xgb.R#235) 
  3. Failure: xgb_binning for regression (@test_discretize_xgb.R#276) 
  
  Error: testthat unit tests failed
  Execution halted