There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 980`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 980`, `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 = 505`, `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 = 505`, `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 = 702`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 702`, `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 = 454`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 454`, `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 = 852`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 852`, `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 = 1424`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1424`, `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 = 446`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 446`, `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 = 1178`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1178`, `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 = 544`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 544`, `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 = 1111`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1111`, `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 = 1227`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1227`, `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 = 940`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 940`, `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 = 1381`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1381`, `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 = 1252`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1252`, `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 = 1211`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1211`, `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 = 820`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 820`, `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 = 797`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 797`, `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 = 1289`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1289`, `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 = 953`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 953`, `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 = 1485`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1485`, `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 = 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 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 527`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 527`, `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 = 1104`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1104`, `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 = 1402`, `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 = 1402`, `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 = 1393`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1393`, `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 = 444`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 444`, `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 = 1457`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1457`, `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 = 410`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 410`, `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 = 823`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 823`, `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 = 807`, `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 = 807`, `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 = 423`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 423`, `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 = 939`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 939`, `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 = 1060`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1060`, `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 = 1027`, `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 = 1027`, `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 = 620`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 620`, `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 = 930`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 930`, `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 = 537`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 537`, `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 = 1416`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1416`, `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 = 1387`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1387`, `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 = 536`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 536`, `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 = 706`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 706`, `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 = 826`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 826`, `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 = 570`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 570`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 605`, `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 = 605`, `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 = 1135`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1135`, `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 = 570`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 570`, `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 = 1394`, `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 = 1394`, `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 = 476`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 476`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 708`, `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 = 708`, `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 = 768`, `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 = 768`, `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 = 500`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 500`, `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 = 1349`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1349`, `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 = 1063`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1063`, `min_n = 18`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1146`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1146`, `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 = 1329`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1329`, `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 = 567`, `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 = 567`, `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 = 938`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 938`, `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 = 877`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 877`, `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 = 1450`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1450`, `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 = 1437`, `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 = 1437`, `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 = 673`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 673`, `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 = 1344`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1344`, `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 = 817`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 817`, `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 = 1341`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1341`, `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 = 756`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 756`, `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 = 882`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 882`, `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 = 1295`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1295`, `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 = 1121`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1121`, `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 = 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 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 3`, `trees = 571`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 571`, `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 = 540`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 540`, `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 = 1304`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1304`, `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 = 698`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 698`, `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 = 1320`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1320`, `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 = 615`, `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 = 615`, `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 = 1073`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1073`, `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 = 852`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 852`, `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 = 590`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 590`, `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 = 1274`, `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 = 1274`, `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 = 658`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 658`, `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 = 1334`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1334`, `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 = 1322`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1322`, `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 = 1188`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1188`, `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 = 1395`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1395`, `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 = 1482`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1482`, `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 = 974`, `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 = 974`, `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 = 596`, `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 = 2`, `trees = 596`, `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 = 571`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 571`, `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 = 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 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 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 = 1193`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1193`, `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 = 1221`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1221`, `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 = 1201`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1201`, `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 = 1287`, `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 = 1287`, `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 = 518`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 518`, `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 = 402`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 402`, `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 = 1412`, `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 = 1412`, `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 = 1391`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1391`, `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 = 1181`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1181`, `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 = 753`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 753`, `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 = 881`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 881`, `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 = 524`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 524`, `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 = 822`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 822`, `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 = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1245`, `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 = 1160`, `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 = 1160`, `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 = 641`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 641`, `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 = 592`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 592`, `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 = 874`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 874`, `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 = 722`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 722`, `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 = 1465`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1465`, `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 = 901`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 901`, `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 = 1400`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1400`, `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 = 1493`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1493`, `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 = 1311`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1311`, `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 = 987`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 987`, `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 = 777`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 777`, `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 = 496`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 496`, `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 = 1013`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1013`, `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 = 1411`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1411`, `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 = 780`, `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 = 780`, `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 = 491`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 491`, `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 = 747`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 747`, `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 = 1195`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1195`, `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 = 568`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 568`, `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 = 619`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 619`, `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 = 696`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 696`, `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 = 486`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 486`, `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 = 923`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 923`, `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 = 1038`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1038`, `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 = 986`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 986`, `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 = 1202`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1202`, `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 = 1499`, `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 = 1499`, `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 = 1005`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1005`, `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 = 1052`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1052`, `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 = 745`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 745`, `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 = 951`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 951`, `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 = 900`, `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 = 900`, `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 = 1354`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1354`, `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 = 1158`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1158`, `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 = 535`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 535`, `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 = 529`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 529`, `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 = 1312`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1312`, `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 = 1428`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1428`, `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 = 1045`, `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 = 1045`, `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 = 958`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 958`, `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 = 1093`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1093`, `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 = 551`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 551`, `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 = 684`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 684`, `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 = 991`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 991`, `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 = 424`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 424`, `min_n = 18`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1460`, `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 = 1460`, `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 = 1450`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1450`, `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 = 759`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 759`, `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 = 554`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 554`, `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 = 417`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 417`, `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 = 942`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 942`, `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 = 682`, `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 = 682`, `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 = 1143`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1143`, `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 = 708`, `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 = 2`, `trees = 708`, `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 = 663`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 663`, `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 = 877`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 877`, `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 = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1041`, `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 = 884`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 884`, `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 = 1258`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1258`, `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 = 1424`, `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 = 1424`, `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 = 694`, `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 = 2`, `trees = 694`, `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 = 1081`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1081`, `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 = 1110`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1110`, `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 = 460`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 460`, `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 = 1279`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1279`, `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 = 676`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 676`, `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 = 1258`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1258`, `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 = 1452`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1452`, `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 = 712`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 712`, `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 = 778`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 778`, `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 = 1050`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1050`, `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 = 660`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 660`, `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 = 535`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 535`, `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 = 1009`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1009`, `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 = 1386`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1386`, `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 = 1128`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1128`, `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 = 679`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 679`, `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 = 1447`, `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 = 1447`, `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 = 1401`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1401`, `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 = 1221`, `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 = 1221`, `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 = 833`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 833`, `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 = 1496`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1496`, `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 = 1316`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1316`, `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 = 624`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 624`, `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 = 1381`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1381`, `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 = 938`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 938`, `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 = 937`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 937`, `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 = 819`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 819`, `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 = 832`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 832`, `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 = 519`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 519`, `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 = 791`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 791`, `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 = 1036`, `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 = 1036`, `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 = 1394`, `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 = 1394`, `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 = 1493`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1493`, `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 = 1270`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1270`, `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 = 801`, `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 = 801`, `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 = 875`, `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 = 875`, `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 = 1284`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1284`, `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 = 1113`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1113`, `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 = 933`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 933`, `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 = 589`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 589`, `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 = 993`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 993`, `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 = 780`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 780`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 850`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 850`, `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 = 697`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 697`, `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 = 847`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 847`, `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 = 644`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 644`, `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 = 494`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 494`, `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 = 1168`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1168`, `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 = 1109`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1109`, `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 = 705`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 705`, `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 = 1405`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1405`, `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 = 1280`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1280`, `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 = 1162`, `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 = 2`, `trees = 1162`, `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 = 1475`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1475`, `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 = 1473`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1473`, `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 = 565`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 565`, `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 = 1039`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1039`, `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 = 559`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 559`, `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 = 661`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 661`, `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 = 645`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 645`, `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 = 1017`, `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 = 1017`, `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 = 1445`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1445`, `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 = 1279`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1279`, `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 = 430`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 430`, `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 = 1233`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1233`, `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 = 977`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 977`, `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 = 456`, `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 = 456`, `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 = 771`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 771`, `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 = 1184`, `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 = 1184`, `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 = 633`, `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 = 633`, `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 = 494`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 494`, `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 = 1380`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1380`, `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 = 1330`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1330`, `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 = 1267`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1267`, `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 = 507`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 507`, `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 = 524`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 524`, `min_n = 23`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 527`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 527`, `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 = 412`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 412`, `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 = 1369`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1369`, `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 = 1375`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1375`, `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 = 686`, `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 = 2`, `trees = 686`, `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 = 1005`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1005`, `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 = 769`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 769`, `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 = 897`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 897`, `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 = 1138`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1138`, `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 = 1231`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1231`, `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 = 1321`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1321`, `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 = 405`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 405`, `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 = 960`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 960`, `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 = 697`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 697`, `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 = 577`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 577`, `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 = 501`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 501`, `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 = 511`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 511`, `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 = 1091`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1091`, `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 = 902`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 902`, `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 = 1428`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1428`, `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 = 1306`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1306`, `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 = 458`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 458`, `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 = 1472`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1472`, `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 = 1025`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1025`, `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 = 1327`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1327`, `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 = 1335`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1335`, `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 = 409`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 409`, `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 = 1366`, `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 = 2`, `trees = 1366`, `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 = 829`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 829`, `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 = 1487`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1487`, `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 = 1282`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1282`, `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 = 1455`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1455`, `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 = 1379`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1379`, `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 = 998`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 998`, `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 = 1091`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1091`, `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 = 827`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 827`, `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 = 488`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 488`, `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 = 1060`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1060`, `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 = 1197`, `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 = 1197`, `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 = 457`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 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 = 1257`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1257`, `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 = 750`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 750`, `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 = 1069`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1069`, `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 = 808`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 808`, `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 = 980`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 980`, `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 = 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 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 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 = 1023`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1023`, `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 = 853`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 853`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1221`, `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 = 1221`, `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 = 409`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 409`, `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 = 1265`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1265`, `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 = 651`, `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 = 2`, `trees = 651`, `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 = 858`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 858`, `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 = 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 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 2`, `trees = 1203`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1203`, `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 = 1421`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1421`, `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 = 1272`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1272`, `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 = 834`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 834`, `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 = 1293`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1293`, `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 = 939`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 939`, `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 = 1470`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1470`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 469`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 469`, `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 = 915`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 915`, `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 = 1224`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1224`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1383`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1383`, `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 = 434`, `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 = 434`, `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 = 930`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 930`, `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 = 1026`, `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 = 1026`, `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 = 622`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 622`, `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 = 544`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 544`, `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 = 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 = 2`, `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 = 735`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 735`, `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 = 993`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 993`, `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 = 514`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 514`, `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 = 519`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 519`, `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 = 596`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 596`, `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 = 883`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 883`, `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 = 1349`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1349`, `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 = 910`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 910`, `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 = 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 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 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 = 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 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `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 = 469`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 469`, `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 = 1291`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1291`, `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 = 619`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 619`, `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 = 780`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 780`, `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 = 1028`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1028`, `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 = 700`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 700`, `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 = 1170`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1170`, `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 = 1074`, `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 = 1074`, `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 = 1217`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1217`, `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 = 1109`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1109`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 987`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 987`, `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 = 817`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 817`, `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 = 1022`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1022`, `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 = 1470`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1470`, `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 = 407`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 407`, `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 = 1285`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1285`, `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 = 1485`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1485`, `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 = 1070`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1070`, `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 = 782`, `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 = 2`, `trees = 782`, `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 = 961`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 961`, `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 = 830`, `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 = 830`, `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 = 1366`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1366`, `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 = 930`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 930`, `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 = 796`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 796`, `min_n = 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 = 968`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 968`, `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 = 689`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 689`, `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 = 820`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 820`, `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 = 969`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 969`, `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 = 438`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 438`, `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 = 1200`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1200`, `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 = 1446`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1446`, `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 = 556`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 556`, `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 = 1044`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1044`, `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 = 803`, `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 = 2`, `trees = 803`, `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 = 1221`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1221`, `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 = 1222`, `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 = 1222`, `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 = 1457`, `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 = 1457`, `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 = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1341`, `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 = 992`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 992`, `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 = 1072`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1072`, `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 = 713`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 713`, `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 = 588`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 588`, `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 = 1155`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1155`, `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 = 1268`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1268`, `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 = 766`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 766`, `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 = 533`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 533`, `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 = 1437`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1437`, `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 = 1462`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1462`, `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 = 952`, `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 = 952`, `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 = 757`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 757`, `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 = 1008`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1008`, `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 = 1186`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1186`, `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 = 581`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 581`, `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 = 1486`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1486`, `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 = 916`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 916`, `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 = 565`, `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 = 565`, `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 = 632`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 632`, `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 = 743`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 743`, `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 = 1327`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1327`, `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 = 860`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 860`, `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 = 1324`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1324`, `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 = 1146`, `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 = 2`, `trees = 1146`, `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 = 964`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 964`, `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 = 535`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 535`, `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 = 1378`, `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 = 1378`, `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 = 549`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 549`, `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 = 408`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 408`, `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 = 702`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 702`, `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 = 1435`, `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 = 1435`, `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 = 1380`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1380`, `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 = 1440`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1440`, `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 = 1115`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1115`, `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 = 1287`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1287`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 634`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 634`, `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 = 620`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 620`, `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 = 1150`, `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 = 1150`, `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 = 1272`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1272`, `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 = 945`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 945`, `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 = 560`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 560`, `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 = 1422`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1422`, `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 = 1320`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1320`, `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 = 1202`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1202`, `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 = 1232`, `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 = 2`, `trees = 1232`, `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 = 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 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 742`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 742`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1124`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1124`, `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 = 1386`, `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 = 1386`, `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 = 1173`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1173`, `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 = 622`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 622`, `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 = 452`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 452`, `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 = 472`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 472`, `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 = 793`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 793`, `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 = 712`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 712`, `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 = 1207`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1207`, `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 = 965`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 965`, `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 = 531`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 531`, `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 = 683`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 683`, `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 = 1354`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1354`, `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 = 907`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 907`, `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 = 673`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 673`, `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 = 947`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 947`, `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 = 942`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 942`, `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 = 591`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 591`, `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 = 651`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 651`, `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 = 907`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 907`, `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 = 1221`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1221`, `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 = 1146`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1146`, `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 = 468`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 468`, `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 = 1379`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1379`, `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 = 1263`, `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 = 2`, `trees = 1263`, `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 = 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 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 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 = 577`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 577`, `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 = 525`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 525`, `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 = 435`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 435`, `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 = 1311`, `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 = 1311`, `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 = 1128`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1128`, `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 = 641`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 641`, `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 = 1198`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1198`, `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 = 648`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 648`, `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 = 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 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 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 = 1257`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1257`, `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 = 570`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 570`, `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 = 1419`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1419`, `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 = 499`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 499`, `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 = 1481`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1481`, `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 = 1435`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1435`, `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 = 948`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 948`, `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 = 1079`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1079`, `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 = 481`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 481`, `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 = 1391`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1391`, `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 = 963`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 963`, `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 = 1311`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1311`, `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 = 524`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 524`, `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 = 478`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 478`, `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 = 443`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 443`, `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 = 1419`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1419`, `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 = 1187`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1187`, `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 = 854`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 854`, `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 = 555`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 555`, `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 = 924`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 924`, `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 = 522`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 522`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 773`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 773`, `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 = 1032`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1032`, `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 = 1489`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1489`, `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 = 491`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 491`, `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 = 1476`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1476`, `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 = 683`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 683`, `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 = 411`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 411`, `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 = 839`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 839`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 558`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 558`, `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 = 1463`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1463`, `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 = 857`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 857`, `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 = 1372`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1372`, `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 = 487`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 487`, `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 = 1061`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1061`, `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 = 669`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 669`, `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 = 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 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `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 = 1213`, `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 = 1213`, `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 = 1141`, `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 = 2`, `trees = 1141`, `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 = 1011`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1011`, `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 = 1214`, `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 = 1214`, `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 = 1470`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1470`, `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 = 533`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 533`, `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 = 1319`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1319`, `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 = 908`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 908`, `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 = 516`, `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 = 516`, `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 = 878`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 878`, `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 = 1341`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1341`, `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 = 1437`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1437`, `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 = 488`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 488`, `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 = 1268`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1268`, `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 = 423`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 423`, `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 = 472`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 472`, `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 = 1315`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1315`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1115`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1115`, `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 = 578`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 578`, `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 = 1376`, `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 = 2`, `trees = 1376`, `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 = 411`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 411`, `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 = 1098`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1098`, `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 = 755`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 755`, `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 = 656`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 656`, `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 = 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 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 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 = 1341`, `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 = 1341`, `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 = 1368`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1368`, `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 = 1266`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1266`, `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 = 1158`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1158`, `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 = 1361`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1361`, `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 = 1093`, `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 = 1093`, `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 = 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 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 3`, `trees = 498`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 498`, `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 = 538`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 538`, `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 = 1412`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1412`, `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 = 715`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 715`, `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 = 1267`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1267`, `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 = 1012`, `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 = 1012`, `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 = 949`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 949`, `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 = 402`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 402`, `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 = 1160`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1160`, `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 = 1499`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1499`, `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 = 995`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 995`, `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 = 1362`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1362`, `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 = 1068`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1068`, `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 = 443`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 443`, `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 = 811`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 811`, `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 = 1410`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1410`, `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 = 589`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 589`, `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 = 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 = 1207`, `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 = 1231`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1231`, `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 = 1017`, `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 = 1017`, `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 = 1159`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1159`, `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 = 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 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 3`, `trees = 809`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 809`, `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 = 1170`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1170`, `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 = 1489`, `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 = 2`, `trees = 1489`, `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 = 986`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 986`, `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 = 605`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 605`, `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 = 1489`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1489`, `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 = 434`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 434`, `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 = 1458`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1458`, `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 = 502`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 502`, `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 = 506`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 506`, `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 = 1229`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1229`, `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 = 693`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 693`, `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 = 671`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 671`, `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 = 700`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 700`, `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 = 634`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 634`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 504`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 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 = 2`, `trees = 572`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 572`, `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 = 605`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 605`, `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 = 1172`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1172`, `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 = 734`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 734`, `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 = 1153`, `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 = 2`, `trees = 1153`, `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 = 1355`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1355`, `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 = 1430`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1430`, `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 = 415`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 415`, `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 = 851`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 851`, `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 = 647`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 647`, `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 = 1111`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1111`, `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 = 1336`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1336`, `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 = 471`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 471`, `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 = 1453`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1453`, `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 = 1205`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1205`, `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 = 626`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 626`, `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 = 1234`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1234`, `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 = 545`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 545`, `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 = 619`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 619`, `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 = 1211`, `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 = 2`, `trees = 1211`, `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 = 1303`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1303`, `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 = 1173`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1173`, `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 = 492`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 492`, `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 = 490`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 490`, `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 = 833`, `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 = 2`, `trees = 833`, `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 = 580`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 580`, `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 = 1285`, `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 = 1285`, `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 = 784`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 784`, `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 = 1097`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1097`, `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 = 952`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 952`, `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 = 485`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 485`, `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 = 588`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 588`, `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 = 951`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 951`, `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 = 958`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 958`, `min_n = 26`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 798`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 798`, `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 = 1171`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1171`, `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 = 1304`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1304`, `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 = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1133`, `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 = 1186`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1186`, `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 = 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 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `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 = 3`, `trees = 1169`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1169`, `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 = 505`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 505`, `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 = 1050`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1050`, `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 = 1273`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1273`, `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 = 884`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 884`, `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 = 562`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 562`, `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 = 901`, `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 = 901`, `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 = 771`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 771`, `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 = 1135`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1135`, `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 = 1297`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1297`, `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 = 456`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 456`, `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 = 1205`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1205`, `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 = 1382`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1382`, `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 = 442`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 442`, `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 = 1286`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1286`, `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 = 897`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 897`, `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 = 756`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 756`, `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 = 1469`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1469`, `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 = 1158`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1158`, `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 = 1055`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1055`, `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 = 880`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 880`, `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 = 1224`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1224`, `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 = 588`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 588`, `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 = 1150`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1150`, `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 = 784`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 784`, `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 = 1280`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1280`, `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 = 403`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 403`, `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 = 1236`, `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 = 1236`, `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 = 1287`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1287`, `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 = 751`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 751`, `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 = 1299`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1299`, `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 = 914`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 914`, `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 = 1144`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1144`, `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 = 613`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 613`, `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 = 1237`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1237`, `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 = 1065`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1065`, `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 = 1410`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1410`, `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 = 1471`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1471`, `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 = 1294`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1294`, `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 = 1245`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1245`, `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 = 603`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 603`, `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 = 1292`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1292`, `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 = 680`, `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 = 2`, `trees = 680`, `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 = 1411`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1411`, `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 = 1060`, `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 = 1060`, `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 = 757`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 757`, `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 = 1489`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1489`, `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 = 1388`, `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 = 2`, `trees = 1388`, `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 = 651`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 651`, `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 = 953`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 953`, `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 = 1304`, `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 = 1304`, `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 = 993`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 993`, `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 = 859`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 859`, `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 = 574`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 574`, `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 = 587`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 587`, `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 = 859`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 859`, `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 = 885`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 885`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1125`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1125`, `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 = 1014`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1014`, `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 = 1381`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1381`, `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 = 709`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 709`, `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 = 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 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 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 = 847`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 847`, `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 = 1412`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1412`, `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 = 1202`, `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 = 2`, `trees = 1202`, `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 = 458`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 458`, `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 = 916`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 916`, `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 = 1360`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1360`, `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 = 807`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 807`, `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 = 475`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 475`, `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 = 952`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 952`, `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 = 1071`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1071`, `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 = 537`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 537`, `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 = 1298`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1298`, `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 = 1143`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1143`, `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 = 530`, `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 = 530`, `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 = 1289`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1289`, `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 = 1320`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1320`, `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 = 1027`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1027`, `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 = 1337`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1337`, `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 = 1206`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1206`, `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 = 1333`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1333`, `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 = 1472`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1472`, `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 = 1175`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1175`, `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 = 838`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 838`, `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 = 1185`, `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 = 1185`, `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 = 527`, `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 = 527`, `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 = 984`, `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 = 984`, `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 = 1220`, `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 = 1220`, `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 = 1355`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1355`, `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 = 721`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 721`, `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 = 1041`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1041`, `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 = 651`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 651`, `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 = 1365`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1365`, `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 = 667`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 667`, `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 = 918`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 918`, `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 = 742`, `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 = 2`, `trees = 742`, `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 = 756`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 756`, `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 = 990`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 990`, `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 = 1458`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1458`, `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 = 499`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 499`, `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 = 1156`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1156`, `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 = 463`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 463`, `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 = 1150`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1150`, `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 = 988`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 988`, `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 = 443`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 443`, `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 = 1237`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1237`, `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 = 566`, `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 = 566`, `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 = 1419`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1419`, `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 = 1304`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1304`, `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 = 996`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 996`, `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 = 748`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 748`, `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 = 680`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 680`, `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 = 477`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 477`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1018`, `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 = 1018`, `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 = 475`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 475`, `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 = 1049`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1049`, `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 = 1424`, `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 = 1424`, `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 = 1061`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1061`, `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 = 597`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 597`, `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 = 1141`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1141`, `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 = 668`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 668`, `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 = 1013`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1013`, `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 = 612`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 612`, `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 = 959`, `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 = 959`, `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 = 408`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 408`, `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 = 1415`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1415`, `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 = 785`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 785`, `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 = 1427`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1427`, `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 = 1474`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1474`, `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 = 638`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 638`, `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 = 597`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 597`, `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 = 656`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 656`, `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 = 1412`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1412`, `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 = 1050`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1050`, `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 = 999`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 999`, `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 = 936`, `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 = 936`, `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 = 922`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 922`, `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 = 482`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 482`, `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 = 673`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 673`, `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 = 633`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 633`, `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 = 1368`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1368`, `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 = 1437`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1437`, `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 = 814`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 814`, `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 = 1017`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1017`, `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 = 539`, `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 = 539`, `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 = 1109`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1109`, `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 = 1068`, `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 = 2`, `trees = 1068`, `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 = 809`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 809`, `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 = 764`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 764`, `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 = 786`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 786`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1368`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1368`, `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 = 694`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 694`, `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 = 944`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 944`, `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 = 1081`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1081`, `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 = 506`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 506`, `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 = 1098`, `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 = 1098`, `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 = 893`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 893`, `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 = 546`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 546`, `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 = 569`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 569`, `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 = 1361`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1361`, `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 = 444`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 444`, `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 = 767`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 767`, `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 = 1103`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1103`, `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 = 465`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 465`, `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 = 1031`, `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 = 1031`, `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 = 617`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 617`, `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 = 615`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 615`, `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 = 569`, `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 = 569`, `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 = 821`, `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 = 2`, `trees = 821`, `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 = 911`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 911`, `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 = 430`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 430`, `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 = 903`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 903`, `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 = 798`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 798`, `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 = 1011`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1011`, `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 = 1500`, `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 = 1500`, `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 = 528`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 528`, `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 = 661`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 661`, `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 = 854`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 854`, `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 = 1382`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1382`, `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 = 1101`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1101`, `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 = 1295`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1295`, `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 = 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 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `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 = 886`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 886`, `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 = 432`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 432`, `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 = 774`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 774`, `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 = 649`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 649`, `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 = 1466`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1466`, `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 = 1269`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1269`, `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 = 1150`, `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 = 1150`, `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 = 937`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 937`, `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 = 777`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 777`, `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 = 1181`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1181`, `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 = 998`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 998`, `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 = 1302`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1302`, `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 = 493`, `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 = 493`, `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 = 1199`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1199`, `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 = 539`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 539`, `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 = 774`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 774`, `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 = 1430`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1430`, `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 = 1036`, `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 = 1036`, `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 = 463`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 463`, `min_n = 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 = 1204`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1204`, `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 = 808`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 808`, `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 = 1425`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1425`, `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 = 1297`, `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 = 1297`, `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 = 1082`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1082`, `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 = 591`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 591`, `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 = 1339`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1339`, `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 = 1430`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1430`, `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 = 435`, `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 = 435`, `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 = 1299`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1299`, `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 = 583`, `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 = 2`, `trees = 583`, `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 = 485`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 485`, `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 = 689`, `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 = 2`, `trees = 689`, `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 = 858`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 858`, `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 = 1244`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1244`, `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 = 1221`, `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 = 1221`, `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 = 463`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 463`, `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 = 966`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 966`, `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 = 887`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 887`, `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 = 702`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 702`, `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 = 1098`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1098`, `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 = 963`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 963`, `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 = 1251`, `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 = 1251`, `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 = 1103`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1103`, `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 = 1127`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1127`, `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 = 1021`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1021`, `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 = 576`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 576`, `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 = 465`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 465`, `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 = 981`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 981`, `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 = 1125`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1125`, `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 = 959`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 959`, `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 = 411`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 411`, `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 = 1092`, `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 = 1092`, `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 = 1440`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1440`, `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 = 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 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 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 = 503`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 503`, `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 = 1135`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1135`, `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 = 1349`, `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 = 1349`, `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 = 653`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 653`, `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 = 1111`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1111`, `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 = 525`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 525`, `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 = 1172`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1172`, `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 = 1417`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1417`, `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 = 586`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 586`, `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 = 1007`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1007`, `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 = 1115`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1115`, `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 = 962`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 962`, `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 = 1012`, `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 = 1012`, `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 = 989`, `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 = 989`, `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 = 913`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 913`, `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 = 1292`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1292`, `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 = 1302`, `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 = 1302`, `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 = 1410`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1410`, `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 = 1286`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1286`, `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 = 945`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 945`, `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 = 686`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 686`, `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 = 1179`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1179`, `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 = 1099`, `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 = 1099`, `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 = 946`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 946`, `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 = 889`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 889`, `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 = 1300`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1300`, `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 = 583`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 583`, `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 = 615`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 615`, `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 = 1316`, `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 = 1316`, `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 = 1089`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1089`, `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 = 1038`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1038`, `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 = 1468`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1468`, `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 = 1312`, `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 = 2`, `trees = 1312`, `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 = 880`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 880`, `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 = 905`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 905`, `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 = 670`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 670`, `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 = 1396`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1396`, `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 = 750`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 750`, `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 = 1168`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1168`, `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 = 1303`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1303`, `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 = 569`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 569`, `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 = 1400`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1400`, `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 = 801`, `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 = 801`, `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 = 1408`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1408`, `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 = 1062`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1062`, `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 = 1146`, `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 = 1146`, `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 = 522`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 522`, `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 = 1041`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1041`, `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 = 923`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 923`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 719`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 719`, `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 = 1324`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1324`, `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 = 1132`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1132`, `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 = 1352`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1352`, `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 = 425`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 425`, `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 = 417`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 417`, `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 = 995`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 995`, `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 = 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 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 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 = 1491`, `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 = 1491`, `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 = 1259`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1259`, `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 = 1165`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1165`, `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 = 635`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 635`, `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 = 812`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 812`, `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 = 662`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 662`, `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 = 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 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 2`, `trees = 1350`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1350`, `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 = 541`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 541`, `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 = 1097`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1097`, `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 = 400`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 400`, `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 = 739`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 739`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1083`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1083`, `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 = 662`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 662`, `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 = 1167`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1167`, `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 = 528`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 528`, `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 = 993`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 993`, `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 = 1089`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1089`, `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 = 1221`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1221`, `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 = 1395`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1395`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1060`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1060`, `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 = 569`, `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 = 569`, `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 = 1410`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1410`, `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 = 919`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 919`, `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 = 716`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 716`, `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 = 551`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 551`, `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 = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 758`, `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 = 800`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 800`, `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 = 1131`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1131`, `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 = 1309`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1309`, `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 = 610`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 610`, `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 = 1076`, `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 = 1076`, `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 = 679`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 679`, `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 = 426`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 426`, `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 = 814`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 814`, `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 = 1470`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1470`, `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 = 947`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 947`, `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 = 523`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 523`, `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 = 520`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 520`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1101`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1101`, `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 = 1389`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1389`, `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 = 1156`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1156`, `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 = 1137`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1137`, `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 = 747`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 747`, `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 = 961`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 961`, `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 = 1083`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1083`, `min_n = 26`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1017`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1017`, `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 = 1047`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1047`, `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 = 1232`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1232`, `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 = 910`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 910`, `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 = 764`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 764`, `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 = 737`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 737`, `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 = 1270`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1270`, `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 = 732`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 732`, `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 = 692`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 692`, `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 = 707`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 707`, `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 = 840`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 840`, `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 = 608`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 608`, `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 = 578`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 578`, `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 = 1248`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1248`, `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 = 500`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 500`, `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 = 443`, `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 = 443`, `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 = 485`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 485`, `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 = 410`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 410`, `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 = 769`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 769`, `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 = 707`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 707`, `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 = 451`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 451`, `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 = 1185`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1185`, `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 = 1083`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1083`, `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 = 440`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 440`, `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 = 881`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 881`, `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 = 884`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 884`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 804`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 804`, `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 = 1346`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1346`, `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 = 734`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 734`, `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 = 939`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 939`, `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 = 1384`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1384`, `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 = 1276`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1276`, `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 = 426`, `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 = 426`, `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 = 1272`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1272`, `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 = 460`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 460`, `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 = 544`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 544`, `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 = 447`, `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 = 447`, `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 = 802`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 802`, `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 = 1285`, `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 = 1285`, `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 = 1182`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1182`, `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 = 634`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 634`, `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 = 715`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 715`, `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 = 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 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `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 = 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 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `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 = 489`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 489`, `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 = 1174`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1174`, `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 = 804`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 804`, `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 = 1061`, `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 = 1061`, `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 = 514`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 514`, `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 = 940`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 940`, `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 = 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 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `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 = 2`, `trees = 984`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 984`, `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 = 1054`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1054`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1043`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1043`, `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 = 630`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 630`, `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 = 1272`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1272`, `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 = 943`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 943`, `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 = 1222`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1222`, `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 = 1097`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1097`, `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 = 1162`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1162`, `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 = 759`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 759`, `min_n = 13`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'.