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

--- re-building ‘table1-latex.Rmd’ using rmarkdown

Quitting from table1-latex.Rmd:123-125 [unnamed-chunk-6]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 14/14 in VECTOR_ELT
---
Backtrace:
     x
  1. \-tools:::.buildOneVignette(...)
  2.   +-base::tryCatch(...)
  3.   | \-base (local) tryCatchList(expr, classes, parentenv, handlers)
  4.   |   \-base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
  5.   |     \-base (local) doTryCatch(return(expr), name, parentenv, handler)
  6.   \-engine$weave(file, quiet = quiet, encoding = enc)
  7.     \-knitr:::vweave_rmarkdown(...)
  8.       \-rmarkdown::render(...)
  9.         \-knitr::knit(knit_input, knit_output, envir = envir, quiet = quiet)
 10.           \-knitr:::process_file(text, output)
 11.             +-xfun:::handle_error(...)
 12.             +-base::withCallingHandlers(...)
 13.             \-knitr:::process_group(group)
 14.               \-knitr:::call_block(x)
 15.                 \-knitr:::block_exec(params)
 16.                   \-knitr:::eng_r(options)
 17.                     +-knitr:::in_input_dir(...)
 18.                     | \-knitr:::in_dir(input_dir(), expr)
 19.                     \-knitr (local) evaluate(...)
 20.                       \-evaluate::evaluate(...)
 21.                         +-base::withRestarts(...)
 22.                         | \-base (local) withRestartList(expr, restarts)
 23.                         |   +-base (local) withOneRestart(withRestartList(expr, restarts[-nr]), restarts[[nr]])
 24.                         |   | \-base (local) doWithOneRestart(return(expr), restart)
 25.                         |   \-base (local) withRestartList(expr, restarts[-nr])
 26.                         |     \-base (local) withOneRestart(expr, restarts[[1L]])
 27.                         |       \-base (local) doWithOneRestart(return(expr), restart)
 28.                         +-evaluate:::with_handlers(...)
 29.                         | +-base::eval(call)
 30.                         | | \-base::eval(call)
 31.                         | \-base::withCallingHandlers(...)
 32.                         \-watcher$print_value(ev$value, ev$visible, envir)
 33.                           +-base::withVisible(handle_value(handler, value, visible, envir))
 34.                           \-evaluate:::handle_value(handler, value, visible, envir)
 35.                             \-handler$value(value, visible)
 36.                               \-knitr (local) fun(x, options = options)
 37.                                 +-base::withVisible(knit_print(x, ...))
 38.                                 +-knitr::knit_print(x, ...)
 39.                                 \-flextable:::knit_print.flextable(x, ...)
 40.                                   \-flextable:::knit_to_latex(x, bookdown = is_bookdown, quarto = is_quarto)
 41.                                     \-flextable:::gen_raw_latex(...)
 42.                                       \-flextable:::latex_gridlines(properties_df)
 43.                                         \-flextable:::fortify_latex_borders(properties_df)
 44.                                           +-...[]
 45.                                           \-data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'table1-latex.Rmd' failed with diagnostics:
attempt access index 14/14 in VECTOR_ELT
--- failed re-building ‘table1-latex.Rmd’

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

SUMMARY: processing the following file failed:
  ‘table1-latex.Rmd’

Error: Vignette re-building failed.
Execution halted