Error(s) in re-building vignettes:
  ...
--- re-building ‘Cheatsheet.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘Cheatsheet.Rmd’

--- re-building ‘JOSS_publication.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘JOSS_publication.Rmd’

--- re-building ‘Shinyapp.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘Shinyapp.Rmd’

--- re-building ‘apsim_open.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘apsim_open.Rmd’

--- re-building ‘available_metrics_classification.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘available_metrics_classification.Rmd’

--- re-building ‘available_metrics_regression.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘available_metrics_regression.Rmd’

--- re-building ‘classification_case.Rmd’ using rmarkdown

Quitting from classification_case.Rmd:342-353 [multiple_models unnested summarise]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `dplyr::summarise()`:
ℹ In argument: `metrics_summary(obs = actual, pred = predicted, type =
  "classification")`.
ℹ In group 1: `id = "fold_1"`.
Caused by error:
! `metrics_summary(obs = actual, pred = predicted, type =
  "classification")` must be size 1, not 27.
ℹ To return more or less than 1 row per group, use `reframe()`.
---
Backtrace:
    ▆
 1. ├─... %>% dplyr::arrange(Metric)
 2. ├─dplyr::arrange(., Metric)
 3. ├─dplyr::summarise(...)
 4. ├─dplyr:::summarise.grouped_df(., metrics_summary(obs = actual, pred = predicted, type = "classification"))
 5. │ └─dplyr:::summarise_cols(.data, dplyr_quosures(...), by, "summarise")
 6. │   └─base::withCallingHandlers(...)
 7. └─dplyr:::dplyr_internal_error(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'classification_case.Rmd' failed with diagnostics:
ℹ In argument: `metrics_summary(obs = actual, pred = predicted, type =
  "classification")`.
ℹ In group 1: `id = "fold_1"`.
Caused by error:
! `metrics_summary(obs = actual, pred = predicted, type =
  "classification")` must be size 1, not 27.
ℹ To return more or less than 1 row per group, use `reframe()`.
--- failed re-building ‘classification_case.Rmd’

--- re-building ‘regression_case.Rmd’ using rmarkdown
[WARNING] Deprecated: --highlight-style. Use --syntax-highlighting instead.
--- finished re-building ‘regression_case.Rmd’

SUMMARY: processing the following file failed:
  ‘classification_case.Rmd’

Error: Vignette re-building failed.
Execution halted