There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 844`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 844`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1370`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1370`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1414`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1414`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1230`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1230`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1350`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1350`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 486`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 486`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 679`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 679`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 478`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 478`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1221`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1221`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 627`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 627`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1082`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1082`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 483`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 483`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1404`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1404`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1089`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1089`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 495`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 495`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1075`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1075`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 526`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 526`, `min_n = 18`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 444`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 444`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 946`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 946`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 754`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 754`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1410`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1410`, `min_n = 17`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1262`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1262`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1035`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1035`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1224`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1224`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1282`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1282`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 743`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 743`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1169`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1169`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 736`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 736`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 971`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 971`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 861`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 861`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 695`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 695`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 919`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 919`, `min_n = 23`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1068`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1068`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1180`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1180`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1218`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1218`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 669`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 669`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 444`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 444`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 923`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 923`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 861`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 861`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1151`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1151`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 620`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 620`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 497`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 497`, `min_n = 23`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 629`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 629`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1382`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1382`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1344`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1344`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1205`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1205`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1247`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1247`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1290`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1290`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 447`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 447`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 907`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 907`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 754`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 754`, `min_n = 19`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 851`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 851`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 665`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 665`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 814`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 814`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 711`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 711`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 848`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 848`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 739`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 739`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 732`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 732`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 662`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 662`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1183`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1183`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 618`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 618`, `min_n = 17`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 647`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 647`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1016`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1016`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1297`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1297`, `min_n = 18`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 642`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 642`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 788`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 788`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1150`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1150`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1181`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1181`, `min_n = 23`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1204`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1204`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 801`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 801`, `min_n = 19`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 892`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 892`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1316`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1316`, `min_n = 19`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 793`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 793`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1199`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1199`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 964`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 964`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 656`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 656`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 563`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 563`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 427`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 427`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 969`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 969`, `min_n = 19`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 640`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 640`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1379`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1379`, `min_n = 2`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 932`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 932`, `min_n = 17`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 966`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 966`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1275`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1275`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1320`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1320`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 535`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 535`, `min_n = 13`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 554`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 554`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 796`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 796`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1136`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1136`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1029`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1029`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 683`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 683`, `min_n = 26`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 598`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 598`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1303`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1303`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 950`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 950`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 915`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 915`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 601`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 601`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 570`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 570`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 785`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 785`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1039`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1039`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1003`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1003`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1014`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1014`, `min_n = 8`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 738`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 738`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1033`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1033`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 646`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 646`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1440`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1440`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1230`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1230`, `min_n = 19`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 978`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 978`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 673`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 673`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1081`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1081`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1383`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1383`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 463`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 463`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1185`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1185`, `min_n = 17`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 742`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 742`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1374`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1374`, `min_n = 19`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 873`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 873`, `min_n = 26`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1351`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1351`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1368`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1368`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1071`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1071`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1427`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1427`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1034`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1034`, `min_n = 19`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 885`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 885`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 400`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 400`, `min_n = 13`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1329`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1329`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1227`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1227`, `min_n = 23`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 816`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 816`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1409`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1409`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 665`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 665`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 565`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 565`, `min_n = 26`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 873`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 873`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1474`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1474`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 946`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 946`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 402`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 402`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 634`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 634`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 748`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 748`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 707`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 707`, `min_n = 18`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 583`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 583`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 725`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 725`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 446`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 446`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1041`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1041`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 689`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 689`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 479`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 479`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1179`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1179`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1048`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1048`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1485`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1485`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 587`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 587`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1398`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1398`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 585`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 585`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1343`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1343`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 723`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 723`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1105`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1105`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 693`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 693`, `min_n = 19`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 780`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 780`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 462`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 462`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 851`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 851`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1220`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1220`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 987`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 987`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 959`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 959`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1495`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1495`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1113`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1113`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 657`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 657`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1079`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1079`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 901`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 901`, `min_n = 8`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1373`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1373`, `min_n = 13`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 942`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 942`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 614`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 614`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 727`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 727`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 415`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 415`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 749`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 749`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1189`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1189`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1495`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1495`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1495`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1495`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 944`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 944`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1319`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1319`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1050`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1050`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 740`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 740`, `min_n = 18`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 897`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 897`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 476`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 476`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 655`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 655`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 474`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 474`, `min_n = 2`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1291`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1291`, `min_n = 2`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1446`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1446`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 518`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 518`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 749`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 749`, `min_n = 2`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 853`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 853`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1335`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1335`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 577`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 577`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1363`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1363`, `min_n = 2`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1110`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1110`, `min_n = 23`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 658`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 658`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 759`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 759`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 962`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 962`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 887`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 887`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 791`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 791`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1429`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1429`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 532`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 532`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1152`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1152`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1429`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1429`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1350`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1350`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 806`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 806`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 504`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 504`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1219`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1219`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 449`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 449`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 806`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 806`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 621`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 621`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 477`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 477`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1313`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1313`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 437`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 437`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 826`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 826`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 507`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 507`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 463`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 463`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 598`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 598`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1278`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1278`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1281`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1281`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 491`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 491`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1311`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1311`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 602`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 602`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 607`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 607`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 956`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 956`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1420`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1420`, `min_n = 19`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1427`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1427`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1356`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1356`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 877`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 877`, `min_n = 17`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1254`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1254`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1032`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1032`, `min_n = 26`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 620`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 620`, `min_n = 17`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 881`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 881`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1403`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1403`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 778`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 778`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 867`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 867`, `min_n = 18`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 976`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 976`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 858`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 858`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 580`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 580`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1129`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1129`, `min_n = 17`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 991`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 991`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1499`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1499`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1490`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1490`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 885`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 885`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 518`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 518`, `min_n = 8`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1375`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1375`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1391`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1391`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1284`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1284`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 859`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 859`, `min_n = 8`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 841`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 841`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1497`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1497`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 698`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 698`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1104`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1104`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 868`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 868`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1343`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1343`, `min_n = 2`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 622`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 622`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 642`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 642`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 725`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 725`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1405`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1405`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 703`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 703`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1135`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1135`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 820`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 820`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1239`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1239`, `min_n = 13`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1346`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1346`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 820`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 820`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1143`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1143`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1179`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1179`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1024`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1024`, `min_n = 26`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 629`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 629`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1114`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1114`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1285`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1285`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 472`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 472`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1346`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1346`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1302`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1302`, `min_n = 17`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1264`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1264`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 856`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 856`, `min_n = 18`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 981`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 981`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1468`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1468`, `min_n = 26`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 968`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 968`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 694`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 694`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1395`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1395`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 913`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 913`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1285`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1285`, `min_n = 2`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1133`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1133`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 882`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 882`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 913`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 913`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1426`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1426`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1465`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1465`, `min_n = 8`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 937`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 937`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 542`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 542`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 618`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 618`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1020`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1020`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 638`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 638`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1063`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1063`, `min_n = 18`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 906`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 906`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 820`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 820`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 724`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 724`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 416`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 416`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1142`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1142`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1366`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1366`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 586`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 586`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 577`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 577`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 429`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 429`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 977`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 977`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1356`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1356`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 657`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 657`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 734`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 734`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1148`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1148`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 441`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 441`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1174`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1174`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 501`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 501`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1162`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1162`, `min_n = 18`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1024`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1024`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1160`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1160`, `min_n = 17`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 457`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 457`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1294`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1294`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 483`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 483`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 505`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 505`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1225`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1225`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 455`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 455`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 419`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 419`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1247`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1247`, `min_n = 17`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1428`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1428`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1136`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1136`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1157`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1157`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1115`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1115`, `min_n = 26`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 808`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 808`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1325`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1325`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 426`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 426`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 506`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 506`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 803`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 803`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 530`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 530`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 759`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 759`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 875`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 875`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 730`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 730`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 797`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 797`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 842`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 842`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1429`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1429`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 705`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 705`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1262`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1262`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 724`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 724`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1252`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1252`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1299`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1299`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 403`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 403`, `min_n = 8`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 581`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 581`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1184`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1184`, `min_n = 23`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 846`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 846`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1422`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1422`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 569`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 569`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1414`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1414`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 711`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 711`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 557`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 557`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 735`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 735`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1469`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1469`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 910`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 910`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1329`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1329`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 559`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 559`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1171`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1171`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 918`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 918`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1482`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1482`, `min_n = 17`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1255`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1255`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 639`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 639`, `min_n = 18`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1050`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1050`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 574`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 574`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 448`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 448`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1007`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1007`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 496`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 496`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 470`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 470`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 512`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 512`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 884`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 884`, `min_n = 23`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1133`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1133`, `min_n = 8`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 763`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 763`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 694`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 694`, `min_n = 18`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 912`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 912`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 749`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 749`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1167`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1167`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1492`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1492`, `min_n = 19`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1415`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1415`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1137`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1137`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1472`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1472`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 961`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 961`, `min_n = 17`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1442`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1442`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1183`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1183`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 759`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 759`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 551`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 551`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1077`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1077`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 796`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 796`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1094`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1094`, `min_n = 8`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 655`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 655`, `min_n = 26`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 711`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 711`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 875`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 875`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1257`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1257`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1427`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1427`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 782`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 782`, `min_n = 8`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 498`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 498`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 818`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 818`, `min_n = 23`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1194`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1194`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1284`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1284`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1039`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1039`, `min_n = 8`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 524`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 524`, `min_n = 23`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1435`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1435`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1279`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1279`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1285`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1285`, `min_n = 26`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 505`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 505`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 558`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 558`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1242`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1242`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1139`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1139`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 850`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 850`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 971`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 971`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 504`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 504`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1195`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1195`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1467`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1467`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 654`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 654`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 454`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 454`, `min_n = 26`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 935`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 935`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 637`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 637`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 536`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 536`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 853`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 853`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 828`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 828`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1184`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1184`, `min_n = 26`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 405`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 405`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1133`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1133`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 421`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 421`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1334`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1334`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 615`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 615`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 500`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 500`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1134`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1134`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 808`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 808`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1009`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1009`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 599`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 599`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 810`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 810`, `min_n = 23`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 496`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 496`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 764`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 764`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 830`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 830`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 461`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 461`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 712`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 712`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 684`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 684`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1178`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1178`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1336`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1336`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 793`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 793`, `min_n = 23`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1375`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1375`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 831`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 831`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 653`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 653`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1099`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1099`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 678`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 678`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 695`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 695`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 739`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 739`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1048`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1048`, `min_n = 8`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 877`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 877`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 512`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 512`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1341`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1341`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1150`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1150`, `min_n = 23`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 869`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 869`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1402`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1402`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1148`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1148`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1451`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1451`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1311`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1311`, `min_n = 19`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1478`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1478`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 420`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 420`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1129`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1129`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 475`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 475`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1184`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1184`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1025`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1025`, `min_n = 13`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 947`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 947`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 661`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 661`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 907`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 907`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 967`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 967`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 806`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 806`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 489`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 489`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1348`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1348`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 809`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 809`, `min_n = 13`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 989`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 989`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 611`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 611`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 951`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 951`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1387`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1387`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1312`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1312`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 509`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 509`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1332`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1332`, `min_n = 19`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1363`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1363`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1321`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1321`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 831`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 831`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1293`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1293`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 875`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 875`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 661`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 661`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1173`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1173`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1376`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1376`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1319`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1319`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 735`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 735`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1142`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1142`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1398`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1398`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 482`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 482`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1219`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1219`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1185`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1185`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1289`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1289`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 402`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 402`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 562`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 562`, `min_n = 8`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1000`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1000`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1367`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1367`, `min_n = 23`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1047`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1047`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 554`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 554`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1140`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1140`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1194`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1194`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 680`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 680`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 671`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 671`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1205`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1205`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 406`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 406`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 484`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 484`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1405`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1405`, `min_n = 13`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1172`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1172`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 422`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 422`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 731`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 731`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 611`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 611`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 696`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 696`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1493`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1493`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 454`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 454`, `min_n = 17`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 473`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 473`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 765`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 765`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 497`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 497`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 768`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 768`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 792`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 792`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 630`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 630`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 793`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 793`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1192`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1192`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1037`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1037`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1248`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1248`, `min_n = 26`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 843`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 843`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1416`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1416`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 889`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 889`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1113`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1113`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 671`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 671`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 585`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 585`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1419`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1419`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 500`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 500`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 460`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 460`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 853`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 853`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 733`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 733`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 868`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 868`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 743`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 743`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 622`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 622`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1056`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1056`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 756`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 756`, `min_n = 2`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 616`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 616`, `min_n = 8`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 673`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 673`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 818`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 818`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1263`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1263`, `min_n = 18`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 688`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 688`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 883`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 883`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1054`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1054`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 593`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 593`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1317`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1317`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1370`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1370`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 625`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 625`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 674`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 674`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 593`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 593`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1259`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1259`, `min_n = 2`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 448`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 448`, `min_n = 19`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 611`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 611`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1132`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1132`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 818`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 818`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1500`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1500`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 960`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 960`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 533`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 533`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 704`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 704`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 939`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 939`, `min_n = 19`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1106`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1106`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1021`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1021`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1496`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1496`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1286`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1286`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1369`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1369`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 886`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 886`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 416`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 416`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1298`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1298`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1402`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1402`, `min_n = 17`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1362`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1362`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1484`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1484`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1383`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1383`, `min_n = 17`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 908`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 908`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 463`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 463`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1208`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1208`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1436`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1436`, `min_n = 13`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1498`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1498`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1157`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1157`, `min_n = 18`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 955`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 955`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 696`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 696`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 954`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 954`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 752`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 752`, `min_n = 26`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 984`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 984`, `min_n = 18`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1450`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1450`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 731`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 731`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1022`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1022`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1195`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1195`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1233`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1233`, `min_n = 26`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1032`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1032`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1219`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1219`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1058`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1058`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1190`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1190`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 742`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 742`, `min_n = 2`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 466`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 466`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 424`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 424`, `min_n = 18`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1201`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1201`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 595`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 595`, `min_n = 26`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 646`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 646`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 959`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 959`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 734`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 734`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 733`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 733`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 771`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 771`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 533`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 533`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1161`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1161`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 606`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 606`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 520`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 520`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1133`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1133`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 906`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 906`, `min_n = 19`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 579`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 579`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1263`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1263`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1404`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1404`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1365`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1365`, `min_n = 17`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 517`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 517`, `min_n = 2`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1073`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1073`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 409`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 409`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 721`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 721`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 645`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 645`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1439`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1439`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1190`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1190`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1278`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1278`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 671`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 671`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1084`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1084`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1044`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1044`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 759`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 759`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 734`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 734`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 707`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 707`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1019`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1019`, `min_n = 8`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1425`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1425`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 650`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 650`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1386`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1386`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1375`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1375`, `min_n = 17`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1233`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1233`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 871`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 871`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 466`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 466`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 999`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 999`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 833`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 833`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 796`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 796`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 906`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 906`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 827`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 827`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1161`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1161`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 589`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 589`, `min_n = 19`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 624`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 624`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 639`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 639`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1032`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1032`, `min_n = 17`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 697`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 697`, `min_n = 13`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 622`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 622`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1364`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1364`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 845`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 845`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1255`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1255`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1108`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1108`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1291`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1291`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1292`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1292`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1200`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1200`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 893`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 893`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1214`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1214`, `min_n = 17`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 857`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 857`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 540`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 540`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 673`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 673`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1083`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1083`, `min_n = 26`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1266`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1266`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 520`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 520`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 710`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 710`, `min_n = 17`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1115`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1115`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 879`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 879`, `min_n = 8`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1226`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1226`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1111`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1111`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1382`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1382`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1354`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1354`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1168`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1168`, `min_n = 23`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 687`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 687`, `min_n = 13`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1218`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1218`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 601`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 601`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1368`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1368`, `min_n = 19`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 489`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 489`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1032`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1032`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 898`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 898`, `min_n = 13`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 967`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 967`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1105`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1105`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1059`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1059`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1144`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1144`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 430`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 430`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 712`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 712`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1373`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1373`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 433`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 433`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 493`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 493`, `min_n = 2`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1187`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1187`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1477`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1477`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1479`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1479`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 792`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 792`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 661`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 661`, `min_n = 2`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 779`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 779`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1454`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1454`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 655`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 655`, `min_n = 23`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1464`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1464`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 952`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 952`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1091`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1091`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1102`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1102`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1066`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1066`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1487`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1487`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 415`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 415`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1390`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1390`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 699`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 699`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1073`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1073`, `min_n = 19`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 469`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 469`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 806`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 806`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 411`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 411`, `min_n = 8`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1296`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1296`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1270`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1270`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1097`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1097`, `min_n = 18`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 914`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 914`, `min_n = 8`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1028`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1028`, `min_n = 26`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 522`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 522`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 559`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 559`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1263`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1263`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1135`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1135`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 577`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 577`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1300`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1300`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1302`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1302`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1400`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1400`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 679`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 679`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 591`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 591`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1354`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1354`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 958`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 958`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 928`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 928`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1030`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1030`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1407`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1407`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1380`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1380`, `min_n = 19`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1413`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1413`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 750`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 750`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 979`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 979`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 979`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 979`, `min_n = 18`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1422`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1422`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1462`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1462`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 922`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 922`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1165`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1165`, `min_n = 26`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 556`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 556`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1088`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1088`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1025`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1025`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 672`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 672`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1004`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1004`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 642`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 642`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 863`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 863`, `min_n = 26`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 410`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 410`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1484`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1484`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1486`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1486`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 613`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 613`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 840`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 840`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 434`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 434`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 742`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 742`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 573`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 573`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 410`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 410`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1009`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1009`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 789`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 789`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 958`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 958`, `min_n = 26`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 884`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 884`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 797`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 797`, `min_n = 19`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 654`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 654`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1164`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1164`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1436`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1436`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 673`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 673`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1305`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1305`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1142`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1142`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1114`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1114`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1347`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1347`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 560`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 560`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1244`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1244`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 609`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 609`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1029`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1029`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 456`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 456`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 406`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 406`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1290`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1290`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1193`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1193`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 553`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 553`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1376`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1376`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1002`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1002`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 894`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 894`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1431`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1431`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 684`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 684`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 878`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 878`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1011`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1011`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 979`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 979`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 975`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 975`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 973`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 973`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 698`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 698`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1040`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1040`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 430`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 430`, `min_n = 23`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 772`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 772`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 499`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 499`, `min_n = 17`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1173`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1173`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 913`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 913`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 598`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 598`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1429`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1429`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 849`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 849`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1101`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1101`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 496`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 496`, `min_n = 8`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 560`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 560`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 639`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 639`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1157`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1157`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1460`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1460`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1010`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1010`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1310`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1310`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1184`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1184`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 903`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 903`, `min_n = 17`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1175`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1175`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 690`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 690`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1057`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1057`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1379`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1379`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1049`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1049`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 532`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 532`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 620`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 620`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1039`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1039`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1437`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1437`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 835`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 835`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1237`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1237`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 549`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 549`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 965`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 965`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 744`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 744`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1261`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1261`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 829`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 829`, `min_n = 13`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 621`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 621`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1249`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1249`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 528`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 528`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1188`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1188`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 898`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 898`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1014`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1014`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1406`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1406`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1041`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1041`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1421`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1421`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 584`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 584`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 703`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 703`, `min_n = 13`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1260`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1260`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 513`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 513`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 687`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 687`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1181`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1181`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 691`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 691`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 890`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 890`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1194`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1194`, `min_n = 2`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1372`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1372`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 889`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 889`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1040`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1040`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 655`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 655`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1081`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1081`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1400`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1400`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 802`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 802`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 970`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 970`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1165`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1165`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 831`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 831`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 689`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 689`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1268`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1268`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 850`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 850`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1241`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1241`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 616`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 616`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1193`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1193`, `min_n = 13`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1214`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1214`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 694`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 694`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 769`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 769`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 457`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 457`, `min_n = 17`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 465`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 465`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1119`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1119`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1278`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1278`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1405`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1405`, `min_n = 23`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 882`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 882`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 941`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 941`, `min_n = 8`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 407`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 407`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 768`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 768`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 952`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 952`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 681`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 681`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 983`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 983`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1289`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1289`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1141`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1141`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 493`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 493`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1368`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1368`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1384`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1384`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 803`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 803`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1223`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1223`, `min_n = 8`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1280`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1280`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 971`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 971`, `min_n = 2`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1248`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1248`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1453`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1453`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 710`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 710`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 487`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 487`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 665`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 665`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 945`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 945`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1019`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1019`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1487`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1487`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1156`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1156`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 913`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 913`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1481`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1481`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1497`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1497`, `min_n = 13`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 459`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 459`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 562`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 562`, `min_n = 18`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1383`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1383`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 510`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 510`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1492`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1492`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 825`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 825`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 424`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 424`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 429`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 429`, `min_n = 13`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 948`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 948`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 668`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 668`, `min_n = 19`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 709`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 709`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1140`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1140`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1340`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1340`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 839`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 839`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1174`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1174`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 976`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 976`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 721`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 721`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1403`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1403`, `min_n = 13`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1437`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1437`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 461`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 461`, `min_n = 23`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1481`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1481`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1189`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1189`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1368`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1368`, `min_n = 8`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 908`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 908`, `min_n = 19`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 425`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 425`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1106`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1106`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 508`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 508`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 756`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 756`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 469`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 469`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1474`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1474`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1175`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1175`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 752`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 752`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1240`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1240`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1084`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1084`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1189`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1189`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 625`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 625`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1432`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1432`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 653`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 653`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1091`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1091`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 808`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 808`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 748`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 748`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 736`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 736`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 676`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 676`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 482`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 482`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1481`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1481`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 970`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 970`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1006`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1006`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 927`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 927`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 633`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 633`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1445`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1445`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 489`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 489`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 475`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 475`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1358`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1358`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1105`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1105`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1452`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1452`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 817`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 817`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1306`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1306`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1257`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1257`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 828`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 828`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 508`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 508`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 819`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 819`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 405`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 405`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1218`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1218`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 952`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 952`, `min_n = 18`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 948`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 948`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 879`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 879`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1240`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1240`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 626`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 626`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 774`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 774`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 419`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 419`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 593`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 593`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1081`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1081`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 967`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 967`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1317`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1317`, `min_n = 19`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1248`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1248`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 633`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 633`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1284`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1284`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 646`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 646`, `min_n = 17`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 883`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 883`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 538`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 538`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 473`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 473`, `min_n = 26`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1479`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1479`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 833`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 833`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1103`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1103`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 405`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 405`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1402`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1402`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1109`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1109`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1328`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1328`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1324`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1324`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1240`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1240`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 521`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 521`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 660`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 660`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 522`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 522`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 634`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 634`, `min_n = 8`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 499`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 499`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 555`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 555`, `min_n = 23`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 899`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 899`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1425`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1425`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 910`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 910`, `min_n = 23`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1376`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1376`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 537`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 537`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 609`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 609`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 469`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 469`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1395`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1395`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1238`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1238`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 971`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 971`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1134`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1134`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 823`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 823`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1050`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1050`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 789`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 789`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'.