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

Quitting from arbitrary-hazard.Rmd:68-91 [unnamed-chunk-5]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 2/2 in VECTOR_ELT
---
Backtrace:
    ▆
 1. └─simtrial::sim_pw_surv(...)
 2.   ├─...[]
 3.   └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'arbitrary-hazard.Rmd' failed with diagnostics:
attempt access index 2/2 in VECTOR_ELT
--- failed re-building ‘arbitrary-hazard.Rmd’

--- re-building ‘discrepancy-between-simtrial-and-survival.Rmd’ using rmarkdown

Quitting from discrepancy-between-simtrial-and-survival.Rmd:92-120 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 6/6 in VECTOR_ELT
---
Backtrace:
    ▆
 1. ├─gsDesign2::to_integer(...)
 2. └─gsDesign2::fixed_design_mb(...)
 3.   └─gsDesign2::gs_design_wlr(...)
 4.     ├─dplyr::select(...)
 5.     └─gsDesign2::gs_info_wlr(...)
 6.       └─gsDesign2::ahr(...)
 7.         └─gsDesign2::pw_info(...)
 8.           ├─tbl_event[, `:=`(info0, event * q_c * q_e), by = .(time)]
 9.           └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'discrepancy-between-simtrial-and-survival.Rmd' failed with diagnostics:
attempt access index 6/6 in VECTOR_ELT
--- failed re-building ‘discrepancy-between-simtrial-and-survival.Rmd’

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

Quitting from maxcombo.Rmd:57-69 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 5/5 in VECTOR_ELT
---
Backtrace:
    ▆
 1. └─simtrial::sim_fixed_n(...)
 2.   └─simtrial::to_sim_pw_surv(fail_rate)
 3.     ├─...[]
 4.     └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

--- re-building ‘modest-wlrt.Rmd’ using rmarkdown

Quitting from modest-wlrt.Rmd:64-79 [unnamed-chunk-4]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 5/5 in VECTOR_ELT
---
Backtrace:
    ▆
 1. └─simtrial::to_sim_pw_surv(fail_rate)
 2.   ├─...[]
 3.   └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'modest-wlrt.Rmd' failed with diagnostics:
attempt access index 5/5 in VECTOR_ELT
--- failed re-building ‘modest-wlrt.Rmd’

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

Quitting from parallel.Rmd:97-122 [confirm-sequential]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 5/5 in VECTOR_ELT
---
Backtrace:
    ▆
 1. └─simtrial::sim_fixed_n(...)
 2.   └─simtrial::to_sim_pw_surv(fail_rate)
 3.     ├─...[]
 4.     └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

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

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

Quitting from routines.Rmd:135-148 [unnamed-chunk-8]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 2/2 in VECTOR_ELT
---
Backtrace:
    ▆
 1. └─simtrial::sim_pw_surv(...)
 2.   ├─...[]
 3.   └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

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

Quitting from sim_fixed_design_custom.Rmd:48-63 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 5/5 in VECTOR_ELT
---
Backtrace:
    ▆
 1. ├─simtrial::sim_pw_surv(...)
 2. │ └─base::unique(c(block, fail_rate$treatment, dropout_rate$treatment))
 3. └─simtrial::to_sim_pw_surv(fail_rate)
 4.   ├─...[]
 5.   └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

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

Quitting from sim_fixed_design_simple.Rmd:58-66 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 6/6 in VECTOR_ELT
---
Backtrace:
    ▆
 1. ├─gsDesign2::to_integer(...)
 2. └─gsDesign2::fixed_design_ahr(...)
 3.   └─gsDesign2::gs_design_ahr(...)
 4.     └─gsDesign2::gs_info_ahr(...)
 5.       ├─dplyr::select(...)
 6.       └─gsDesign2::ahr(...)
 7.         └─gsDesign2::pw_info(...)
 8.           ├─tbl_event[, `:=`(info0, event * q_c * q_e), by = .(time)]
 9.           └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

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

Quitting from sim_gs_design_simple.Rmd:40-62 [unnamed-chunk-2]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 6/6 in VECTOR_ELT
---
Backtrace:
    ▆
 1. ├─gsDesign2::to_integer(...)
 2. └─gsDesign2::gs_design_ahr(...)
 3.   └─gsDesign2::gs_info_ahr(...)
 4.     ├─dplyr::select(...)
 5.     └─gsDesign2::ahr(...)
 6.       └─gsDesign2::pw_info(...)
 7.         ├─tbl_event[, `:=`(info0, event * q_c * q_e), by = .(time)]
 8.         └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

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

SUMMARY: processing the following files failed:
  ‘arbitrary-hazard.Rmd’
  ‘discrepancy-between-simtrial-and-survival.Rmd’ ‘maxcombo.Rmd’
  ‘modest-wlrt.Rmd’ ‘parallel.Rmd’ ‘routines.Rmd’
  ‘sim_fixed_design_custom.Rmd’ ‘sim_fixed_design_simple.Rmd’
  ‘sim_gs_design_simple.Rmd’

Error: Vignette re-building failed.
Execution halted