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

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

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

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

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

Quitting from explain.Rmd:65-69 [unnamed-chunk-6]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `all_nrounds[k] <- cv$best_iteration`:
! replacement has length zero
---
Backtrace:
    ▆
 1. └─explore::explain_xgboost(data %>% drop_var_not_numeric(), target = buy)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'explain.Rmd' failed with diagnostics:
replacement has length zero
--- failed re-building ‘explain.Rmd’

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

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

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

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

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

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

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

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

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

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

Error: Vignette re-building failed.
Execution halted