There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1380`, `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 = 1380`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 402`, `min_n = 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 = 402`, `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 = 685`, `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 = 685`, `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 = 1259`, `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 = 1259`, `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 = 508`, `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 = 508`, `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 = 1278`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1278`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1013`, `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 = 1013`, `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 = 583`, `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 = 583`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1063`, `min_n = 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 = 1063`, `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 = 1332`, `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 = 1332`, `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 = 924`, `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 = 924`, `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 = 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 = 3`, `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 = 457`, `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 = 457`, `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 = 699`, `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 = 699`, `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 = 690`, `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 = 690`, `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 = 1314`, `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 = 1314`, `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 = 771`, `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 = 771`, `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 = 1141`, `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 = 1141`, `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 = 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 = 1430`, `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 = 1178`, `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 = 1178`, `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 = 1475`, `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 = 1475`, `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 = 891`, `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 = 891`, `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 = 723`, `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 = 723`, `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 = 532`, `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 = 532`, `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 = 446`, `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 = 446`, `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 = 1267`, `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 = 1267`, `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 = 631`, `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 = 631`, `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 = 1487`, `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 = 1487`, `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 = 1127`, `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 = 1127`, `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 = 980`, `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 = 980`, `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 = 438`, `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 = 438`, `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 = 612`, `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 = 612`, `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 = 780`, `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 = 780`, `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 = 520`, `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 = 520`, `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 = 469`, `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 = 469`, `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 = 876`, `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 = 876`, `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 = 1446`, `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 = 1446`, `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 = 1475`, `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 = 1475`, `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 = 1152`, `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 = 1152`, `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 = 1432`, `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 = 1432`, `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 = 881`, `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 = 881`, `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 = 1008`, `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 = 1008`, `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 = 1263`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1263`, `min_n = 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 = 1429`, `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 = 1429`, `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 = 1108`, `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 = 1108`, `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 = 1306`, `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 = 1306`, `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 = 1429`, `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 = 1429`, `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 = 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 = 3`, `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 = 840`, `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 = 840`, `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 = 1259`, `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 = 1259`, `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 = 664`, `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 = 664`, `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 = 1099`, `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 = 1099`, `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 = 1021`, `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 = 1021`, `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 = 490`, `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 = 490`, `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 = 1496`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 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 = 1360`, `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 = 1360`, `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 = 512`, `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 = 512`, `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 = 1468`, `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 = 1468`, `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 = 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 = 1111`, `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 = 1111`, `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 = 917`, `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 = 917`, `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 = 1342`, `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 = 1342`, `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 = 961`, `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 = 961`, `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 = 442`, `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 = 442`, `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 = 1268`, `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 = 1268`, `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 = 647`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 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 = 781`, `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 = 781`, `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 = 1009`, `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 = 1009`, `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 = 1214`, `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 = 1214`, `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 = 452`, `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 = 452`, `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 = 1138`, `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 = 1138`, `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 = 1471`, `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 = 1471`, `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 = 1409`, `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 = 1409`, `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 = 1425`, `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 = 1425`, `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 = 1409`, `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 = 1409`, `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 = 1057`, `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 = 1057`, `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 = 1223`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1223`, `min_n = 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 = 768`, `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 = 768`, `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 = 788`, `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 = 788`, `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 = 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 = 3`, `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 = 3`, `trees = 1350`, `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 = 1350`, `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 = 1461`, `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 = 1461`, `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 = 425`, `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 = 425`, `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 = 524`, `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 = 524`, `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 = 795`, `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 = 795`, `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 = 1364`, `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 = 1364`, `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 = 475`, `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 = 475`, `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 = 1330`, `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 = 1330`, `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 = 1228`, `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 = 1228`, `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 = 740`, `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 = 740`, `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 = 1139`, `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 = 1139`, `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 = 465`, `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 = 465`, `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 = 1146`, `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 = 1146`, `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 = 544`, `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 = 544`, `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 = 1379`, `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 = 1379`, `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 = 459`, `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 = 459`, `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 = 1071`, `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 = 1071`, `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 = 1462`, `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 = 1462`, `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 = 1294`, `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 = 1294`, `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 = 1390`, `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 = 1390`, `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 = 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 = 1217`, `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 = 1217`, `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 = 792`, `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 = 792`, `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 = 778`, `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 = 778`, `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 = 688`, `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 = 688`, `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 = 908`, `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 = 908`, `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 = 1203`, `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 = 1203`, `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 = 971`, `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 = 971`, `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 = 788`, `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 = 788`, `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 = 958`, `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 = 958`, `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 = 504`, `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 = 504`, `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 = 1492`, `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 = 1492`, `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 = 1026`, `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 = 1026`, `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 = 1263`, `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 = 1263`, `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 = 924`, `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 = 924`, `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 = 1194`, `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 = 1194`, `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 = 1295`, `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 = 1295`, `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 = 1003`, `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 = 1003`, `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 = 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 = 1432`, `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 = 1432`, `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 = 1045`, `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 = 1045`, `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 = 475`, `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 = 475`, `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 = 881`, `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 = 881`, `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 = 481`, `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 = 481`, `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 = 532`, `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 = 532`, `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 = 1231`, `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 = 1231`, `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 = 691`, `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 = 691`, `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 = 790`, `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 = 790`, `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 = 1347`, `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 = 1347`, `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 = 1116`, `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 = 1116`, `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 = 1359`, `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 = 1359`, `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 = 993`, `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 = 993`, `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 = 407`, `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 = 407`, `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 = 894`, `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 = 894`, `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 = 606`, `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 = 606`, `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 = 1361`, `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 = 1361`, `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 = 564`, `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 = 564`, `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 = 844`, `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 = 844`, `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 = 402`, `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 = 402`, `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 = 1283`, `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 = 1283`, `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 = 1499`, `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 = 1499`, `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 = 711`, `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 = 711`, `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 = 946`, `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 = 946`, `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 = 918`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 918`, `min_n = 19`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1286`, `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 = 1286`, `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 = 1323`, `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 = 1323`, `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 = 1049`, `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 = 1049`, `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 = 1484`, `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 = 1484`, `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 = 1438`, `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 = 1438`, `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 = 812`, `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 = 812`, `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 = 1078`, `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 = 1078`, `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 = 936`, `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 = 936`, `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 = 923`, `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 = 923`, `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 = 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 = 3`, `trees = 758`, `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 = 758`, `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 = 1394`, `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 = 1394`, `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 = 440`, `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 = 440`, `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 = 1017`, `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 = 1017`, `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 = 1083`, `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 = 1083`, `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 = 1216`, `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 = 1216`, `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 = 536`, `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 = 536`, `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 = 1481`, `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 = 1481`, `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 = 985`, `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 = 985`, `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 = 420`, `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 = 420`, `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 = 745`, `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 = 745`, `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 = 1016`, `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 = 1016`, `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 = 1227`, `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 = 1227`, `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 = 649`, `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 = 649`, `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 = 527`, `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 = 527`, `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 = 460`, `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 = 460`, `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 = 1452`, `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 = 1452`, `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 = 650`, `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 = 650`, `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 = 1290`, `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 = 1290`, `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 = 754`, `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 = 754`, `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 = 799`, `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 = 799`, `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 = 1217`, `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 = 1217`, `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 = 934`, `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 = 934`, `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 = 679`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 679`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1073`, `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 = 1073`, `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 = 1037`, `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 = 1037`, `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 = 804`, `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 = 804`, `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 = 1096`, `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 = 1096`, `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 = 444`, `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 = 444`, `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 = 630`, `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 = 630`, `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 = 564`, `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 = 564`, `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 = 845`, `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 = 845`, `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 = 1222`, `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 = 1222`, `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 = 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 = 1248`, `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 = 1248`, `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 = 1248`, `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 = 829`, `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 = 829`, `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 = 919`, `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 = 919`, `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 = 875`, `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 = 875`, `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 = 1354`, `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 = 1354`, `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 = 736`, `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 = 736`, `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 = 1455`, `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 = 1455`, `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 = 509`, `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 = 509`, `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 = 1475`, `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 = 1475`, `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 = 1250`, `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 = 1250`, `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 = 636`, `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 = 636`, `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 = 1451`, `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 = 1451`, `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 = 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 = 847`, `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 = 643`, `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 = 643`, `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 = 1449`, `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 = 1449`, `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 = 1222`, `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 = 1222`, `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 = 1473`, `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 = 1473`, `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 = 1234`, `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 = 1234`, `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 = 1447`, `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 = 1447`, `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 = 733`, `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 = 733`, `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 = 875`, `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 = 875`, `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 = 1434`, `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 = 1434`, `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 = 1107`, `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 = 1107`, `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 = 575`, `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 = 575`, `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 = 1098`, `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 = 1098`, `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 = 455`, `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 = 455`, `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 = 1380`, `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 = 1380`, `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 = 410`, `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 = 410`, `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 = 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 = 1236`, `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 = 1041`, `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 = 1041`, `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 = 1382`, `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 = 1382`, `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 = 1388`, `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 = 1388`, `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 = 987`, `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 = 987`, `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 = 628`, `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 = 628`, `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 = 1122`, `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 = 1122`, `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 = 1050`, `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 = 1050`, `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 = 996`, `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 = 996`, `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 = 937`, `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 = 937`, `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 = 1424`, `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 = 1424`, `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 = 1443`, `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 = 1443`, `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 = 1408`, `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 = 1408`, `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 = 890`, `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 = 890`, `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 = 1217`, `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 = 1217`, `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 = 909`, `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 = 909`, `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 = 836`, `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 = 836`, `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 = 688`, `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 = 688`, `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 = 1481`, `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 = 1481`, `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 = 867`, `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 = 867`, `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 = 1101`, `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 = 1101`, `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 = 1029`, `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 = 1029`, `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 = 671`, `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 = 671`, `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 = 1316`, `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 = 1316`, `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 = 1385`, `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 = 1385`, `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 = 1140`, `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 = 1140`, `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 = 1063`, `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 = 1063`, `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 = 653`, `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 = 653`, `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 = 795`, `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 = 795`, `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 = 701`, `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 = 701`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 931`, `min_n = 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 = 931`, `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 = 1006`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1006`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1003`, `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 = 1003`, `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 = 993`, `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 = 993`, `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 = 733`, `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 = 733`, `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 = 713`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 713`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1184`, `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 = 1184`, `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 = 1451`, `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 = 1451`, `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 = 897`, `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 = 897`, `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 = 1271`, `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 = 1271`, `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 = 1463`, `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 = 1463`, `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 = 486`, `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 = 486`, `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 = 504`, `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 = 504`, `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 = 839`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 839`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1009`, `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 = 1009`, `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 = 1333`, `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 = 1333`, `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 = 892`, `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 = 892`, `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 = 954`, `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 = 954`, `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 = 472`, `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 = 472`, `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 = 743`, `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 = 743`, `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 = 1326`, `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 = 1326`, `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 = 1266`, `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 = 1266`, `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 = 606`, `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 = 606`, `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 = 478`, `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 = 478`, `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 = 949`, `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 = 949`, `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 = 743`, `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 = 743`, `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 = 1150`, `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 = 1150`, `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 = 559`, `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 = 559`, `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 = 578`, `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 = 578`, `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 = 1136`, `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 = 1136`, `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 = 1237`, `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 = 1237`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1214`, `min_n = 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 = 1214`, `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 = 740`, `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 = 740`, `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 = 1063`, `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 = 1063`, `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 = 890`, `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 = 890`, `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 = 950`, `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 = 950`, `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 = 1191`, `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 = 1191`, `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 = 978`, `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 = 978`, `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 = 895`, `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 = 895`, `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 = 1444`, `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 = 1444`, `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 = 441`, `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 = 441`, `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 = 1337`, `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 = 1337`, `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 = 440`, `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 = 440`, `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 = 1138`, `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 = 1138`, `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 = 701`, `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 = 701`, `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 = 646`, `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 = 646`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 508`, `min_n = 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 = 508`, `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 = 953`, `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 = 953`, `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 = 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 = 3`, `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 = 517`, `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 = 517`, `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 = 1176`, `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 = 1176`, `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 = 1312`, `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 = 1312`, `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 = 758`, `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 = 758`, `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 = 929`, `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 = 929`, `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 = 984`, `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 = 984`, `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 = 1027`, `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 = 1027`, `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 = 776`, `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 = 776`, `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 = 1076`, `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 = 1076`, `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 = 629`, `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 = 629`, `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 = 909`, `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 = 909`, `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 = 595`, `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 = 595`, `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 = 1384`, `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 = 1384`, `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 = 1396`, `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 = 1396`, `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 = 1360`, `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 = 1360`, `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 = 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 = 2`, `trees = 1158`, `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 = 1158`, `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 = 1406`, `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 = 1406`, `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 = 1229`, `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 = 1229`, `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 = 721`, `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 = 721`, `min_n = 12`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1287`, `min_n = 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 = 519`, `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 = 519`, `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 = 934`, `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 = 934`, `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 = 1262`, `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 = 1262`, `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 = 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 = 2`, `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 = 2`, `trees = 472`, `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 = 472`, `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 = 414`, `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 = 414`, `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 = 1197`, `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 = 1197`, `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 = 755`, `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 = 755`, `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 = 718`, `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 = 718`, `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 = 1110`, `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 = 1110`, `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 = 610`, `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 = 610`, `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 = 664`, `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 = 664`, `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 = 438`, `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 = 438`, `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 = 901`, `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 = 901`, `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 = 981`, `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 = 981`, `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 = 1116`, `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 = 1116`, `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 = 436`, `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 = 436`, `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 = 750`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 750`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1087`, `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 = 1087`, `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 = 1234`, `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 = 1234`, `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 = 1472`, `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 = 1472`, `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 = 770`, `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 = 770`, `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 = 1063`, `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 = 1063`, `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 = 722`, `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 = 722`, `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 = 1375`, `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 = 1375`, `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 = 815`, `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 = 815`, `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 = 770`, `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 = 770`, `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 = 1046`, `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 = 1046`, `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 = 756`, `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 = 756`, `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 = 796`, `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 = 796`, `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 = 1395`, `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 = 1395`, `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 = 663`, `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 = 663`, `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 = 1069`, `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 = 1069`, `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 = 422`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 422`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 799`, `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 = 799`, `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 = 647`, `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 = 647`, `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 = 1162`, `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 = 1162`, `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 = 1284`, `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 = 1284`, `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 = 1076`, `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 = 1076`, `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 = 907`, `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 = 907`, `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 = 1139`, `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 = 1139`, `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 = 1071`, `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 = 1071`, `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 = 1113`, `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 = 1113`, `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 = 1278`, `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 = 1278`, `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 = 1153`, `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 = 1153`, `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 = 968`, `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 = 968`, `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 = 1400`, `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 = 1400`, `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 = 1060`, `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 = 1060`, `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 = 942`, `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 = 942`, `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 = 1159`, `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 = 1159`, `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 = 856`, `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 = 856`, `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 = 857`, `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 = 857`, `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 = 709`, `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 = 709`, `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 = 945`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 945`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 694`, `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 = 694`, `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 = 1412`, `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 = 1412`, `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 = 1304`, `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 = 1304`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1497`, `min_n = 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 = 1497`, `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 = 994`, `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 = 994`, `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 = 1035`, `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 = 1035`, `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 = 1337`, `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 = 1337`, `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 = 1446`, `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 = 1446`, `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 = 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 = 806`, `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 = 806`, `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 = 1109`, `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 = 1109`, `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 = 1199`, `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 = 1199`, `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 = 926`, `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 = 926`, `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 = 476`, `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 = 476`, `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 = 1294`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1294`, `min_n = 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 = 947`, `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 = 947`, `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 = 1201`, `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 = 1201`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 578`, `min_n = 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 = 578`, `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 = 812`, `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 = 812`, `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 = 660`, `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 = 660`, `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 = 1428`, `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 = 1428`, `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 = 1036`, `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 = 1036`, `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 = 1385`, `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 = 1385`, `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 = 1487`, `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 = 1487`, `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 = 576`, `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 = 576`, `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 = 1413`, `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 = 1413`, `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 = 1212`, `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 = 1212`, `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 = 412`, `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 = 412`, `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 = 930`, `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 = 930`, `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 = 534`, `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 = 534`, `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 = 926`, `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 = 926`, `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 = 1372`, `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 = 1372`, `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 = 737`, `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 = 737`, `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 = 1457`, `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 = 1457`, `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 = 1326`, `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 = 1326`, `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 = 1158`, `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 = 1158`, `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 = 784`, `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 = 784`, `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 = 1268`, `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 = 1268`, `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 = 927`, `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 = 927`, `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 = 1275`, `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 = 1275`, `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 = 1125`, `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 = 1125`, `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 = 1106`, `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 = 1106`, `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 = 1279`, `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 = 1279`, `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 = 532`, `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 = 532`, `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 = 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 = 3`, `trees = 785`, `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 = 785`, `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 = 1171`, `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 = 1171`, `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 = 406`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 406`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1006`, `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 = 1006`, `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 = 812`, `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 = 812`, `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 = 1124`, `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 = 1124`, `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 = 835`, `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 = 835`, `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 = 769`, `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 = 769`, `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 = 1308`, `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 = 1308`, `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 = 782`, `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 = 782`, `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 = 941`, `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 = 941`, `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 = 726`, `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 = 726`, `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 = 794`, `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 = 794`, `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 = 439`, `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 = 439`, `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 = 916`, `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 = 916`, `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 = 1180`, `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 = 1180`, `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 = 1140`, `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 = 1140`, `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 = 1371`, `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 = 1371`, `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 = 1420`, `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 = 1420`, `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 = 999`, `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 = 999`, `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 = 1221`, `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 = 1221`, `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 = 994`, `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 = 994`, `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 = 429`, `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 = 429`, `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 = 1301`, `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 = 1301`, `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 = 903`, `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 = 903`, `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 = 926`, `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 = 926`, `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 = 1256`, `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 = 1256`, `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 = 888`, `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 = 888`, `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 = 882`, `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 = 882`, `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 = 1438`, `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 = 1438`, `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 = 738`, `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 = 738`, `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 = 966`, `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 = 966`, `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 = 1175`, `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 = 1175`, `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 = 617`, `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 = 617`, `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 = 981`, `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 = 981`, `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 = 1108`, `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 = 1108`, `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 = 782`, `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 = 782`, `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 = 1197`, `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 = 1197`, `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 = 477`, `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 = 477`, `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 = 1001`, `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 = 1001`, `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 = 1095`, `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 = 1095`, `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 = 1282`, `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 = 1282`, `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 = 976`, `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 = 976`, `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 = 1446`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 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 = 634`, `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 = 634`, `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 = 1483`, `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 = 1483`, `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 = 779`, `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 = 779`, `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 = 1483`, `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 = 1483`, `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 = 744`, `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 = 744`, `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 = 1401`, `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 = 1401`, `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 = 515`, `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 = 515`, `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 = 1234`, `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 = 1234`, `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 = 674`, `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 = 674`, `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 = 561`, `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 = 561`, `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 = 574`, `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 = 574`, `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 = 1185`, `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 = 1185`, `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 = 1298`, `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 = 1298`, `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 = 733`, `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 = 733`, `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 = 1472`, `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 = 1472`, `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 = 1210`, `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 = 1210`, `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 = 1442`, `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 = 1442`, `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 = 1036`, `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 = 1036`, `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 = 757`, `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 = 757`, `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 = 1212`, `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 = 1212`, `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 = 937`, `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 = 937`, `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 = 1116`, `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 = 1116`, `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 = 1176`, `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 = 1176`, `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 = 1489`, `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 = 1489`, `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 = 721`, `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 = 721`, `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 = 1332`, `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 = 1332`, `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 = 1286`, `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 = 1286`, `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 = 918`, `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 = 918`, `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 = 1452`, `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 = 1452`, `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 = 1103`, `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 = 1103`, `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 = 871`, `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 = 871`, `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 = 482`, `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 = 482`, `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 = 1223`, `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 = 1223`, `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 = 684`, `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 = 684`, `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 = 624`, `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 = 624`, `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 = 1221`, `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 = 1221`, `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 = 1342`, `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 = 1342`, `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 = 1003`, `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 = 1003`, `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 = 1069`, `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 = 1069`, `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 = 815`, `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 = 815`, `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 = 1434`, `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 = 1434`, `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 = 1059`, `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 = 1059`, `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 = 634`, `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 = 634`, `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 = 507`, `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 = 507`, `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 = 857`, `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 = 857`, `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 = 866`, `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 = 866`, `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 = 695`, `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 = 695`, `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 = 1061`, `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 = 1061`, `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 = 913`, `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 = 913`, `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 = 729`, `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 = 729`, `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 = 988`, `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 = 988`, `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 = 1451`, `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 = 1451`, `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 = 1302`, `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 = 1302`, `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 = 1065`, `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 = 1065`, `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 = 404`, `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 = 404`, `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 = 727`, `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 = 727`, `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 = 403`, `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 = 403`, `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 = 606`, `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 = 606`, `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 = 1112`, `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 = 1112`, `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 = 921`, `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 = 921`, `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 = 767`, `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 = 767`, `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 = 1084`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1084`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1479`, `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 = 1479`, `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 = 426`, `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 = 426`, `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 = 413`, `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 = 413`, `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 = 1293`, `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 = 1293`, `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 = 779`, `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 = 779`, `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 = 1320`, `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 = 1320`, `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 = 786`, `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 = 786`, `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 = 968`, `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 = 968`, `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 = 819`, `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 = 819`, `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 = 1285`, `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 = 1285`, `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 = 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 = 1484`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1484`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1312`, `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 = 1312`, `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 = 542`, `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 = 542`, `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 = 553`, `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 = 553`, `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 = 1439`, `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 = 1439`, `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 = 1093`, `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 = 1093`, `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 = 575`, `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 = 575`, `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 = 989`, `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 = 989`, `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 = 1037`, `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 = 1037`, `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 = 1074`, `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 = 1074`, `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 = 901`, `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 = 901`, `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 = 710`, `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 = 710`, `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 = 887`, `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 = 887`, `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 = 496`, `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 = 496`, `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 = 1349`, `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 = 1349`, `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 = 1458`, `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 = 1458`, `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 = 834`, `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 2 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 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 = 765`, `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 = 765`, `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 = 417`, `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 = 417`, `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 = 1055`, `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 = 1055`, `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 = 567`, `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 = 567`, `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 = 1005`, `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 = 1005`, `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 = 1451`, `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 = 1451`, `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 = 1290`, `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 = 1290`, `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 = 933`, `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 = 933`, `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 = 1384`, `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 = 1384`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1302`, `min_n = 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 = 1302`, `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 = 774`, `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 = 774`, `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 = 905`, `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 = 905`, `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 = 1445`, `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 = 1445`, `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 = 1198`, `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 = 1198`, `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 = 1201`, `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 = 1201`, `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 = 1107`, `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 = 1107`, `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 = 1087`, `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 = 1087`, `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 = 672`, `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 = 672`, `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 = 898`, `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 = 898`, `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 = 1443`, `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 = 1443`, `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 = 704`, `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 = 704`, `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 = 897`, `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 = 897`, `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 = 1100`, `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 = 1100`, `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 = 1320`, `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 = 1320`, `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 = 1204`, `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 = 1204`, `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 = 905`, `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 = 905`, `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 = 1092`, `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 = 1092`, `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 = 1137`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1137`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1040`, `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 = 1040`, `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 = 1358`, `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 = 1358`, `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 = 558`, `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 = 558`, `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 = 908`, `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 = 908`, `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 = 1347`, `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 = 1347`, `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 = 1440`, `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 = 1440`, `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 = 1176`, `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 = 1176`, `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 = 617`, `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 = 617`, `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 = 1080`, `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 = 1080`, `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 = 1421`, `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 = 1421`, `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 = 940`, `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 = 940`, `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 = 1314`, `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 = 1314`, `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 = 499`, `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 = 499`, `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 = 952`, `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 = 952`, `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 = 1162`, `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 = 1162`, `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 = 1300`, `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 = 1300`, `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 = 980`, `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 = 980`, `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 = 1485`, `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 = 1485`, `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 = 638`, `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 = 638`, `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 = 1472`, `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 = 1472`, `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 = 1079`, `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 = 1079`, `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 = 722`, `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 = 722`, `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 = 1213`, `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 = 1213`, `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 = 823`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 823`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 784`, `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 = 784`, `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 = 1330`, `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 = 1330`, `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 = 406`, `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 = 406`, `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 = 471`, `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 = 471`, `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 = 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 = 2`, `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 = 1281`, `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 = 1281`, `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 = 788`, `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 = 788`, `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 = 779`, `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 = 779`, `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 = 1020`, `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 = 1020`, `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 = 1440`, `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 = 1440`, `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 = 1413`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1413`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 487`, `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 = 487`, `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 = 584`, `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 = 584`, `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 = 1236`, `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 = 1236`, `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 = 855`, `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 = 855`, `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 = 932`, `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 = 932`, `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 = 988`, `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 = 988`, `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 = 525`, `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 = 525`, `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 = 657`, `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 = 657`, `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 = 434`, `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 = 434`, `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 = 1126`, `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 = 1126`, `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 = 452`, `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 = 452`, `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 = 1244`, `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 = 1244`, `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 = 693`, `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 = 693`, `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 = 1421`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1421`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 960`, `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 = 960`, `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 = 1294`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 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 = 706`, `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 = 706`, `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 = 1472`, `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 = 1472`, `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 = 1004`, `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 = 1004`, `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 = 1458`, `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 = 1458`, `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 = 826`, `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 = 826`, `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 = 1075`, `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 = 1075`, `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 = 1208`, `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 = 1208`, `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 = 1338`, `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 = 1338`, `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 = 641`, `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 = 641`, `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 = 1152`, `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 = 1152`, `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 = 1292`, `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 = 1292`, `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 = 1478`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1478`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 932`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 932`, `min_n = 26`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 450`, `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 = 450`, `min_n = 2`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1425`, `min_n = 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 = 1425`, `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 = 970`, `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 = 970`, `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 = 987`, `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 = 987`, `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 = 603`, `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 = 603`, `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 = 1038`, `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 = 1038`, `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 = 411`, `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 = 411`, `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 = 489`, `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 = 489`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1218`, `min_n = 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 = 1218`, `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 = 859`, `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 = 859`, `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 = 962`, `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 = 962`, `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 = 1209`, `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 = 1209`, `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 = 1204`, `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 = 1204`, `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 = 958`, `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 = 958`, `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 = 1321`, `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 = 1321`, `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 = 559`, `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 = 559`, `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 = 1343`, `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 = 1343`, `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 = 408`, `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 = 408`, `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 = 729`, `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 = 729`, `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 = 487`, `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 = 487`, `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 = 926`, `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 = 926`, `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 = 791`, `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 = 791`, `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 = 1031`, `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 = 1031`, `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 = 1028`, `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 = 1028`, `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 = 1121`, `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 = 1121`, `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 = 514`, `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 = 514`, `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 = 1424`, `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 = 1424`, `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 = 836`, `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 = 836`, `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 = 838`, `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 = 838`, `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 = 838`, `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 = 838`, `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 = 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 = 530`, `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 = 530`, `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 = 865`, `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 = 865`, `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 = 411`, `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 = 411`, `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 = 516`, `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 = 516`, `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 = 543`, `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 = 543`, `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 = 430`, `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 = 430`, `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 = 832`, `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 = 832`, `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 = 774`, `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 = 774`, `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 = 1311`, `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 = 1311`, `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 = 961`, `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 = 961`, `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 = 1497`, `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 = 1497`, `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 = 1416`, `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 = 1416`, `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 = 533`, `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 = 533`, `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 = 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 = 827`, `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 = 1137`, `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 = 1137`, `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 = 1168`, `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 = 1168`, `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 = 1305`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1305`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1014`, `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 = 1014`, `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 = 688`, `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 = 688`, `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 = 468`, `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 = 468`, `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 = 903`, `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 = 903`, `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 = 1397`, `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 = 1397`, `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 = 984`, `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 = 984`, `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 = 1439`, `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 = 1439`, `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 = 738`, `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 = 738`, `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 = 1126`, `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 = 1126`, `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 = 1493`, `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 = 1493`, `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 = 1052`, `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 = 1052`, `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 = 1490`, `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 = 1490`, `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 = 1226`, `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 = 1226`, `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 = 1071`, `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 = 1071`, `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 = 520`, `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 = 520`, `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 = 802`, `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 = 802`, `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 = 755`, `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 = 755`, `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 = 1378`, `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 = 1378`, `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 = 1244`, `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 = 1244`, `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 = 1484`, `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 = 1484`, `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 = 1369`, `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 = 1369`, `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 = 1213`, `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 = 1213`, `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 = 770`, `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 = 770`, `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 = 1141`, `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 = 1141`, `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 = 626`, `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 = 626`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1029`, `min_n = 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 = 1029`, `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 = 1351`, `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 = 1351`, `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 = 449`, `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 = 449`, `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 = 525`, `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 = 525`, `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 = 934`, `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 = 934`, `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 = 1422`, `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 = 1422`, `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 = 918`, `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 = 918`, `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 = 1377`, `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 = 1377`, `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 = 974`, `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 = 974`, `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 = 617`, `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 = 617`, `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 = 722`, `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 = 722`, `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 = 1000`, `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 = 1000`, `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 = 1353`, `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 = 1353`, `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 = 1252`, `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 = 1252`, `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 = 1313`, `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 = 1313`, `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 = 1272`, `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 = 1272`, `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 = 747`, `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 = 747`, `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 = 979`, `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 = 979`, `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 = 494`, `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 = 494`, `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 = 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 = 3`, `trees = 809`, `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 = 809`, `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 = 1073`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1073`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1162`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1162`, `min_n = 18`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 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 = 3`, `trees = 1493`, `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 = 1493`, `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 = 1358`, `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 = 1358`, `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 = 1480`, `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 = 1480`, `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 = 1036`, `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 = 1036`, `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 = 878`, `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 = 878`, `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 = 893`, `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 = 893`, `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 = 1338`, `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 = 1338`, `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 = 1239`, `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 = 1239`, `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 = 1376`, `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 = 1376`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1281`, `min_n = 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 = 1281`, `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 = 791`, `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 = 791`, `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 = 1462`, `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 = 1462`, `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 = 1458`, `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 = 1458`, `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 = 1088`, `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 = 1088`, `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 = 1495`, `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 = 1495`, `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 = 1362`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1362`, `min_n = 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 = 1268`, `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 = 1268`, `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 = 678`, `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 = 678`, `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 = 572`, `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 = 572`, `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 = 647`, `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 = 647`, `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 = 850`, `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 = 850`, `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 = 1393`, `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 = 1393`, `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 = 425`, `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 = 425`, `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 = 478`, `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 = 478`, `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 = 1050`, `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 = 1050`, `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 = 1170`, `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 = 1170`, `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 = 447`, `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 = 447`, `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 = 1170`, `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 = 1170`, `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 = 1181`, `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 = 1181`, `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 = 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 = 942`, `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 = 1486`, `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 = 1486`, `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 = 625`, `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 = 625`, `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 = 538`, `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 = 538`, `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 = 732`, `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 = 732`, `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 = 548`, `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 = 548`, `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 = 515`, `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 = 515`, `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 = 604`, `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 = 604`, `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 = 874`, `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 = 874`, `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 = 1345`, `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 = 1345`, `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 = 1069`, `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 = 1069`, `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 = 698`, `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 = 698`, `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 = 1499`, `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 = 1499`, `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 = 1497`, `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 = 1497`, `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 = 592`, `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 = 592`, `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 = 777`, `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 = 777`, `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 = 582`, `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 = 582`, `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 = 887`, `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 = 887`, `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 = 529`, `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 = 529`, `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 = 1261`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1261`, `min_n = 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 = 696`, `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 = 696`, `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 = 953`, `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 = 953`, `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 = 483`, `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 = 483`, `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 = 733`, `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 = 733`, `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 = 502`, `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 = 502`, `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 = 848`, `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 = 848`, `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 = 977`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 977`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 963`, `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 = 963`, `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 = 1192`, `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 = 1192`, `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 = 931`, `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 = 931`, `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 = 586`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 586`, `min_n = 20`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 550`, `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 = 550`, `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 = 876`, `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 = 876`, `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 = 909`, `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 = 909`, `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 = 1242`, `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 = 1242`, `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 = 1367`, `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 = 1367`, `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 = 1054`, `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 = 1054`, `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 = 1126`, `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 = 1126`, `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 = 1388`, `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 = 1388`, `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 = 1244`, `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 = 1244`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 739`, `min_n = 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 = 739`, `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 = 748`, `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 = 748`, `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 = 760`, `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 = 760`, `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 = 1130`, `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 = 1130`, `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 = 1263`, `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 = 1263`, `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 = 1011`, `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 = 1011`, `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 = 1393`, `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 = 1393`, `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 = 666`, `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 = 666`, `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 = 1301`, `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 = 1301`, `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 = 1245`, `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 = 1245`, `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 = 1216`, `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 = 1216`, `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 = 553`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 553`, `min_n = 25`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1477`, `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 = 1477`, `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 = 725`, `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 = 725`, `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 = 437`, `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 = 437`, `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 = 828`, `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 = 828`, `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 = 1133`, `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 = 1133`, `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 = 973`, `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 = 973`, `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 = 883`, `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 = 883`, `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 = 402`, `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 = 402`, `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 = 1111`, `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 = 1111`, `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 = 487`, `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 = 487`, `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 = 975`, `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 = 975`, `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 = 1165`, `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 = 1165`, `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 = 966`, `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 = 966`, `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 = 404`, `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 = 404`, `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 = 859`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 859`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1198`, `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 = 1198`, `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 = 1065`, `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 = 1065`, `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 = 546`, `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 = 546`, `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 = 788`, `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 = 788`, `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 = 529`, `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 = 529`, `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 = 900`, `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 = 900`, `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 = 737`, `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 = 737`, `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 = 1252`, `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 = 1252`, `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 = 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 = 3`, `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 = 2`, `trees = 464`, `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 = 464`, `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 = 873`, `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 = 873`, `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 = 1192`, `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 = 1192`, `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 = 879`, `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 = 879`, `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 = 1035`, `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 = 1035`, `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 = 1056`, `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 = 1056`, `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 = 827`, `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 = 827`, `min_n = 33`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1299`, `min_n = 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 = 1299`, `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 = 666`, `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 = 666`, `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 = 1091`, `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 = 1091`, `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 = 1228`, `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 = 1228`, `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 = 937`, `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 = 937`, `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 = 1476`, `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 = 1476`, `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 = 592`, `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 = 592`, `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 = 1188`, `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 = 1188`, `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 = 762`, `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 = 762`, `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 = 870`, `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 = 870`, `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 = 1237`, `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 = 1237`, `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 = 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 = 1469`, `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 = 629`, `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 = 629`, `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 = 1327`, `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 = 1327`, `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 = 752`, `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 = 752`, `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 = 1287`, `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 = 1287`, `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 = 1281`, `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 = 1281`, `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 = 1345`, `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 = 1345`, `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 = 753`, `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 = 753`, `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 = 641`, `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 = 641`, `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 = 1427`, `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 = 1427`, `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 = 1217`, `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 = 1217`, `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 = 885`, `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 = 885`, `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 = 1469`, `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 = 1469`, `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 = 904`, `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 = 904`, `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 = 1264`, `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 = 1264`, `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 = 846`, `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 = 846`, `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 = 925`, `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 = 925`, `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 = 1292`, `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 = 1292`, `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 = 1102`, `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 = 1102`, `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 = 438`, `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 = 438`, `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 = 1300`, `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 = 1300`, `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 = 1203`, `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 = 1203`, `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 = 605`, `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 = 605`, `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 = 828`, `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 = 828`, `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 = 508`, `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 = 508`, `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 = 934`, `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 = 934`, `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 = 915`, `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 = 915`, `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 = 461`, `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 = 461`, `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 = 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 = 401`, `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 = 401`, `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 = 607`, `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 = 607`, `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 = 1337`, `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 = 1337`, `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 = 987`, `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 = 987`, `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 = 516`, `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 = 516`, `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 = 598`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 598`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1448`, `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 = 1448`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 637`, `min_n = 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 = 637`, `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 = 854`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 854`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 402`, `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 = 402`, `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 = 801`, `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 = 801`, `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 = 723`, `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 = 723`, `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 = 1489`, `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 = 1489`, `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 = 1234`, `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 = 1234`, `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 = 1413`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1413`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 782`, `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 = 782`, `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 = 1474`, `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 = 1474`, `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 = 462`, `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 = 462`, `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 = 1250`, `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 = 1250`, `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 = 959`, `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 = 959`, `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 = 821`, `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 = 821`, `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 = 502`, `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 = 502`, `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 = 1023`, `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 = 1023`, `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 = 1379`, `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 = 1379`, `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 = 1185`, `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 = 1185`, `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 = 652`, `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 = 652`, `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 = 773`, `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 = 773`, `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 = 557`, `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 = 557`, `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 = 1033`, `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 = 1033`, `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 = 1416`, `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 = 1416`, `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 = 773`, `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 = 773`, `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 = 865`, `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 = 865`, `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 = 1209`, `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 = 1209`, `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 = 691`, `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 = 691`, `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 = 466`, `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 = 466`, `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 = 1378`, `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 = 1378`, `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 = 950`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 950`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1369`, `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 = 1369`, `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 = 641`, `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 = 641`, `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 = 1274`, `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 = 1274`, `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 = 1262`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1262`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 815`, `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 = 815`, `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 = 1075`, `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 = 1075`, `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 = 1246`, `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 = 1246`, `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 = 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 = 3`, `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 = 2`, `trees = 563`, `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 = 563`, `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 = 985`, `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 = 985`, `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 = 590`, `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 = 590`, `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 = 1142`, `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 = 1142`, `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 = 962`, `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 = 962`, `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 = 1212`, `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 = 1212`, `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 = 1379`, `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 = 1379`, `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 = 1284`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1284`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 592`, `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 = 592`, `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 = 834`, `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 = 834`, `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 = 1367`, `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 = 1367`, `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 = 567`, `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 = 567`, `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 = 1466`, `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 = 1466`, `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 = 1314`, `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 = 1314`, `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 = 932`, `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 = 932`, `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 = 1374`, `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 = 1374`, `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 = 1107`, `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 = 1107`, `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 = 1365`, `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 = 1365`, `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 = 955`, `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 = 955`, `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 = 1079`, `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 = 1079`, `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 = 618`, `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 = 618`, `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 = 822`, `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 = 822`, `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 = 1046`, `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 = 1046`, `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 = 824`, `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 = 824`, `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 = 508`, `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 = 508`, `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 = 1124`, `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 = 1124`, `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 = 763`, `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 = 763`, `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 = 522`, `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 = 522`, `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 = 1380`, `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 = 1380`, `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 = 1434`, `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 = 1434`, `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 = 695`, `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 = 695`, `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 = 1401`, `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 = 1401`, `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 = 547`, `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 = 547`, `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 = 1423`, `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 = 1423`, `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 = 1199`, `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 = 1199`, `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 = 1427`, `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 = 1427`, `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 = 1055`, `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 = 1055`, `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 = 1046`, `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 = 1046`, `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 = 650`, `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 = 650`, `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 = 1471`, `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 = 1471`, `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 = 1307`, `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 = 1307`, `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 = 1227`, `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 = 1227`, `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 = 827`, `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 = 827`, `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 = 871`, `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 = 871`, `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 = 1400`, `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 = 1400`, `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 = 793`, `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 = 793`, `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 = 437`, `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 = 437`, `min_n = 37`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1032`, `min_n = 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 = 1032`, `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 = 1104`, `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 = 1104`, `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 = 860`, `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 = 860`, `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 = 1298`, `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 = 1298`, `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 = 866`, `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 = 866`, `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 = 1406`, `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 = 1406`, `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 = 1478`, `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 = 1478`, `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 = 717`, `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 = 717`, `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 = 665`, `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 = 665`, `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 = 901`, `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 = 901`, `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 = 1103`, `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 = 1103`, `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 = 711`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 1 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 711`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'.