Error(s) in re-building vignettes:
  ...
--- re-building ‘package_introduction.qmd’ using html
[31m

processing file: package_introduction.qmd
[39m[31mError in `[.data.table`(pred_both, , `:=`("lo", seq_len(.N) <= .N/2),  : 
  attempt access index 3/3 in VECTOR_ELT
Calls: .main ... get_comparisons -> predictions_hi_lo -> [ -> [.data.table

Quitting from package_introduction.qmd:317-328 [marg_effect]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 3/3 in VECTOR_ELT
---
Backtrace:
    ▆
 1. └─marginaleffects::comparisons(...)
 2.   ├─base::do.call("get_comparisons", args)
 3.   └─marginaleffects:::get_comparisons(...)
 4.     └─marginaleffects:::predictions_hi_lo(model, lo, hi, type, ...)
 5.       ├─pred_both[, `:=`("lo", seq_len(.N) <= .N/2), by = "group"]
 6.       └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Execution halted
[39m[33mWARN: Error encountered when rendering files[39m
Error: processing vignette 'package_introduction.qmd' failed with diagnostics:
! Error running quarto CLI from R.
Caused by error in `quarto_render()`:
✖ Error returned by quarto CLI.
  -----------------------------
  
  
  processing file: package_introduction.qmd
  [31mError in `[.data.table`(pred_both, , `:=`("lo", seq_len(.N) <= .N/2), :[39m
  attempt access index 3/3 in VECTOR_ELT
  Calls: .main ... get_comparisons -> predictions_hi_lo -> [ -> [.data.table
  
  Quitting from package_introduction.qmd:317-328 [marg_effect]
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  <error/rlang_error>
  Error in `[.data.table`:
  ! attempt access index 3/3 in VECTOR_ELT
  ---
  Backtrace:
  ▆
  1. └─marginaleffects::comparisons(...)
  2.  ├─base::do.call("get_comparisons", args)
  3.  └─marginaleffects:::get_comparisons(...)
  4.  └─marginaleffects:::predictions_hi_lo(model, lo, hi, type, ...)
  5.  ├─pred_both[, `:=`("lo", seq_len(.N) <= .N/2), by = "group"]
  6.  └─data.table:::`[.data.table`(...)
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  
  Execution halted
  [33mWARN: Error encountered when rendering files[39m
  
Caused by error:
! System command 'quarto' failed
--- failed re-building ‘package_introduction.qmd’

SUMMARY: processing the following file failed:
  ‘package_introduction.qmd’

Error: Vignette re-building failed.
Execution halted