There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 517`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 517`, `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 = 1184`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1184`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1359`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1359`, `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 = 848`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 848`, `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 = 1177`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1177`, `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 = 4`, `trees = 886`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 886`, `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 = 1273`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1273`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 710`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 710`, `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 = 1424`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1424`, `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 = 479`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 479`, `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 = 548`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 548`, `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 = 4`, `trees = 1317`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1317`, `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 = 641`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 641`, `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 = 4`, `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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `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 = 3`, `trees = 1235`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1235`, `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 = 1368`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1368`, `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 = 1376`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1376`, `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 = 4`, `trees = 556`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 556`, `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 = 614`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 614`, `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 = 4`, `trees = 956`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 956`, `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 = 1154`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1154`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1234`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1234`, `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 = 4`, `trees = 602`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 602`, `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 = 4`, `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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `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 = 4`, `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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `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 = 4`, `trees = 1462`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1462`, `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 = 4`, `trees = 552`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 552`, `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 = 806`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 806`, `min_n = 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 = 4`, `trees = 944`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 944`, `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 = 4`, `trees = 1055`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1055`, `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 = 1351`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1351`, `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 = 533`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 533`, `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 = 4`, `trees = 643`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 643`, `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 = 960`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 960`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 407`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 407`, `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 = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1358`, `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 = 1011`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1011`, `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 = 4`, `trees = 1136`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1136`, `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 = 566`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 566`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 707`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 707`, `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 = 860`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 860`, `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 = 4`, `trees = 703`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 703`, `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 = 1089`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1089`, `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 = 442`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 442`, `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 = 883`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 883`, `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 = 606`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 606`, `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 = 445`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 445`, `min_n = 13`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 948`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 948`, `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 = 4`, `trees = 599`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 599`, `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 = 534`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 534`, `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 = 4`, `trees = 404`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 404`, `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 = 1132`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1132`, `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 = 4`, `trees = 1394`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1394`, `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 = 408`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 408`, `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 = 850`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 850`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 4`, `trees = 1076`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1076`, `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 = 965`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 965`, `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 = 1053`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1053`, `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 = 4`, `trees = 667`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 667`, `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 = 4`, `trees = 1114`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1114`, `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 = 4`, `trees = 1348`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1348`, `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 = 818`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 818`, `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 = 463`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 463`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 4`, `trees = 822`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 822`, `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 = 631`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 631`, `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 = 1497`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1497`, `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 = 1449`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1449`, `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 = 923`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 923`, `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 = 4`, `trees = 1090`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1090`, `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 = 974`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 974`, `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 = 4`, `trees = 1340`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1340`, `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 = 4`, `trees = 1276`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1276`, `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 = 1395`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1395`, `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 = 4`, `trees = 983`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 983`, `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 = 927`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 927`, `min_n = 10`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 590`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 590`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1213`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1213`, `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 = 4`, `trees = 600`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 600`, `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 = 628`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 628`, `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 = 501`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 501`, `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 = 417`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 417`, `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 = 842`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 842`, `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 = 4`, `trees = 652`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 652`, `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 = 936`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 936`, `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 = 852`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 852`, `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 = 511`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 511`, `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 = 943`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 943`, `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 = 1122`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1122`, `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 = 824`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 824`, `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 = 807`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 807`, `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 = 717`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 717`, `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 = 4`, `trees = 624`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 624`, `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 = 771`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 771`, `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 = 801`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 801`, `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 = 555`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 555`, `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 = 485`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 485`, `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 = 4`, `trees = 1108`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1108`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 832`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 832`, `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 = 1106`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1106`, `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 = 4`, `trees = 661`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 661`, `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 = 1155`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1155`, `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 = 410`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 410`, `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 = 1212`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1212`, `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 = 4`, `trees = 1497`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1497`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 454`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 454`, `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 = 719`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 719`, `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 = 4`, `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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `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 = 3`, `trees = 1475`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1475`, `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 = 4`, `trees = 874`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 874`, `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 = 977`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 977`, `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 = 4`, `trees = 942`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 942`, `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 = 632`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 632`, `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 = 4`, `trees = 1218`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1218`, `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 = 953`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 953`, `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 = 4`, `trees = 663`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 663`, `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 = 4`, `trees = 856`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 856`, `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 = 891`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 891`, `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 = 672`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 672`, `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 = 1094`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1094`, `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 = 942`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 942`, `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 = 969`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 969`, `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 = 4`, `trees = 1239`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1239`, `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 = 4`, `trees = 413`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 413`, `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 = 4`, `trees = 454`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 454`, `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 = 1103`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1103`, `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 = 4`, `trees = 486`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 486`, `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 = 487`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 487`, `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 = 1462`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1462`, `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 = 1305`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1305`, `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 = 4`, `trees = 1403`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1403`, `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 = 4`, `trees = 442`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 442`, `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 = 4`, `trees = 715`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 715`, `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 = 582`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 582`, `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 = 944`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 944`, `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 = 4`, `trees = 510`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 510`, `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 = 4`, `trees = 1220`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1220`, `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 = 4`, `trees = 516`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 516`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 687`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 687`, `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 = 4`, `trees = 490`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 490`, `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 = 1441`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1441`, `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 = 1271`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1271`, `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 = 4`, `trees = 1000`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1000`, `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 = 4`, `trees = 467`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 467`, `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 = 1420`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1420`, `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 = 835`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 835`, `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 = 4`, `trees = 949`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 949`, `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 = 1034`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1034`, `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 = 882`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 882`, `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 = 4`, `trees = 1277`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1277`, `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 = 910`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 910`, `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 = 635`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 635`, `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 = 4`, `trees = 902`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 902`, `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 = 595`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 595`, `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 = 4`, `trees = 1237`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1237`, `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 = 4`, `trees = 515`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 515`, `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 = 4`, `trees = 1215`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1215`, `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 = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 636`, `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 = 948`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 948`, `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 = 796`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 796`, `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 = 4`, `trees = 1115`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1115`, `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 = 662`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 662`, `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 = 4`, `trees = 978`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 978`, `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 = 4`, `trees = 405`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 405`, `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 = 4`, `trees = 1004`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1004`, `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 = 1282`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1282`, `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 = 989`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 989`, `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 = 1009`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1009`, `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 = 1349`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1349`, `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 = 541`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 541`, `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 = 446`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 446`, `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 = 585`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 585`, `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 = 4`, `trees = 1268`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1268`, `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 = 582`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 582`, `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 = 4`, `trees = 1378`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1378`, `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 = 440`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 440`, `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 = 620`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 620`, `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 = 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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 4`, `trees = 1222`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1222`, `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 = 665`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 665`, `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 = 1054`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1054`, `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 = 4`, `trees = 1011`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1011`, `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 = 4`, `trees = 1348`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1348`, `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 = 426`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 426`, `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 = 1167`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1167`, `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 = 505`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 505`, `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 = 4`, `trees = 1315`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1315`, `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 = 4`, `trees = 1177`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1177`, `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 = 4`, `trees = 803`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 803`, `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 = 546`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 546`, `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 = 888`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 888`, `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 = 415`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 415`, `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 = 806`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 806`, `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 = 952`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 952`, `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 = 1096`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1096`, `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 = 1101`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1101`, `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 = 4`, `trees = 788`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 788`, `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 = 4`, `trees = 609`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 609`, `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 = 600`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 600`, `min_n = 5`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1477`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1477`, `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 = 1223`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1223`, `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 = 1197`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1197`, `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 = 1374`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1374`, `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 = 1493`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1493`, `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 = 897`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 897`, `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 = 4`, `trees = 743`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 743`, `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 = 4`, `trees = 531`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 531`, `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 = 544`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 544`, `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 = 1196`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1196`, `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 = 4`, `trees = 509`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 509`, `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 = 4`, `trees = 932`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 932`, `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 = 911`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 911`, `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 = 4`, `trees = 868`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 868`, `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 = 4`, `trees = 1009`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1009`, `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 = 630`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 630`, `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 = 4`, `trees = 771`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 771`, `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 = 428`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 428`, `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 = 4`, `trees = 945`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 945`, `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 = 4`, `trees = 454`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 454`, `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 = 538`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 538`, `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 = 4`, `trees = 1481`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1481`, `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 = 804`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 804`, `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 = 4`, `trees = 848`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 848`, `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 = 790`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 790`, `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 = 513`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 513`, `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 = 1171`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1171`, `min_n = 8`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 4`, `trees = 1415`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1415`, `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 = 4`, `trees = 804`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 804`, `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 = 1433`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1433`, `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 = 703`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 703`, `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 = 4`, `trees = 1014`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1014`, `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 = 666`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 666`, `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 = 1467`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1467`, `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 = 4`, `trees = 1155`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1155`, `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 = 1222`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1222`, `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 = 4`, `trees = 1473`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1473`, `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 = 4`, `trees = 892`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 892`, `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 = 787`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 787`, `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 = 916`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 916`, `min_n = 22`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 761`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 761`, `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 = 830`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 830`, `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 = 835`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 835`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 4`, `trees = 836`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 836`, `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 = 4`, `trees = 1001`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1001`, `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 = 4`, `trees = 1283`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1283`, `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 = 4`, `trees = 1206`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1206`, `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 = 4`, `trees = 1140`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1140`, `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 = 4`, `trees = 570`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 570`, `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 = 4`, `trees = 1290`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1290`, `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 = 4`, `trees = 1100`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1100`, `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 = 1245`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1245`, `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 = 1289`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1289`, `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 = 749`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 749`, `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 = 506`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 506`, `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 = 1377`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1377`, `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 = 458`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 458`, `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 = 1198`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1198`, `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 = 1482`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1482`, `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 = 464`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 464`, `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 = 4`, `trees = 1413`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1413`, `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 = 4`, `trees = 942`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 942`, `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 = 742`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 742`, `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 = 4`, `trees = 1107`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1107`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 755`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 755`, `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 = 1013`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1013`, `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 = 1184`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1184`, `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 = 832`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 832`, `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 = 4`, `trees = 668`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 668`, `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 = 457`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 457`, `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 = 674`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 674`, `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 = 552`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 552`, `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 = 4`, `trees = 1046`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1046`, `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 = 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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 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 = 4`, `trees = 484`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 484`, `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 = 1027`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1027`, `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 = 1028`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1028`, `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 = 1203`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1203`, `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 = 566`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 566`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 665`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 665`, `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 = 4`, `trees = 1039`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1039`, `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 = 1095`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1095`, `min_n = 15`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 652`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 652`, `min_n = 28`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 719`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 719`, `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 = 1207`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1207`, `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 = 576`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 576`, `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 = 4`, `trees = 437`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 437`, `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 = 4`, `trees = 571`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 571`, `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 = 4`, `trees = 557`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 557`, `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 = 1389`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1389`, `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 = 1231`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1231`, `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 = 411`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 411`, `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 = 406`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 406`, `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 = 4`, `trees = 1226`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1226`, `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 = 1211`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1211`, `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 = 4`, `trees = 1059`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1059`, `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 = 897`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 897`, `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 = 4`, `trees = 608`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 608`, `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 = 648`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 648`, `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 = 4`, `trees = 1251`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1251`, `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 = 1215`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1215`, `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 = 1202`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1202`, `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 = 1113`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1113`, `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 = 4`, `trees = 986`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 986`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 660`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 660`, `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 = 1094`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1094`, `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 = 1477`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1477`, `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 = 1233`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1233`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 490`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 490`, `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 = 709`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 709`, `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 = 4`, `trees = 425`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 425`, `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 = 1318`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1318`, `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 = 519`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 519`, `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 = 4`, `trees = 1422`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1422`, `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 = 4`, `trees = 798`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 798`, `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 = 1386`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1386`, `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 = 961`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 961`, `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 = 1349`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1349`, `min_n = 27`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1385`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1385`, `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 = 891`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 891`, `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 = 885`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 885`, `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 = 4`, `trees = 1165`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1165`, `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 = 1125`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1125`, `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 = 413`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 413`, `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 = 1365`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1365`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1422`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1422`, `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 = 4`, `trees = 764`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 764`, `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 = 4`, `trees = 400`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 400`, `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 = 1432`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1432`, `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 = 771`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 771`, `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 = 4`, `trees = 873`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 873`, `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 = 1213`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1213`, `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 = 1083`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1083`, `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 = 4`, `trees = 525`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 525`, `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 = 887`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 887`, `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 = 1286`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1286`, `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 = 4`, `trees = 514`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 514`, `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 = 1224`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1224`, `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 = 4`, `trees = 1430`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1430`, `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 = 695`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 695`, `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 = 627`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 627`, `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 = 833`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 833`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 858`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 858`, `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 = 4`, `trees = 1293`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1293`, `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 = 4`, `trees = 1428`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1428`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 787`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 787`, `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 = 1397`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1397`, `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 = 1049`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1049`, `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 = 1108`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1108`, `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 = 4`, `trees = 1160`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1160`, `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 = 1420`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1420`, `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 = 757`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 757`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 4`, `trees = 958`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 958`, `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 = 533`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 533`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1374`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1374`, `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 = 1443`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1443`, `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 = 756`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 756`, `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 = 740`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 740`, `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 = 575`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 575`, `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 = 892`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 892`, `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 = 1279`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1279`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 4`, `trees = 707`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 707`, `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 = 970`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 970`, `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 = 4`, `trees = 462`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 462`, `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 = 4`, `trees = 498`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 498`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 4`, `trees = 1205`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1205`, `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 = 1442`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1442`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 820`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 820`, `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 = 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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 4`, `trees = 1320`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1320`, `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 = 4`, `trees = 648`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 648`, `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 = 498`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 498`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `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 = 4`, `trees = 691`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 691`, `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 = 692`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 692`, `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 = 1078`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1078`, `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 = 4`, `trees = 1265`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1265`, `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 = 555`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 555`, `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 = 4`, `trees = 1442`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1442`, `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 = 4`, `trees = 638`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 638`, `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 = 1443`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1443`, `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 = 1136`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1136`, `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 = 4`, `trees = 520`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 520`, `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 = 499`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 499`, `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 = 508`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 508`, `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 = 834`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 834`, `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 = 1429`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1429`, `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 = 1140`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1140`, `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 = 1272`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1272`, `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 = 4`, `trees = 1470`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1470`, `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 = 954`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 954`, `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 = 1118`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1118`, `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 = 4`, `trees = 1088`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1088`, `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 = 1293`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1293`, `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 = 4`, `trees = 656`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 656`, `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 = 992`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 992`, `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 = 4`, `trees = 1291`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1291`, `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 = 1191`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1191`, `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 = 4`, `trees = 1019`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1019`, `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 = 1213`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1213`, `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 = 4`, `trees = 544`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 544`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1185`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1185`, `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 = 1174`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1174`, `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 = 1034`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1034`, `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 = 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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 958`, `min_n = 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 = 4`, `trees = 1360`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1360`, `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 = 509`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 509`, `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 = 1108`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1108`, `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 = 4`, `trees = 876`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 876`, `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 = 705`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 705`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 620`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 620`, `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 = 4`, `trees = 1294`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1294`, `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 = 4`, `trees = 628`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 628`, `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 = 4`, `trees = 907`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 907`, `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 = 4`, `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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `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 = 558`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 558`, `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 = 1175`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1175`, `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 = 4`, `trees = 841`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 841`, `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 = 973`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 973`, `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 = 566`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 566`, `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 = 1372`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1372`, `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 = 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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 1453`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1453`, `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 = 4`, `trees = 595`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 595`, `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 = 4`, `trees = 1081`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1081`, `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 = 4`, `trees = 569`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 569`, `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 = 4`, `trees = 833`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 833`, `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 = 4`, `trees = 1388`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1388`, `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 = 809`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 809`, `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 = 708`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 708`, `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 = 4`, `trees = 414`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 414`, `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 = 995`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 995`, `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 = 643`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 643`, `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 = 1200`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1200`, `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 = 4`, `trees = 862`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 862`, `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 = 569`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 569`, `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 = 493`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 493`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 634`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 634`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 4`, `trees = 475`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 475`, `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 = 4`, `trees = 742`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 742`, `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 = 632`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 632`, `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 = 4`, `trees = 1243`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1243`, `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 = 1447`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1447`, `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 = 1210`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1210`, `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 = 4`, `trees = 769`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 769`, `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 = 980`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 980`, `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 = 4`, `trees = 582`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 582`, `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 = 492`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 492`, `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 = 481`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 481`, `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 = 4`, `trees = 1366`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1366`, `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 = 560`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 560`, `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 = 1372`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1372`, `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 = 4`, `trees = 1237`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1237`, `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 = 703`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 703`, `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 = 580`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 580`, `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 = 783`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 783`, `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 = 1107`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1107`, `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 = 4`, `trees = 513`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 513`, `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 = 649`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 649`, `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 = 4`, `trees = 1219`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1219`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 4`, `trees = 918`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 918`, `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 = 655`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 655`, `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 = 864`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 864`, `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 = 884`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 884`, `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 = 1138`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1138`, `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 = 4`, `trees = 1268`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1268`, `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 = 1107`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1107`, `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 = 4`, `trees = 555`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 555`, `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 = 4`, `trees = 949`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 949`, `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 = 1456`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1456`, `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 = 686`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 686`, `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 = 1466`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1466`, `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 = 470`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 470`, `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 = 4`, `trees = 803`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 803`, `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 = 1349`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1349`, `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 = 1291`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1291`, `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 = 1227`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1227`, `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 = 718`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 718`, `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 = 990`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 990`, `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 = 4`, `trees = 456`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 456`, `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 = 870`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 870`, `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 = 4`, `trees = 987`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 987`, `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 = 4`, `trees = 680`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 680`, `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 = 1080`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1080`, `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 = 726`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 726`, `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 = 4`, `trees = 1081`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1081`, `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 = 1258`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1258`, `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 = 1038`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1038`, `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 = 1067`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1067`, `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 = 1185`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1185`, `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 = 4`, `trees = 902`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 902`, `min_n = 7`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 658`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 658`, `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 = 1424`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1424`, `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 = 4`, `trees = 1320`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1320`, `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 = 606`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 606`, `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 = 632`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 632`, `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 = 4`, `trees = 510`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 510`, `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 = 4`, `trees = 582`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 582`, `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 = 1433`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1433`, `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 = 1349`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1349`, `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 = 4`, `trees = 1494`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1494`, `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 = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 878`, `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 = 4`, `trees = 913`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 913`, `min_n = 4`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1496`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1496`, `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 = 979`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 979`, `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 = 1202`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1202`, `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 = 4`, `trees = 1312`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1312`, `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 = 1003`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1003`, `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 = 765`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 765`, `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 = 4`, `trees = 577`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 577`, `min_n = 18`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 534`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 534`, `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 = 4`, `trees = 821`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 821`, `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 = 568`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 568`, `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 = 1438`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1438`, `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 = 937`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 937`, `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 = 1129`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1129`, `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 = 970`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 970`, `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 = 1397`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1397`, `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 = 1292`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1292`, `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 = 4`, `trees = 531`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 531`, `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 = 871`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 871`, `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 = 817`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 817`, `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 = 1491`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1491`, `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 = 621`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 621`, `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 = 510`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 510`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 626`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 626`, `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 = 831`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 831`, `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 = 640`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 640`, `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 = 4`, `trees = 465`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 465`, `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 = 4`, `trees = 1440`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1440`, `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 = 656`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 656`, `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 = 1237`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1237`, `min_n = 8`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1179`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1179`, `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 = 704`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 704`, `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 = 582`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 582`, `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 = 1423`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1423`, `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 = 4`, `trees = 993`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 993`, `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 = 1155`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1155`, `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 = 1349`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1349`, `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 = 4`, `trees = 530`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 530`, `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 = 4`, `trees = 402`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 402`, `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 = 4`, `trees = 495`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 495`, `min_n = 24`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 794`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 794`, `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 = 4`, `trees = 1420`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1420`, `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 = 862`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 862`, `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 = 751`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 751`, `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 = 777`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 777`, `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 = 4`, `trees = 1388`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1388`, `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 = 574`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 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 = 950`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 950`, `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 = 4`, `trees = 1294`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1294`, `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 = 1031`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1031`, `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 = 900`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 900`, `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 = 1451`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1451`, `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 = 742`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 742`, `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 = 584`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 584`, `min_n = 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 = 4`, `trees = 743`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 743`, `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 = 1119`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1119`, `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 = 4`, `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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `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 = 4`, `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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `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 = 2`, `trees = 732`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 732`, `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 = 4`, `trees = 805`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 805`, `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 = 4`, `trees = 1263`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1263`, `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 = 1302`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1302`, `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 = 962`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 962`, `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 = 521`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 521`, `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 = 1257`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1257`, `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 = 4`, `trees = 998`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 998`, `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 = 1274`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1274`, `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 = 4`, `trees = 1006`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1006`, `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 = 1289`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1289`, `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 = 859`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 859`, `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 = 1205`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1205`, `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 = 793`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 793`, `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 = 4`, `trees = 1126`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1126`, `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 = 456`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 456`, `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 = 672`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 672`, `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 = 634`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 634`, `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 = 4`, `trees = 1322`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1322`, `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 = 543`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 543`, `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 = 603`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 603`, `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 = 4`, `trees = 855`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 855`, `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 = 4`, `trees = 532`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 532`, `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 = 713`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 713`, `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 = 1205`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1205`, `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 = 838`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 838`, `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 = 1248`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1248`, `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 = 1408`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1408`, `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 = 4`, `trees = 1488`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1488`, `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 = 947`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 947`, `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 = 536`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 536`, `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 = 465`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 465`, `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 = 4`, `trees = 487`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 487`, `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 = 645`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 645`, `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 = 464`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 464`, `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 = 1120`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1120`, `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 = 854`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 854`, `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 = 4`, `trees = 983`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 983`, `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 = 465`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 465`, `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 = 825`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 825`, `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 = 1219`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1219`, `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 = 1051`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1051`, `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 = 1324`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1324`, `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 = 777`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 777`, `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 = 4`, `trees = 582`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 582`, `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 = 4`, `trees = 406`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 406`, `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 = 1054`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1054`, `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 = 1148`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1148`, `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 = 711`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 711`, `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 = 746`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 746`, `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 = 675`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 675`, `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 = 4`, `trees = 830`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 830`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 4`, `trees = 1039`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1039`, `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 = 1334`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1334`, `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 = 4`, `trees = 888`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 888`, `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 = 552`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 552`, `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 = 737`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 737`, `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 = 4`, `trees = 416`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 416`, `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 = 1144`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1144`, `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 = 785`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 785`, `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 = 4`, `trees = 603`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 603`, `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 = 4`, `trees = 649`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 649`, `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 = 483`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 483`, `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 = 1132`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1132`, `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 = 977`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 977`, `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 = 555`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 555`, `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 = 1414`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1414`, `min_n = 30`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 739`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 739`, `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 = 4`, `trees = 441`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 441`, `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 = 647`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 647`, `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 = 1326`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1326`, `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 = 4`, `trees = 1078`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1078`, `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 = 831`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 831`, `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 = 4`, `trees = 1002`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1002`, `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 = 608`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 608`, `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 = 4`, `trees = 882`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 882`, `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 = 619`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 619`, `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 = 4`, `trees = 710`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 710`, `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 = 4`, `trees = 702`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 702`, `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 = 1348`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1348`, `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 = 1487`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1487`, `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 = 4`, `trees = 737`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 737`, `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 = 4`, `trees = 633`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 633`, `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 = 4`, `trees = 777`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 777`, `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 = 1106`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1106`, `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 = 4`, `trees = 1073`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1073`, `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 = 935`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 935`, `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 = 4`, `trees = 1410`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1410`, `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 = 4`, `trees = 1402`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1402`, `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 = 663`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 663`, `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 = 1175`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1175`, `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 = 562`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 562`, `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 = 1134`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1134`, `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 = 4`, `trees = 833`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 833`, `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 = 408`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 408`, `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 = 4`, `trees = 1449`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1449`, `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 = 1049`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1049`, `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 = 4`, `trees = 505`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 505`, `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 = 489`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 489`, `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 = 1205`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1205`, `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 = 892`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 892`, `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 = 401`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 401`, `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 = 409`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 409`, `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 = 675`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 675`, `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 = 1032`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1032`, `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 = 4`, `trees = 814`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 814`, `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 = 711`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 711`, `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 = 4`, `trees = 985`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 985`, `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 = 951`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 951`, `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 = 698`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 698`, `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 = 949`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 949`, `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 = 935`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 935`, `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 = 4`, `trees = 1029`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1029`, `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 = 4`, `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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `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 = 1063`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1063`, `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 = 4`, `trees = 735`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 735`, `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 = 637`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 637`, `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 = 602`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 602`, `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 = 4`, `trees = 1248`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1248`, `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 = 4`, `trees = 753`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 753`, `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 = 1064`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1064`, `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 = 1030`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1030`, `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 = 423`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 423`, `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 = 4`, `trees = 777`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 777`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1268`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1268`, `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 = 4`, `trees = 1426`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1426`, `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 = 1226`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1226`, `min_n = 36`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 852`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 852`, `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 = 862`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 862`, `min_n = 38`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 981`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 981`, `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 = 484`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 484`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1455`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1455`, `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 = 541`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 541`, `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 = 1170`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1170`, `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 = 4`, `trees = 777`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 777`, `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 = 4`, `trees = 1386`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1386`, `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 = 4`, `trees = 1351`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1351`, `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 = 1456`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1456`, `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 = 687`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 687`, `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 = 4`, `trees = 1012`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1012`, `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 = 888`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 888`, `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 = 4`, `trees = 784`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 784`, `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 = 482`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 482`, `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 = 1271`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1271`, `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 = 4`, `trees = 1039`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1039`, `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 = 1355`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1355`, `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 = 998`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 998`, `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 = 1043`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1043`, `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 = 793`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 793`, `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 = 4`, `trees = 1152`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1152`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1062`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1062`, `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 = 1014`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1014`, `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 = 4`, `trees = 1451`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1451`, `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 = 4`, `trees = 1301`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1301`, `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 = 1116`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1116`, `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 = 4`, `trees = 712`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 712`, `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 = 4`, `trees = 981`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 981`, `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 = 1098`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1098`, `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 = 898`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 898`, `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 = 1065`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1065`, `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 = 4`, `trees = 790`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 790`, `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 = 4`, `trees = 524`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 524`, `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 = 4`, `trees = 1289`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1289`, `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 = 580`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 580`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 441`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 441`, `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 = 4`, `trees = 632`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 632`, `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 = 1072`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1072`, `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 = 1164`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1164`, `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 = 563`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 563`, `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 = 1109`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1109`, `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 = 4`, `trees = 1270`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1270`, `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 = 565`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 565`, `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 = 949`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 949`, `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 = 648`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 648`, `min_n = 39`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 3`, `trees = 1039`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1039`, `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 = 868`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 868`, `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 = 4`, `trees = 793`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 793`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 613`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 613`, `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 = 458`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 458`, `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 = 557`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 557`, `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 = 1122`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1122`, `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 = 1364`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1364`, `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 = 781`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 781`, `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 = 496`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 496`, `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 = 904`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 904`, `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 = 997`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 997`, `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 = 4`, `trees = 415`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 415`, `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 = 1145`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1145`, `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 = 4`, `trees = 1345`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1345`, `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 = 870`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 870`, `min_n = 14`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 587`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 587`, `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 = 1380`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1380`, `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 = 989`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 989`, `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 = 685`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 685`, `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 = 4`, `trees = 821`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 821`, `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 = 4`, `trees = 469`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 469`, `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 = 493`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 493`, `min_n = 2`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1330`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1330`, `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 = 4`, `trees = 1038`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1038`, `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 = 694`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 694`, `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 = 653`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 653`, `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 = 628`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 628`, `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 = 1266`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1266`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 489`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 489`, `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 = 4`, `trees = 1257`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1257`, `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 = 4`, `trees = 819`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 819`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 4`, `trees = 1323`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1323`, `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 = 1229`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1229`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 535`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 535`, `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 = 1127`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1127`, `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 = 4`, `trees = 1127`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1127`, `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 = 1319`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1319`, `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 = 4`, `trees = 533`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 533`, `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 = 827`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 827`, `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 = 4`, `trees = 1425`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1425`, `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 = 4`, `trees = 1457`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1457`, `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 = 4`, `trees = 1450`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1450`, `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 = 989`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 989`, `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 = 4`, `trees = 1226`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1226`, `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 = 1140`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1140`, `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 = 576`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 576`, `min_n = 23`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 919`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 919`, `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 = 952`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 952`, `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 = 4`, `trees = 854`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 854`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 879`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 879`, `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 = 4`, `trees = 676`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 676`, `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 = 1443`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1443`, `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 = 753`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 753`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1141`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 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 = 529`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 529`, `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 = 1270`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1270`, `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 = 1380`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1380`, `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 = 4`, `trees = 401`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 401`, `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 = 1408`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1408`, `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 = 685`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 685`, `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 = 1406`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1406`, `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 = 456`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 456`, `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 = 4`, `trees = 1203`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1203`, `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 = 4`, `trees = 1151`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1151`, `min_n = 6`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 897`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 897`, `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 = 492`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 492`, `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 = 4`, `trees = 1479`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1479`, `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 = 4`, `trees = 753`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 753`, `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 = 4`, `trees = 673`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 673`, `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 = 4`, `trees = 1246`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1246`, `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 = 4`, `trees = 1181`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1181`, `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 = 4`, `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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `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 = 4`, `trees = 1488`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1488`, `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 = 4`, `trees = 1137`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1137`, `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 = 4`, `trees = 468`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 468`, `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 = 580`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 580`, `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 = 1385`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1385`, `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 = 4`, `trees = 575`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 575`, `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 = 4`, `trees = 901`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 901`, `min_n = 9`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 475`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 475`, `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 = 983`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 983`, `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 = 1373`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1373`, `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 = 708`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 708`, `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 = 4`, `trees = 508`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 508`, `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 = 4`, `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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `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 = 2`, `trees = 1020`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1020`, `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 = 1438`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1438`, `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 = 579`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 579`, `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 = 769`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 769`, `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 = 1262`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1262`, `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 = 1473`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1473`, `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 = 1497`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1497`, `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 = 816`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 816`, `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 = 833`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 833`, `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 = 1291`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1291`, `min_n = 2`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1332`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1332`, `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 = 418`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 418`, `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 = 4`, `trees = 1236`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1236`, `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 = 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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 744`, `min_n = 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 = 745`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 745`, `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 = 1236`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1236`, `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 = 4`, `trees = 504`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 504`, `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 = 1347`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1347`, `min_n = 40`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 1358`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1358`, `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 = 4`, `trees = 730`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 730`, `min_n = 18`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1471`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1471`, `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 = 4`, `trees = 1109`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1109`, `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 = 4`, `trees = 1347`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1347`, `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 = 1080`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1080`, `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 = 1133`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1133`, `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 = 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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 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 = 656`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 656`, `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 = 4`, `trees = 433`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 433`, `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 = 4`, `trees = 1137`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1137`, `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 = 562`, `min_n = 9`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 562`, `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 = 4`, `trees = 793`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 793`, `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 = 910`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 910`, `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 = 622`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 622`, `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 = 512`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 512`, `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 = 4`, `trees = 443`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 443`, `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 = 4`, `trees = 473`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 473`, `min_n = 29`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 982`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 982`, `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 = 4`, `trees = 435`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 435`, `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 = 4`, `trees = 580`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 580`, `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 = 4`, `trees = 851`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 851`, `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 = 1214`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1214`, `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 = 509`, `min_n = 7`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 509`, `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 = 462`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 462`, `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 = 4`, `trees = 634`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 634`, `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 = 805`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 805`, `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 = 1397`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1397`, `min_n = 31`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 832`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 832`, `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 = 977`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 977`, `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 = 1028`, `min_n = 8`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1028`, `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 = 1355`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1355`, `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 = 850`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 850`, `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 = 622`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 622`, `min_n = 3`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 4`, `trees = 669`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 669`, `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 = 4`, `trees = 1199`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1199`, `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 = 1404`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1404`, `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 = 977`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 977`, `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 = 4`, `trees = 1013`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1013`, `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 = 4`, `trees = 441`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 441`, `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 = 4`, `trees = 712`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 712`, `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 = 919`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 919`, `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 = 1111`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1111`, `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 = 1019`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1019`, `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 = 728`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 728`, `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 = 1255`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1255`, `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 = 4`, `trees = 1186`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1186`, `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 = 4`, `trees = 924`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 924`, `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 = 4`, `trees = 771`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 771`, `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 = 964`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 964`, `min_n = 21`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 649`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 649`, `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 = 706`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 706`, `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 = 552`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 552`, `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 = 607`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 607`, `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 = 4`, `trees = 768`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 768`, `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 = 447`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 447`, `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 = 403`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 403`, `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 = 1446`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1446`, `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 = 1311`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 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 = 1023`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1023`, `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 = 4`, `trees = 795`, `min_n = 18`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 795`, `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 = 1321`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1321`, `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 = 626`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 626`, `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 = 4`, `trees = 954`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 954`, `min_n = 34`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 515`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 515`, `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 = 1463`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1463`, `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 = 1345`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1345`, `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 = 599`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 599`, `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 = 4`, `trees = 692`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 692`, `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 = 476`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 476`, `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 = 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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 583`, `min_n = 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 = 4`, `trees = 411`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 411`, `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 = 4`, `trees = 966`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 966`, `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 = 675`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 675`, `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 = 4`, `trees = 573`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 573`, `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 = 1077`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1077`, `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 = 845`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 845`, `min_n = 35`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 4`, `trees = 712`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 712`, `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 = 4`, `trees = 448`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 448`, `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 = 1308`, `min_n = 31`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1308`, `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 = 1267`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1267`, `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 = 1130`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1130`, `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 = 4`, `trees = 996`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 996`, `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 = 4`, `trees = 1359`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1359`, `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 = 4`, `trees = 871`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 871`, `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 = 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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 777`, `min_n = 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 = 4`, `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 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `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 = 4`, `trees = 1061`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1061`, `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 = 4`, `trees = 1179`, `min_n = 4`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1179`, `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 = 603`, `min_n = 33`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 603`, `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 = 1363`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1363`, `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 = 4`, `trees = 1105`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1105`, `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 = 4`, `trees = 1118`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1118`, `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 = 964`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 964`, `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 = 961`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 961`, `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 = 4`, `trees = 884`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 884`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 2`, `trees = 624`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 624`, `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 = 1336`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1336`, `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 = 584`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 584`, `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 = 4`, `trees = 702`, `min_n = 3`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 702`, `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 = 4`, `trees = 1425`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1425`, `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 = 1068`, `min_n = 20`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1068`, `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 = 4`, `trees = 1196`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1196`, `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 = 1480`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1480`, `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 = 1043`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1043`, `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 = 4`, `trees = 1102`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1102`, `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 = 1108`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1108`, `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 = 1217`, `min_n = 22`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::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 = 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 = 1052`, `min_n = 27`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1052`, `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 = 1336`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1336`, `min_n = 13`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 524`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 524`, `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 = 4`, `trees = 442`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 442`, `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 = 4`, `trees = 996`, `min_n = 25`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 996`, `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 = 527`, `min_n = 36`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 527`, `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 = 1292`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1292`, `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 = 4`, `trees = 1453`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1453`, `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 = 1329`, `min_n = 21`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1329`, `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 = 4`, `trees = 1157`, `min_n = 19`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1157`, `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 = 658`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 658`, `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 = 962`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 962`, `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 = 817`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 817`, `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 = 4`, `trees = 415`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 415`, `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 = 4`, `trees = 942`, `min_n = 15`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 942`, `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 = 4`, `trees = 648`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 648`, `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 = 733`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 733`, `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 = 1331`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1331`, `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 = 4`, `trees = 507`, `min_n = 24`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 507`, `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 = 4`, `trees = 931`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 931`, `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 = 788`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 788`, `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 = 1463`, `min_n = 28`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1463`, `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 = 1200`, `min_n = 17`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1200`, `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 = 839`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 839`, `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 = 1393`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1393`, `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 = 4`, `trees = 766`, `min_n = 14`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 766`, `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 = 823`, `min_n = 26`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 823`, `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 = 958`, `min_n = 11`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 958`, `min_n = 11`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 782`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 782`, `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 = 631`, `min_n = 35`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 631`, `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 = 4`, `trees = 948`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 948`, `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 = 741`, `min_n = 29`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 741`, `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 = 584`, `min_n = 30`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 584`, `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 = 4`, `trees = 1166`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1166`, `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 = 1334`, `min_n = 2`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1334`, `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 = 1454`, `min_n = 16`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1454`, `min_n = 16`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(...)`.
ℹ In group 1: `mtry = 3`, `trees = 1462`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1462`, `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 = 1428`, `min_n = 6`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1428`, `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 = 1045`, `min_n = 37`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1045`, `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 = 4`, `trees = 1248`, `min_n = 10`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1248`, `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 = 1078`, `min_n = 5`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1078`, `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 = 4`, `trees = 498`, `min_n = 40`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 498`, `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 = 1062`, `min_n = 12`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1062`, `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 = 4`, `trees = 970`, `min_n = 38`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 970`, `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 = 4`, `trees = 1281`, `min_n = 34`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 4`, `trees = 1281`, `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 = 915`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 915`, `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 = 1433`, `min_n = 13`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1433`, `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 = 1116`, `min_n = 23`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 1116`, `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 = 469`, `min_n = 39`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 2`, `trees = 469`, `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 = 1446`, `min_n = 32`.
Caused by warning:
! While computing binary `spec()`, no true negatives were detected (i.e. `true_negative + false_positive = 0`). 
Specificity is undefined in this case, and `NA` will be returned.
Note that 0 predicted negatives(s) actually occured for the problematic event level, '1'., There was 1 warning in `dplyr::summarise()`.
ℹ In argument: `.estimate = metric_fn(truth = klasa, estimate = .pred_1, na_rm
  = na_rm, event_level = "first")`.
ℹ In group 1: `mtry = 3`, `trees = 1446`, `min_n = 32`.
Caused by warning:
! No control observations were detected in `truth` with control level '0'.