Error(s) in re-building vignettes:
  ...
--- re-building ‘compare.margins.Rmd’ using rmarkdown

Quitting from compare.margins.Rmd:15-29 [unnamed-chunk-1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 13/13 in VECTOR_ELT
---
Backtrace:
    ▆
 1. └─marginaleffects::comparisons(...)
 2.   ├─base::do.call("get_comparisons", args)
 3.   └─marginaleffects:::get_comparisons(...)
 4.     ├─out[, `:=`(tmp_idx, seq_len(.N)), by = tmp]
 5.     └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'compare.margins.Rmd' failed with diagnostics:
attempt access index 13/13 in VECTOR_ELT
--- failed re-building ‘compare.margins.Rmd’

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

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

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

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

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

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

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

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

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

SUMMARY: processing the following file failed:
  ‘compare.margins.Rmd’

Error: Vignette re-building failed.
Execution halted