Error(s) in re-building vignettes:
--- re-building ‘basics.Rmd’ using rmarkdown
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
  Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
--- finished re-building ‘basics.Rmd’

--- re-building ‘classification.Rmd’ using rmarkdown
Warning in engine$weave(file, quiet = quiet, encoding = enc) :
  Pandoc (>= 1.12.3) not available. Falling back to R Markdown v1.
i Creating pre-processing data to finalize unknown parameter: mtry
! Bootstrap01: preprocessor 1/1, model 1/1: from glmnet Fortran code (error code -74); ...
! Bootstrap02: preprocessor 1/1, model 1/1: from glmnet Fortran code (error code -59); ...
! Bootstrap03: internal: No observations were detected in `truth` for level(s): 'low', ...
! Bootstrap04: preprocessor 1/1, model 1/1: from glmnet Fortran code (error code -50); ...
! Bootstrap05: preprocessor 1/1, model 1/1: from glmnet Fortran code (error code -54); ...
! Bootstrap07: preprocessor 1/1, model 1/1: from glmnet Fortran code (error code -56); ...
! Bootstrap08: preprocessor 1/1, model 1/1: from glmnet Fortran code (error code -70); ...
! Bootstrap09: preprocessor 1/1, model 1/1: from glmnet Fortran code (error code -56); ...
! Bootstrap10: preprocessor 1/1, model 1/1: from glmnet Fortran code (error code -57); ...
! Bootstrap12: preprocessor 1/1, model 1/1: from glmnet Fortran code (error code -52); ...
! Bootstrap14: preprocessor 1/1, model 1/1: from glmnet Fortran code (error code -58); ...
! Bootstrap15: preprocessor 1/1, model 1/1: from glmnet Fortran code (error code -70); ...
! Bootstrap17: preprocessor 1/1, model 1/1: from glmnet Fortran code (error code -53); ...
! Bootstrap19: preprocessor 1/1, model 1/1: from glmnet Fortran code (error code -55); ...
! Bootstrap20: preprocessor 1/1, model 1/1: from glmnet Fortran code (error code -52); ...
! Bootstrap21: preprocessor 1/1, model 1/1: from glmnet Fortran code (error code -52); ...
! Bootstrap23: preprocessor 1/1, model 1/1: from glmnet Fortran code (error code -56); ...
── A stacked ensemble model ─────────────────────────────────────

Out of 40 possible candidate members, the ensemble retained 20.
Penalty: 1e-05.
Mixture: 1.
Across the 3 classes, there are an average of 6.67 coefficients per class.

The 10 highest weighted member classes are:
Quitting from lines 218-237 (classification.Rmd) 
Error: processing vignette 'classification.Rmd' failed with diagnostics:
Problem with `mutate()` column `idx`.
ℹ `idx = which.max(dplyr::c_across(dplyr::starts_with(".pred_")))`.
ℹ `idx` must be size 1, not 0.
ℹ Did you mean: `idx = list(which.max(dplyr::c_across(dplyr::starts_with(".pred_"))))` ?
ℹ The error occurred in row 1.
--- failed re-building ‘classification.Rmd’

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

Error: Vignette re-building failed.
Execution halted