There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 402`, `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 = 3`, `trees = 402`, `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 = 1234`, `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 = 3`, `trees = 1234`, `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 = 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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `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 = 2`, `trees = 1010`, `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 = 1010`, `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 = 693`, `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 = 3`, `trees = 693`, `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 = 1387`, `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 = 1387`, `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 = 1357`, `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 = 3`, `trees = 1357`, `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 = 576`, `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 = 3`, `trees = 576`, `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 = 1113`, `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 = 1113`, `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 = 1485`, `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 = 3`, `trees = 1485`, `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 = 1238`, `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 = 1238`, `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 = 998`, `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 = 998`, `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 = 660`, `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 = 660`, `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 = 879`, `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 = 879`, `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 = 939`, `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 = 939`, `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 = 560`, `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 = 560`, `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 = 1484`, `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 = 1484`, `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 = 1242`, `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 = 1242`, `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 = 1189`, `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 = 1189`, `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 = 610`, `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 = 610`, `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 = 603`, `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 = 603`, `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 = 649`, `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 = 3`, `trees = 649`, `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 = 599`, `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 = 599`, `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 = 852`, `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 = 3`, `trees = 852`, `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 = 1463`, `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 = 3`, `trees = 1463`, `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 = 623`, `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 = 623`, `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 = 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 = 1037`, `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 = 1282`, `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 = 1282`, `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 = 1354`, `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 = 1354`, `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 = 418`, `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 = 418`, `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 = 544`, `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 = 544`, `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 = 1094`, `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 = 1094`, `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 = 1329`, `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 = 1329`, `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 = 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 = 3`, `trees = 639`, `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 = 553`, `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 = 553`, `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 = 1319`, `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 = 3`, `trees = 1319`, `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 = 949`, `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 = 949`, `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 = 1133`, `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 = 1133`, `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 = 519`, `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 = 519`, `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 = 647`, `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 = 3`, `trees = 647`, `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 = 816`, `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 = 3`, `trees = 816`, `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 = 574`, `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 = 3`, `trees = 574`, `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 = 1099`, `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 = 3`, `trees = 1099`, `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 = 717`, `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 = 3`, `trees = 717`, `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 = 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 = 405`, `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 = 1251`, `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 = 1251`, `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 = 951`, `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 = 951`, `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 = 636`, `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 = 636`, `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 = 1336`, `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 = 3`, `trees = 1336`, `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 = 772`, `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 = 772`, `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 = 907`, `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 = 907`, `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 = 1050`, `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 = 1050`, `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 = 503`, `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 = 3`, `trees = 503`, `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 = 1370`, `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 = 3`, `trees = 1370`, `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 = 536`, `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 = 3`, `trees = 536`, `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 = 467`, `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 = 3`, `trees = 467`, `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 = 1207`, `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 = 3`, `trees = 1207`, `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 = 1216`, `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 = 3`, `trees = 1216`, `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 = 1438`, `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 = 1438`, `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 = 1208`, `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 = 1208`, `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 = 1110`, `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 = 1110`, `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 = 1174`, `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 = 3`, `trees = 1174`, `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 = 556`, `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 = 3`, `trees = 556`, `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 = 1063`, `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 = 3`, `trees = 1063`, `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 = 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 = 3`, `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 = 993`, `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 = 993`, `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 = 1076`, `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 = 1076`, `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 = 1473`, `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 = 1473`, `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 = 1226`, `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 = 3`, `trees = 1226`, `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 = 1327`, `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 = 1327`, `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 = 477`, `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 = 477`, `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 = 1169`, `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 = 1169`, `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 = 1360`, `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 = 1360`, `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 = 712`, `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 = 712`, `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 = 1341`, `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 = 1341`, `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 = 1208`, `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 = 3`, `trees = 1208`, `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 = 683`, `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 = 683`, `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 = 407`, `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 = 3`, `trees = 407`, `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 = 854`, `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 = 854`, `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 = 1126`, `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 = 3`, `trees = 1126`, `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 = 1203`, `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 = 1203`, `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 = 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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `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 = 3`, `trees = 665`, `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 = 3`, `trees = 665`, `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 = 1409`, `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 = 3`, `trees = 1409`, `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 = 1443`, `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 = 1443`, `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 = 802`, `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 = 802`, `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 = 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 = 3`, `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 = 758`, `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 = 758`, `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 = 931`, `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 = 931`, `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 = 472`, `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 = 3`, `trees = 472`, `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 = 1128`, `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 = 1128`, `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 = 1064`, `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 = 1064`, `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 = 1007`, `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 = 1007`, `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 = 1343`, `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 = 3`, `trees = 1343`, `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 = 576`, `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 = 3`, `trees = 576`, `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 = 833`, `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 = 3`, `trees = 833`, `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 = 898`, `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 = 3`, `trees = 898`, `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 = 623`, `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 = 3`, `trees = 623`, `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 = 1054`, `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 = 1054`, `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 = 829`, `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 = 3`, `trees = 829`, `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 = 705`, `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 = 705`, `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 = 1431`, `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 = 1431`, `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 = 1327`, `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 = 1327`, `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 = 1413`, `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 = 1413`, `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 = 1167`, `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 = 3`, `trees = 1167`, `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 = 602`, `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 = 602`, `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 = 1016`, `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 = 1016`, `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 = 695`, `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 = 3`, `trees = 695`, `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 = 1008`, `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 = 1008`, `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 = 968`, `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 = 968`, `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 = 1383`, `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 = 3`, `trees = 1383`, `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 = 743`, `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 = 743`, `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 = 1225`, `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 = 3`, `trees = 1225`, `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 = 1260`, `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 = 3`, `trees = 1260`, `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 = 1067`, `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 = 1067`, `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 = 598`, `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 = 3`, `trees = 598`, `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 = 706`, `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 = 3`, `trees = 706`, `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 = 1319`, `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 = 3`, `trees = 1319`, `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 = 411`, `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 = 411`, `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 = 928`, `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 = 3`, `trees = 928`, `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 = 1051`, `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 = 1051`, `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 = 897`, `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 = 897`, `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 = 1298`, `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 = 1298`, `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 = 1104`, `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 = 3`, `trees = 1104`, `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 = 785`, `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 = 785`, `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 = 760`, `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 = 3`, `trees = 760`, `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 = 997`, `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 = 997`, `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 = 1345`, `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 = 1345`, `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 = 838`, `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 = 3`, `trees = 838`, `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 = 887`, `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 = 887`, `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 = 756`, `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 = 3`, `trees = 756`, `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 = 579`, `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 = 579`, `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 = 940`, `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 = 3`, `trees = 940`, `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 = 903`, `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 = 903`, `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 = 1093`, `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 = 3`, `trees = 1093`, `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 = 1142`, `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 = 3`, `trees = 1142`, `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 = 857`, `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 = 857`, `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 = 832`, `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 = 3`, `trees = 832`, `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 = 1123`, `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 = 1123`, `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 = 1246`, `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 = 1246`, `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 = 1143`, `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 = 3`, `trees = 1143`, `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 = 1167`, `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 = 3`, `trees = 1167`, `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 = 1450`, `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 = 3`, `trees = 1450`, `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 = 988`, `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 = 988`, `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 = 492`, `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 = 492`, `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 = 1465`, `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 = 1465`, `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 = 1359`, `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 = 1359`, `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 = 766`, `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 = 3`, `trees = 766`, `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 = 983`, `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 = 983`, `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 = 1019`, `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 = 1019`, `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 = 436`, `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 = 436`, `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 = 1063`, `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 = 1063`, `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 = 1150`, `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 = 1150`, `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 = 536`, `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 = 536`, `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 = 460`, `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 = 3`, `trees = 460`, `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 = 1077`, `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 = 1077`, `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 = 974`, `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 = 3`, `trees = 974`, `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 = 697`, `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 = 697`, `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 = 434`, `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 = 434`, `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 = 433`, `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 = 3`, `trees = 433`, `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 = 1448`, `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 = 1448`, `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 = 1152`, `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 = 3`, `trees = 1152`, `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 = 1259`, `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 = 1259`, `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 = 716`, `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 = 716`, `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 = 899`, `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 = 899`, `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 = 1021`, `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 = 1021`, `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 = 1393`, `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 = 3`, `trees = 1393`, `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 = 1162`, `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 = 3`, `trees = 1162`, `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 = 808`, `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 = 3`, `trees = 808`, `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 = 993`, `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 = 993`, `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 = 558`, `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 = 558`, `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 = 1234`, `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 = 1234`, `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 = 1289`, `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 = 1289`, `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 = 629`, `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 = 3`, `trees = 629`, `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 = 612`, `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 = 3`, `trees = 612`, `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 = 1346`, `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 = 3`, `trees = 1346`, `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 = 1477`, `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 = 1477`, `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 = 977`, `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 = 3`, `trees = 977`, `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 = 1321`, `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 = 3`, `trees = 1321`, `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 = 1163`, `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 = 3`, `trees = 1163`, `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 = 1070`, `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 = 3`, `trees = 1070`, `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 = 513`, `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 = 513`, `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 = 829`, `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 = 829`, `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 = 576`, `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 = 3`, `trees = 576`, `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 = 560`, `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 = 560`, `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 = 1064`, `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 = 3`, `trees = 1064`, `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 = 743`, `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 = 743`, `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 = 563`, `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 = 3`, `trees = 563`, `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 = 1283`, `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 = 3`, `trees = 1283`, `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 = 470`, `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 = 470`, `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 = 1362`, `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 = 1362`, `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 = 1458`, `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 = 3`, `trees = 1458`, `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 = 576`, `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 = 576`, `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 = 619`, `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 = 3`, `trees = 619`, `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 = 1098`, `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 = 3`, `trees = 1098`, `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 = 902`, `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 = 3`, `trees = 902`, `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 = 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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 968`, `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 = 968`, `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 = 867`, `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 = 867`, `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 = 950`, `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 = 3`, `trees = 950`, `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 = 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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 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 = 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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 3`, `trees = 815`, `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 = 3`, `trees = 815`, `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 = 967`, `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 = 967`, `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 = 891`, `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 = 3`, `trees = 891`, `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 = 849`, `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 = 849`, `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 = 1061`, `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 = 3`, `trees = 1061`, `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 = 737`, `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 = 3`, `trees = 737`, `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 = 663`, `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 = 3`, `trees = 663`, `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 = 1149`, `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 = 1149`, `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 = 1444`, `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 = 3`, `trees = 1444`, `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 = 1316`, `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 = 3`, `trees = 1316`, `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 = 436`, `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 = 436`, `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 = 1488`, `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 = 1488`, `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 = 539`, `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 = 539`, `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 = 544`, `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 = 3`, `trees = 544`, `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 = 924`, `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 = 3`, `trees = 924`, `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 = 803`, `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 = 3`, `trees = 803`, `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 = 1477`, `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 = 3`, `trees = 1477`, `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 = 1478`, `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 = 3`, `trees = 1478`, `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 = 605`, `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 = 3`, `trees = 605`, `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 = 1446`, `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 = 3`, `trees = 1446`, `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 = 1455`, `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 = 1455`, `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 = 975`, `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 = 3`, `trees = 975`, `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 = 507`, `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 = 3`, `trees = 507`, `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 = 763`, `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 = 3`, `trees = 763`, `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 = 703`, `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 = 703`, `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 = 1179`, `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 = 3`, `trees = 1179`, `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 = 1084`, `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 = 1084`, `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 = 1196`, `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 = 3`, `trees = 1196`, `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 = 1165`, `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 = 1165`, `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 = 819`, `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 = 819`, `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 = 1279`, `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 = 1279`, `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 = 889`, `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 = 3`, `trees = 889`, `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 = 405`, `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 = 3`, `trees = 405`, `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 = 1346`, `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 = 3`, `trees = 1346`, `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 = 755`, `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 = 755`, `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 = 1102`, `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 = 1102`, `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 = 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 = 3`, `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 = 790`, `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 = 790`, `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 = 1228`, `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 = 3`, `trees = 1228`, `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 = 782`, `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 = 3`, `trees = 782`, `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 = 1446`, `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 = 1446`, `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 = 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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 3`, `trees = 1077`, `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 = 3`, `trees = 1077`, `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 = 1187`, `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 = 1187`, `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 = 864`, `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 = 864`, `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 = 507`, `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 = 507`, `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 = 1092`, `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 = 1092`, `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 = 733`, `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 = 733`, `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 = 966`, `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 = 966`, `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 = 1153`, `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 = 1153`, `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 = 740`, `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 = 740`, `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 = 432`, `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 = 432`, `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 = 1200`, `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 = 1200`, `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 = 472`, `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 = 472`, `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 = 1364`, `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 = 3`, `trees = 1364`, `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 = 858`, `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 = 3`, `trees = 858`, `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 = 1329`, `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 = 3`, `trees = 1329`, `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 = 1226`, `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 = 1226`, `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 = 1500`, `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 = 1500`, `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 = 1490`, `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 = 1490`, `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 = 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 = 1341`, `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 = 1217`, `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 = 1217`, `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 = 870`, `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 = 3`, `trees = 870`, `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 = 754`, `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 = 754`, `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 = 577`, `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 = 577`, `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 = 760`, `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 = 3`, `trees = 760`, `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 = 1421`, `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 = 1421`, `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 = 460`, `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 = 460`, `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 = 521`, `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 = 521`, `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 = 1453`, `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 = 1453`, `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 = 1261`, `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 = 1261`, `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 = 1444`, `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 = 1444`, `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 = 568`, `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 = 568`, `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 = 642`, `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 = 3`, `trees = 642`, `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 = 1076`, `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 = 1076`, `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 = 1275`, `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 = 1275`, `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 = 1117`, `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 = 3`, `trees = 1117`, `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 = 1276`, `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 = 3`, `trees = 1276`, `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 = 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 = 3`, `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 = 2`, `trees = 896`, `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 = 896`, `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 = 825`, `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 = 3`, `trees = 825`, `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 = 551`, `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 = 3`, `trees = 551`, `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 = 859`, `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 = 859`, `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 = 1403`, `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 = 1403`, `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 = 883`, `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 = 3`, `trees = 883`, `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 = 841`, `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 = 841`, `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 = 1454`, `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 = 1454`, `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 = 1331`, `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 = 1331`, `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 = 606`, `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 = 3`, `trees = 606`, `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 = 1306`, `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 = 1306`, `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 = 947`, `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 = 947`, `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 = 1446`, `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 = 1446`, `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 = 1113`, `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 = 1113`, `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 = 1245`, `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 = 1245`, `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 = 1137`, `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 = 1137`, `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 = 1482`, `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 = 3`, `trees = 1482`, `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 = 599`, `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 = 3`, `trees = 599`, `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 = 717`, `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 = 3`, `trees = 717`, `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 = 774`, `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 = 3`, `trees = 774`, `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 = 554`, `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 = 554`, `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 = 1274`, `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 = 1274`, `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 = 856`, `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 = 3`, `trees = 856`, `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 = 949`, `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 = 3`, `trees = 949`, `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 = 598`, `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 = 598`, `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 = 882`, `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 = 3`, `trees = 882`, `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 = 848`, `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 = 848`, `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 = 648`, `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 = 648`, `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 = 1209`, `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 = 1209`, `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 = 521`, `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 = 521`, `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 = 1088`, `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 = 3`, `trees = 1088`, `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 = 1340`, `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 = 1340`, `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 = 917`, `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 = 3`, `trees = 917`, `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 = 1249`, `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 = 1249`, `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 = 1171`, `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 = 1171`, `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 = 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 = 3`, `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 = 3`, `trees = 1173`, `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 = 1173`, `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 = 1483`, `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 = 3`, `trees = 1483`, `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 = 758`, `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 = 3`, `trees = 758`, `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 = 1153`, `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 = 1153`, `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 = 444`, `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 = 3`, `trees = 444`, `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 = 608`, `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 = 608`, `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 = 1049`, `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 = 1049`, `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 = 1334`, `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 = 1334`, `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 = 946`, `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 = 946`, `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 = 1120`, `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 = 3`, `trees = 1120`, `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 = 596`, `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 = 596`, `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 = 1133`, `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 = 1133`, `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 = 1476`, `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 = 1476`, `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 = 1291`, `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 = 1291`, `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 = 1164`, `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 = 1164`, `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 = 1020`, `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 = 3`, `trees = 1020`, `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 = 853`, `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 = 3`, `trees = 853`, `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 = 1306`, `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 = 3`, `trees = 1306`, `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 = 1192`, `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 = 1192`, `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 = 1345`, `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 = 1345`, `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 = 570`, `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 = 3`, `trees = 570`, `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 = 608`, `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 = 608`, `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 = 1096`, `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 = 3`, `trees = 1096`, `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 = 475`, `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 = 475`, `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 = 1064`, `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 = 1064`, `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 = 1264`, `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 = 1264`, `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 = 640`, `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 = 3`, `trees = 640`, `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 = 1342`, `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 = 3`, `trees = 1342`, `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 = 1305`, `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 = 1305`, `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 = 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 = 1382`, `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 = 624`, `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 = 624`, `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 = 1053`, `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 = 1053`, `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 = 1324`, `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 = 3`, `trees = 1324`, `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 = 1223`, `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 = 1223`, `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 = 1447`, `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 = 3`, `trees = 1447`, `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 = 1017`, `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 = 1017`, `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 = 1389`, `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 = 1389`, `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 = 1139`, `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 = 1139`, `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 = 493`, `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 = 493`, `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 = 1025`, `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 = 1025`, `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 = 735`, `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 = 735`, `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 = 734`, `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 = 734`, `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 = 804`, `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 = 804`, `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 = 916`, `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 = 916`, `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 = 424`, `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 = 424`, `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 = 615`, `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 = 615`, `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 = 924`, `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 = 924`, `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 = 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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 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 = 1159`, `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 = 3`, `trees = 1159`, `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 = 1203`, `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 = 3`, `trees = 1203`, `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 = 468`, `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 = 3`, `trees = 468`, `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 = 952`, `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 = 3`, `trees = 952`, `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 = 1043`, `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 = 3`, `trees = 1043`, `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 = 1343`, `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 = 1343`, `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 = 663`, `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 = 3`, `trees = 663`, `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 = 931`, `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 = 931`, `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 = 782`, `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 = 782`, `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 = 695`, `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 = 695`, `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 = 435`, `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 = 3`, `trees = 435`, `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 = 1497`, `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 = 1497`, `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 = 1100`, `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 = 1100`, `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 = 525`, `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 = 3`, `trees = 525`, `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 = 726`, `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 = 726`, `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 = 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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 3`, `trees = 526`, `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 = 3`, `trees = 526`, `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 = 685`, `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 = 685`, `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 = 873`, `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 = 873`, `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 = 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 = 1048`, `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 = 524`, `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 = 524`, `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 = 1225`, `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 = 1225`, `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 = 1041`, `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 = 1041`, `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 = 647`, `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 = 3`, `trees = 647`, `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 = 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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 2`, `trees = 946`, `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 = 946`, `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 = 899`, `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 = 3`, `trees = 899`, `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 = 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 = 962`, `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 = 440`, `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 = 3`, `trees = 440`, `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 = 809`, `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 = 809`, `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 = 958`, `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 = 958`, `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 = 526`, `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 = 526`, `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 = 1088`, `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 = 3`, `trees = 1088`, `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 = 1454`, `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 = 1454`, `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 = 1485`, `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 = 3`, `trees = 1485`, `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 = 707`, `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 = 707`, `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 = 1318`, `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 = 3`, `trees = 1318`, `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 = 1460`, `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 = 1460`, `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 = 573`, `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 = 3`, `trees = 573`, `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 = 1084`, `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 = 3`, `trees = 1084`, `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 = 1478`, `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 = 1478`, `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 = 1102`, `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 = 3`, `trees = 1102`, `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 = 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 = 3`, `trees = 1448`, `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 = 3`, `trees = 1448`, `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 = 1414`, `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 = 1414`, `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 = 758`, `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 = 758`, `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 = 413`, `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 = 413`, `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 = 555`, `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 = 555`, `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 = 1297`, `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 = 1297`, `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 = 1072`, `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 = 3`, `trees = 1072`, `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 = 1233`, `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 = 1233`, `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 = 578`, `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 = 3`, `trees = 578`, `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 = 847`, `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 = 3`, `trees = 847`, `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 = 1100`, `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 = 1100`, `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 = 793`, `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 = 3`, `trees = 793`, `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 = 588`, `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 = 3`, `trees = 588`, `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 = 1326`, `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 = 1326`, `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 = 599`, `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 = 599`, `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 = 1213`, `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 = 3`, `trees = 1213`, `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 = 645`, `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 = 645`, `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 = 996`, `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 = 3`, `trees = 996`, `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 = 1373`, `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 = 1373`, `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 = 1016`, `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 = 3`, `trees = 1016`, `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 = 838`, `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 = 3`, `trees = 838`, `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 = 867`, `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 = 867`, `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 = 1209`, `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 = 1209`, `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 = 764`, `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 = 764`, `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 = 1095`, `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 = 1095`, `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 = 1084`, `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 = 1084`, `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 = 869`, `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 = 3`, `trees = 869`, `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 = 1115`, `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 = 1115`, `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 = 845`, `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 = 845`, `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 = 732`, `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 = 732`, `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 = 1136`, `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 = 1136`, `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 = 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 = 3`, `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 = 3`, `trees = 584`, `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 = 3`, `trees = 584`, `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 = 1063`, `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 = 1063`, `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 = 445`, `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 = 3`, `trees = 445`, `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 = 620`, `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 = 620`, `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 = 1254`, `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 = 1254`, `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 = 711`, `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 = 3`, `trees = 711`, `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 = 1244`, `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 = 1244`, `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 = 825`, `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 = 825`, `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 = 618`, `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 = 618`, `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 = 445`, `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 = 445`, `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 = 439`, `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 = 439`, `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 = 814`, `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 = 814`, `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 = 1425`, `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 = 1425`, `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 = 1206`, `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 = 1206`, `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 = 461`, `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 = 461`, `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 = 970`, `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 = 3`, `trees = 970`, `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 = 624`, `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 = 624`, `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 = 594`, `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 = 3`, `trees = 594`, `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 = 988`, `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 = 3`, `trees = 988`, `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 = 638`, `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 = 638`, `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 = 739`, `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 = 739`, `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 = 467`, `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 = 3`, `trees = 467`, `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 = 1495`, `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 = 3`, `trees = 1495`, `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 = 815`, `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 = 3`, `trees = 815`, `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 = 1496`, `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 = 3`, `trees = 1496`, `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 = 1414`, `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 = 3`, `trees = 1414`, `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 = 1413`, `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 = 1413`, `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 = 976`, `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 = 3`, `trees = 976`, `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 = 792`, `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 = 3`, `trees = 792`, `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 = 1065`, `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 = 1065`, `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 = 1202`, `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 = 3`, `trees = 1202`, `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 = 1204`, `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 = 1204`, `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 = 1263`, `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 = 1263`, `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 = 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 = 3`, `trees = 528`, `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 = 3`, `trees = 528`, `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 = 824`, `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 = 3`, `trees = 824`, `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 = 1030`, `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 = 1030`, `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 = 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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `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 = 1444`, `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 = 1444`, `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 = 723`, `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 = 723`, `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 = 1065`, `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 = 3`, `trees = 1065`, `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 = 880`, `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 = 3`, `trees = 880`, `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 = 694`, `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 = 694`, `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 = 699`, `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 = 699`, `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 = 900`, `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 = 900`, `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 = 531`, `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 = 531`, `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 = 426`, `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 = 426`, `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 = 645`, `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 = 645`, `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 = 850`, `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 = 3`, `trees = 850`, `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 = 541`, `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 = 3`, `trees = 541`, `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 = 1488`, `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 = 1488`, `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 = 1399`, `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 = 1399`, `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 = 1210`, `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 = 3`, `trees = 1210`, `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 = 1437`, `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 = 1437`, `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 = 1240`, `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 = 3`, `trees = 1240`, `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 = 918`, `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 = 3`, `trees = 918`, `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 = 738`, `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 = 3`, `trees = 738`, `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 = 598`, `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 = 3`, `trees = 598`, `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 = 994`, `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 = 994`, `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 = 497`, `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 = 3`, `trees = 497`, `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 = 1414`, `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 = 3`, `trees = 1414`, `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 = 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 = 3`, `trees = 530`, `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 = 1000`, `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 = 1000`, `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 = 610`, `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 = 610`, `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 = 1148`, `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 = 1148`, `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 = 1420`, `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 = 1420`, `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 = 824`, `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 = 824`, `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 = 1256`, `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 = 1256`, `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 = 647`, `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 = 647`, `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 = 721`, `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 = 721`, `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 = 930`, `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 = 930`, `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 = 1305`, `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 = 1305`, `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 = 573`, `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 = 573`, `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 = 813`, `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 = 813`, `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 = 1116`, `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 = 3`, `trees = 1116`, `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 = 787`, `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 = 787`, `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 = 730`, `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 = 730`, `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 = 989`, `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 = 3`, `trees = 989`, `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 = 565`, `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 = 565`, `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 = 750`, `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 = 750`, `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 = 489`, `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 = 489`, `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 = 821`, `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 = 821`, `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 = 652`, `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 = 3`, `trees = 652`, `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 = 1294`, `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 = 3`, `trees = 1294`, `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 = 1312`, `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 = 1312`, `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 = 1281`, `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 = 1281`, `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 = 647`, `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 = 3`, `trees = 647`, `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 = 475`, `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 = 475`, `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 = 1425`, `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 = 1425`, `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 = 1347`, `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 = 1347`, `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 = 421`, `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 = 421`, `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 = 1158`, `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 = 3`, `trees = 1158`, `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 = 1361`, `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 = 1361`, `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 = 1428`, `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 = 3`, `trees = 1428`, `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 = 1134`, `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 = 1134`, `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 = 448`, `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 = 448`, `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 = 597`, `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 = 3`, `trees = 597`, `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 = 551`, `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 = 3`, `trees = 551`, `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 = 530`, `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 = 530`, `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 = 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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `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 = 3`, `trees = 1385`, `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 = 3`, `trees = 1385`, `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 = 938`, `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 = 3`, `trees = 938`, `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 = 781`, `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 = 781`, `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 = 1481`, `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 = 1481`, `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 = 782`, `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 = 782`, `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 = 952`, `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 = 952`, `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 = 1077`, `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 = 1077`, `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 = 730`, `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 = 730`, `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 = 1023`, `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 = 3`, `trees = 1023`, `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 = 792`, `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 = 792`, `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 = 1032`, `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 = 1032`, `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 = 825`, `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 = 3`, `trees = 825`, `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 = 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 = 3`, `trees = 669`, `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 = 1368`, `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 = 1368`, `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 = 991`, `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 = 3`, `trees = 991`, `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 = 694`, `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 = 3`, `trees = 694`, `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 = 660`, `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 = 660`, `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 = 539`, `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 = 539`, `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 = 1477`, `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 = 1477`, `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 = 911`, `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 = 911`, `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 = 821`, `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 = 821`, `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 = 1089`, `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 = 1089`, `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 = 777`, `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 = 3`, `trees = 777`, `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 = 976`, `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 = 976`, `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 = 1328`, `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 = 1328`, `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 = 1185`, `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 = 3`, `trees = 1185`, `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 = 1454`, `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 = 1454`, `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 = 700`, `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 = 3`, `trees = 700`, `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 = 1070`, `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 = 3`, `trees = 1070`, `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 = 762`, `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 = 762`, `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 = 1493`, `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 = 1493`, `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 = 923`, `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 = 3`, `trees = 923`, `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 = 1325`, `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 = 3`, `trees = 1325`, `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 = 1323`, `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 = 1323`, `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 = 555`, `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 = 555`, `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 = 547`, `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 = 547`, `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 = 785`, `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 = 3`, `trees = 785`, `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 = 1085`, `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 = 3`, `trees = 1085`, `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 = 653`, `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 = 3`, `trees = 653`, `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 = 1073`, `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 = 3`, `trees = 1073`, `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 = 506`, `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 = 3`, `trees = 506`, `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 = 848`, `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 = 848`, `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 = 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 = 1092`, `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 = 1092`, `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 = 972`, `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 = 3`, `trees = 972`, `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 = 674`, `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 = 674`, `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 = 1107`, `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 = 1107`, `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 = 1031`, `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 = 3`, `trees = 1031`, `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 = 1260`, `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 = 3`, `trees = 1260`, `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 = 1127`, `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 = 1127`, `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 = 404`, `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 = 404`, `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 = 1352`, `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 = 3`, `trees = 1352`, `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 = 932`, `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 = 932`, `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 = 418`, `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 = 418`, `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 = 997`, `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 = 997`, `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 = 939`, `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 = 3`, `trees = 939`, `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 = 1236`, `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 = 1236`, `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 = 1472`, `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 = 1472`, `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 = 1297`, `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 = 1297`, `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 = 1491`, `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 = 3`, `trees = 1491`, `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 = 819`, `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 = 819`, `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 = 807`, `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 = 807`, `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 = 515`, `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 = 3`, `trees = 515`, `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 = 659`, `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 = 659`, `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 = 862`, `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 = 862`, `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 = 434`, `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 = 434`, `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 = 1106`, `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 = 1106`, `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 = 435`, `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 = 435`, `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 = 897`, `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 = 897`, `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 = 1274`, `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 = 1274`, `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 = 1007`, `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 = 3`, `trees = 1007`, `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 = 834`, `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 = 834`, `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 = 688`, `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 = 688`, `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 = 1362`, `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 = 1362`, `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 = 1092`, `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 = 1092`, `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 = 1081`, `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 = 1081`, `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 = 1003`, `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 = 1003`, `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 = 691`, `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 = 691`, `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 = 611`, `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 = 611`, `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 = 1238`, `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 = 1238`, `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 = 1188`, `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 = 3`, `trees = 1188`, `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 = 1002`, `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 = 1002`, `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 = 773`, `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 = 773`, `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 = 1064`, `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 = 3`, `trees = 1064`, `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 = 457`, `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 = 3`, `trees = 457`, `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 = 485`, `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 = 3`, `trees = 485`, `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 = 715`, `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 = 3`, `trees = 715`, `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 = 1044`, `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 = 3`, `trees = 1044`, `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 = 1444`, `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 = 3`, `trees = 1444`, `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 = 1217`, `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 = 1217`, `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 = 990`, `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 = 990`, `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 = 1419`, `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 = 3`, `trees = 1419`, `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 = 516`, `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 = 3`, `trees = 516`, `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 = 1239`, `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 = 1239`, `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 = 1062`, `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 = 1062`, `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 = 1061`, `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 = 3`, `trees = 1061`, `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 = 995`, `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 = 3`, `trees = 995`, `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 = 1218`, `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 = 1218`, `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 = 781`, `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 = 3`, `trees = 781`, `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 = 1287`, `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 = 3`, `trees = 1287`, `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 = 504`, `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 = 3`, `trees = 504`, `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 = 813`, `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 = 3`, `trees = 813`, `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 = 541`, `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 = 3`, `trees = 541`, `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 = 1218`, `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 = 1218`, `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 = 989`, `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 = 989`, `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 = 574`, `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 = 3`, `trees = 574`, `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 = 613`, `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 = 3`, `trees = 613`, `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 = 832`, `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 = 832`, `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 = 1057`, `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 = 1057`, `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 = 408`, `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 = 3`, `trees = 408`, `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 = 606`, `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 = 606`, `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 = 421`, `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 = 421`, `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 = 1000`, `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 = 1000`, `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 = 1118`, `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 = 1118`, `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 = 1067`, `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 = 1067`, `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 = 427`, `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 = 427`, `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 = 915`, `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 = 915`, `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 = 988`, `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 = 3`, `trees = 988`, `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 = 1493`, `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 = 3`, `trees = 1493`, `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 = 929`, `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 = 3`, `trees = 929`, `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 = 880`, `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 = 3`, `trees = 880`, `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 = 508`, `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 = 508`, `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 = 1288`, `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 = 3`, `trees = 1288`, `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 = 1306`, `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 = 1306`, `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 = 819`, `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 = 819`, `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 = 584`, `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 = 584`, `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 = 939`, `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 = 939`, `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 = 981`, `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 = 981`, `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 = 1181`, `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 = 1181`, `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 = 875`, `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 = 875`, `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 = 520`, `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 = 3`, `trees = 520`, `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 = 447`, `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 = 3`, `trees = 447`, `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 = 1394`, `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 = 3`, `trees = 1394`, `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 = 1046`, `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 = 3`, `trees = 1046`, `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 = 1415`, `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 = 1415`, `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 = 978`, `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 = 978`, `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 = 1374`, `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 = 1374`, `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 = 1419`, `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 = 1419`, `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 = 1067`, `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 = 1067`, `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 = 849`, `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 = 3`, `trees = 849`, `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 = 1334`, `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 = 3`, `trees = 1334`, `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 = 495`, `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 = 495`, `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 = 516`, `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 = 516`, `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 = 776`, `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 = 3`, `trees = 776`, `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 = 1225`, `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 = 3`, `trees = 1225`, `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 = 1155`, `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 = 1155`, `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 = 1209`, `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 = 3`, `trees = 1209`, `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 = 1459`, `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 = 3`, `trees = 1459`, `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 = 1272`, `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 = 1272`, `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 = 688`, `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 = 3`, `trees = 688`, `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 = 991`, `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 = 991`, `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 = 768`, `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 = 3`, `trees = 768`, `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 = 712`, `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 = 712`, `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 = 811`, `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 = 811`, `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 = 729`, `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 = 3`, `trees = 729`, `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 = 1344`, `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 = 1344`, `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 = 557`, `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 = 557`, `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 = 512`, `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 = 512`, `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 = 906`, `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 = 3`, `trees = 906`, `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 = 626`, `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 = 626`, `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 = 1333`, `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 = 3`, `trees = 1333`, `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 = 1156`, `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 = 3`, `trees = 1156`, `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 = 1343`, `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 = 1343`, `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 = 1078`, `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 = 1078`, `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 = 1121`, `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 = 1121`, `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 = 851`, `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 = 3`, `trees = 851`, `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 = 862`, `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 = 3`, `trees = 862`, `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 = 998`, `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 = 998`, `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 = 541`, `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 = 541`, `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 = 701`, `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 = 701`, `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 = 863`, `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 = 3`, `trees = 863`, `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 = 688`, `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 = 688`, `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 = 493`, `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 = 3`, `trees = 493`, `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 = 919`, `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 = 3`, `trees = 919`, `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 = 1091`, `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 = 3`, `trees = 1091`, `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 = 767`, `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 = 3`, `trees = 767`, `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 = 863`, `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 = 3`, `trees = 863`, `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 = 1252`, `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 = 1252`, `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 = 594`, `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 = 594`, `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 = 594`, `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 = 3`, `trees = 594`, `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 = 1356`, `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 = 3`, `trees = 1356`, `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 = 681`, `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 = 3`, `trees = 681`, `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 = 1155`, `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 = 3`, `trees = 1155`, `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 = 604`, `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 = 3`, `trees = 604`, `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 = 980`, `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 = 3`, `trees = 980`, `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 = 1479`, `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 = 3`, `trees = 1479`, `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 = 1498`, `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 = 1498`, `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 = 426`, `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 = 3`, `trees = 426`, `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 = 978`, `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 = 978`, `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 = 544`, `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 = 544`, `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 = 450`, `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 = 450`, `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 = 989`, `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 = 989`, `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 = 583`, `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 = 3`, `trees = 583`, `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 = 675`, `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 = 675`, `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 = 1316`, `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 = 1316`, `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 = 1493`, `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 = 1493`, `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 = 1443`, `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 = 3`, `trees = 1443`, `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 = 590`, `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 = 590`, `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 = 1078`, `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 = 1078`, `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 = 1064`, `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 = 1064`, `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 = 808`, `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 = 808`, `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 = 538`, `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 = 3`, `trees = 538`, `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 = 1118`, `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 = 1118`, `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 = 1448`, `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 = 3`, `trees = 1448`, `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 = 755`, `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 = 3`, `trees = 755`, `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 = 1002`, `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 = 3`, `trees = 1002`, `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 = 1182`, `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 = 3`, `trees = 1182`, `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 = 414`, `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 = 3`, `trees = 414`, `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 = 864`, `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 = 3`, `trees = 864`, `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 = 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 = 2`, `trees = 1210`, `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 = 1210`, `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 = 1227`, `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 = 3`, `trees = 1227`, `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 = 605`, `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 = 605`, `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 = 894`, `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 = 894`, `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 = 1415`, `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 = 3`, `trees = 1415`, `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 = 791`, `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 = 3`, `trees = 791`, `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 = 813`, `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 = 813`, `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 = 1177`, `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 = 1177`, `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 = 1324`, `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 = 1324`, `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 = 462`, `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 = 462`, `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 = 1245`, `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 = 3`, `trees = 1245`, `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 = 577`, `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 = 3`, `trees = 577`, `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 = 1352`, `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 = 1352`, `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 = 866`, `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 = 866`, `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 = 697`, `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 = 697`, `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 = 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 = 3`, `trees = 1132`, `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 = 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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 2`, `trees = 528`, `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 = 528`, `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 = 623`, `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 = 3`, `trees = 623`, `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 = 1299`, `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 = 1299`, `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 = 1384`, `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 = 1384`, `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 = 421`, `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 = 421`, `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 = 1029`, `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 = 1029`, `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 = 567`, `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 = 567`, `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 = 1164`, `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 = 3`, `trees = 1164`, `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 = 1338`, `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 = 1338`, `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 = 644`, `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 = 644`, `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 = 523`, `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 = 3`, `trees = 523`, `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 = 673`, `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 = 673`, `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 = 885`, `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 = 885`, `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 = 1294`, `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 = 1294`, `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 = 469`, `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 = 469`, `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 = 800`, `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 = 3`, `trees = 800`, `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 = 1450`, `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 = 1450`, `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 = 998`, `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 = 998`, `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 = 556`, `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 = 556`, `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 = 550`, `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 = 550`, `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 = 905`, `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 = 3`, `trees = 905`, `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 = 603`, `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 = 603`, `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 = 1214`, `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 = 3`, `trees = 1214`, `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 = 1469`, `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 = 3`, `trees = 1469`, `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 = 720`, `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 = 3`, `trees = 720`, `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 = 839`, `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 = 3`, `trees = 839`, `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 = 891`, `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 = 891`, `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 = 730`, `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 = 730`, `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 = 423`, `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 = 423`, `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 = 966`, `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 = 3`, `trees = 966`, `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 = 1445`, `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 = 3`, `trees = 1445`, `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 = 1331`, `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 = 1331`, `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 = 1476`, `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 = 1476`, `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 = 1073`, `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 = 3`, `trees = 1073`, `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 = 853`, `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 = 3`, `trees = 853`, `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 = 730`, `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 = 730`, `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 = 655`, `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 = 3`, `trees = 655`, `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 = 1460`, `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 = 1460`, `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 = 1133`, `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 = 1133`, `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 = 525`, `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 = 525`, `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 = 512`, `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 = 512`, `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 = 1274`, `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 = 1274`, `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 = 596`, `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 = 3`, `trees = 596`, `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 = 1278`, `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 = 3`, `trees = 1278`, `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 = 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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `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 = 3`, `trees = 972`, `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 = 3`, `trees = 972`, `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 = 1394`, `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 = 1394`, `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 = 982`, `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 = 982`, `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 = 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 = 3`, `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 = 401`, `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 = 3`, `trees = 401`, `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 = 1153`, `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 = 3`, `trees = 1153`, `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 = 1415`, `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 = 1415`, `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 = 707`, `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 = 3`, `trees = 707`, `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 = 458`, `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 = 3`, `trees = 458`, `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 = 1417`, `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 = 3`, `trees = 1417`, `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 = 404`, `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 = 3`, `trees = 404`, `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 = 628`, `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 = 628`, `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 = 534`, `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 = 3`, `trees = 534`, `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 = 411`, `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 = 411`, `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 = 1123`, `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 = 1123`, `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 = 912`, `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 = 3`, `trees = 912`, `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 = 1234`, `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 = 1234`, `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 = 835`, `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 = 835`, `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 = 1488`, `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 = 3`, `trees = 1488`, `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 = 972`, `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 = 972`, `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 = 821`, `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 = 3`, `trees = 821`, `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 = 1013`, `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 = 3`, `trees = 1013`, `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 = 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 = 3`, `trees = 1419`, `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 = 1365`, `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 = 1365`, `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 = 1139`, `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 = 1139`, `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 = 561`, `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 = 2`, `trees = 561`, `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 = 945`, `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 = 945`, `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 = 1023`, `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 = 1023`, `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 = 439`, `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 = 439`, `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 = 479`, `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 = 479`, `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 = 1183`, `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 = 3`, `trees = 1183`, `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 = 1346`, `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 = 3`, `trees = 1346`, `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 = 841`, `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 = 3`, `trees = 841`, `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 = 1364`, `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 = 1364`, `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 = 709`, `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 = 3`, `trees = 709`, `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 = 1139`, `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 = 3`, `trees = 1139`, `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 = 1117`, `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 = 3`, `trees = 1117`, `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 = 1142`, `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 = 3`, `trees = 1142`, `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 = 1342`, `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 = 1342`, `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 = 438`, `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 = 3`, `trees = 438`, `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 = 1256`, `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 = 3`, `trees = 1256`, `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 = 1372`, `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 = 1372`, `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 = 1442`, `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 = 1442`, `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 = 1196`, `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 = 3`, `trees = 1196`, `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 = 881`, `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 = 881`, `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 = 1497`, `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 = 1497`, `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 = 1411`, `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 = 1411`, `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 = 448`, `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 = 448`, `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 = 1500`, `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 = 1500`, `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 = 1078`, `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 = 1078`, `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 = 620`, `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 = 3`, `trees = 620`, `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 = 1124`, `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 = 3`, `trees = 1124`, `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 = 1381`, `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 = 1381`, `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 = 800`, `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 = 800`, `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 = 1127`, `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 = 3`, `trees = 1127`, `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 = 647`, `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 = 647`, `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 = 1393`, `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 = 3`, `trees = 1393`, `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 = 693`, `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 = 693`, `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 = 590`, `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 = 3`, `trees = 590`, `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 = 962`, `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 = 3`, `trees = 962`, `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 = 1178`, `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 = 1178`, `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 = 1014`, `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 = 3`, `trees = 1014`, `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 = 1223`, `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 = 3`, `trees = 1223`, `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 = 1465`, `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 = 1465`, `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 = 785`, `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 = 785`, `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 = 477`, `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 = 3`, `trees = 477`, `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 = 792`, `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 = 3`, `trees = 792`, `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 = 1282`, `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 = 1282`, `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 = 455`, `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 = 455`, `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 = 445`, `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 = 3`, `trees = 445`, `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 = 821`, `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 = 821`, `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 = 429`, `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 = 429`, `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 = 501`, `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 = 3`, `trees = 501`, `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 = 1094`, `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 = 1094`, `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 = 1049`, `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 = 1049`, `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 = 521`, `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 = 521`, `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 = 607`, `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 = 607`, `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 = 1266`, `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 = 3`, `trees = 1266`, `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 = 1340`, `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 = 3`, `trees = 1340`, `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 = 739`, `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 = 3`, `trees = 739`, `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 = 411`, `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 = 411`, `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 = 471`, `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 = 471`, `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 = 716`, `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 = 3`, `trees = 716`, `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 = 648`, `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 = 3`, `trees = 648`, `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 = 1180`, `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 = 1180`, `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 = 1290`, `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 = 3`, `trees = 1290`, `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 = 1238`, `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 = 3`, `trees = 1238`, `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 = 1225`, `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 = 1225`, `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 = 1194`, `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 = 1194`, `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 = 1328`, `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 = 1328`, `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 = 1011`, `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 = 3`, `trees = 1011`, `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 = 1493`, `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 = 1493`, `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 = 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 = 402`, `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 = 1007`, `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 = 3`, `trees = 1007`, `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 = 567`, `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 = 567`, `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 = 956`, `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 = 3`, `trees = 956`, `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 = 1112`, `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 = 1112`, `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 = 1116`, `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 = 1116`, `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 = 699`, `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 = 3`, `trees = 699`, `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 = 410`, `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 = 3`, `trees = 410`, `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 = 872`, `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 = 872`, `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 = 632`, `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 = 632`, `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 = 1476`, `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 = 1476`, `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 = 1317`, `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 = 1317`, `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 = 758`, `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 = 758`, `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 = 1244`, `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 = 1244`, `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 = 1022`, `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 = 3`, `trees = 1022`, `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 = 655`, `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 = 3`, `trees = 655`, `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 = 1453`, `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 = 3`, `trees = 1453`, `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 = 807`, `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 = 807`, `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 = 1395`, `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 = 1395`, `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 = 1074`, `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 = 1074`, `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 = 945`, `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 = 945`, `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 = 1072`, `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 = 1072`, `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 = 1074`, `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 = 1074`, `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 = 1047`, `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 = 3`, `trees = 1047`, `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 = 1039`, `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 = 3`, `trees = 1039`, `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 = 891`, `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 = 891`, `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 = 1411`, `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 = 1411`, `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 = 625`, `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 = 3`, `trees = 625`, `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 = 1120`, `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 = 1120`, `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 = 1030`, `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 = 3`, `trees = 1030`, `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 = 512`, `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 = 3`, `trees = 512`, `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 = 1261`, `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 = 1261`, `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 = 1001`, `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 = 1001`, `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 = 1084`, `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 = 1084`, `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 = 553`, `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 = 553`, `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 = 579`, `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 = 579`, `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 = 1073`, `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 = 3`, `trees = 1073`, `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 = 653`, `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 = 3`, `trees = 653`, `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 = 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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `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 = 3`, `trees = 787`, `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 = 3`, `trees = 787`, `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 = 498`, `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 = 498`, `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 = 754`, `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 = 3`, `trees = 754`, `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 = 893`, `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 = 893`, `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 = 1283`, `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 = 1283`, `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 = 1459`, `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 = 1459`, `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 = 1204`, `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 = 1204`, `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 = 824`, `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 = 3`, `trees = 824`, `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 = 643`, `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 = 3`, `trees = 643`, `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 = 1461`, `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 = 3`, `trees = 1461`, `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 = 419`, `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 = 3`, `trees = 419`, `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 = 648`, `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 = 3`, `trees = 648`, `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 = 936`, `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 = 936`, `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 = 713`, `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 = 713`, `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 = 582`, `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 = 582`, `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 = 1442`, `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 = 1442`, `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 = 1128`, `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 = 3`, `trees = 1128`, `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 = 777`, `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 = 3`, `trees = 777`, `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 = 1243`, `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 = 3`, `trees = 1243`, `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 = 881`, `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 = 3`, `trees = 881`, `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 = 1405`, `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 = 3`, `trees = 1405`, `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 = 694`, `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 = 694`, `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 = 724`, `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 = 724`, `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 = 665`, `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 = 3`, `trees = 665`, `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 = 1287`, `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 = 1287`, `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 = 1183`, `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 = 1183`, `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 = 637`, `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 = 637`, `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 = 1358`, `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 = 1358`, `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 = 719`, `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 = 719`, `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 = 1122`, `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 = 1122`, `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 = 598`, `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 = 3`, `trees = 598`, `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 = 1102`, `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 = 3`, `trees = 1102`, `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 = 1210`, `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 = 1210`, `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 = 1417`, `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 = 3`, `trees = 1417`, `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 = 1207`, `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 = 1207`, `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 = 986`, `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 = 986`, `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 = 412`, `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 = 3`, `trees = 412`, `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 = 903`, `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 = 3`, `trees = 903`, `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 = 721`, `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 = 721`, `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 = 1015`, `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 = 3`, `trees = 1015`, `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 = 563`, `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 = 3`, `trees = 563`, `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 = 899`, `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 = 899`, `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 = 907`, `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 = 3`, `trees = 907`, `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 = 515`, `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 = 3`, `trees = 515`, `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 = 1310`, `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 = 3`, `trees = 1310`, `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 = 1306`, `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 = 3`, `trees = 1306`, `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 = 797`, `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 = 3`, `trees = 797`, `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 = 1301`, `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 = 3`, `trees = 1301`, `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 = 1143`, `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 = 1143`, `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 = 1409`, `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 = 3`, `trees = 1409`, `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 = 1134`, `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 = 3`, `trees = 1134`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'.