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

Quitting from optimal_subgroup.Rmd:113-121 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 11/11 in VECTOR_ELT
---
Backtrace:
     ▆
  1. └─polle (local) pl1(...)
  2.   ├─base::do.call(what = call, args)
  3.   └─polle:::blip(...)
  4.     ├─stats::predict(g_functions, policy_data)
  5.     └─polle:::predict.nuisance_functions(g_functions, policy_data)
  6.       └─base::lapply(...)
  7.         └─polle (local) FUN(X[[i]], ...)
  8.           ├─polle::get_history(...)
  9.           └─polle:::get_history.policy_data(...)
 10.             └─polle:::stage_state_history(object, stage = stage, event_set = event_set)
 11.               ├─...[]
 12.               └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

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

Quitting from policy_data.Rmd:114-117 [gethistwostage]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 12/12 in VECTOR_ELT
---
Backtrace:
    ▆
 1. ├─utils::head(get_history(pd, stage = 1, full_history = TRUE)$H)
 2. ├─polle::get_history(pd, stage = 1, full_history = TRUE)
 3. └─polle:::get_history.policy_data(pd, stage = 1, full_history = TRUE)
 4.   └─polle:::full_history(object, stage = stage, event_set = event_set)
 5.     ├─...[]
 6.     └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

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

Quitting from policy_eval.Rmd:53-57 [polevalp1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 11/11 in VECTOR_ELT
---
Backtrace:
     ▆
  1. └─polle::policy_eval(policy_data = pd, policy = p1, type = "dr")
  2.   ├─base::do.call(what = policy_eval_type, args = args)
  3.   └─polle (local) `<fn>`(...)
  4.     └─polle:::fit_functions(...)
  5.       └─polle (local) policy(policy_data = policy_data)
  6.         └─base::lapply(...)
  7.           └─polle (local) FUN(X[[i]], ...)
  8.             ├─polle::get_history(...)
  9.             └─polle:::get_history.policy_data(...)
 10.               └─polle:::stage_state_history(object, stage = stage, event_set = event_set)
 11.                 ├─...[]
 12.                 └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

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

Quitting from policy_learn.Rmd:85-92 [plblipapply]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 11/11 in VECTOR_ELT
---
Backtrace:
     ▆
  1. └─polle (local) pl_blip(...)
  2.   ├─base::do.call(what = call, args)
  3.   └─polle:::blip(...)
  4.     └─polle::fit_g_functions(policy_data, g_models = g_models, full_history = g_full_history)
  5.       └─base::lapply(...)
  6.         └─polle (local) FUN(X[[i]], ...)
  7.           ├─polle::get_history(policy_data, stage = s, full_history = full_history)
  8.           └─polle:::get_history.policy_data(policy_data, stage = s, full_history = full_history)
  9.             └─polle:::stage_state_history(object, stage = stage, event_set = event_set)
 10.               ├─...[]
 11.               └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

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

Quitting from right_censoring.Rmd:214-225 [pe]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `[.data.table`:
! attempt access index 12/12 in VECTOR_ELT
---
Backtrace:
     ▆
  1. └─polle::policy_eval(...)
  2.   ├─base::do.call(what = policy_eval_type, args = args)
  3.   └─polle (local) `<fn>`(...)
  4.     └─polle:::fit_functions(...)
  5.       └─polle::fit_c_functions(policy_data, c_models = c_models, full_history = c_full_history)
  6.         └─base::lapply(...)
  7.           └─polle (local) FUN(X[[i]], ...)
  8.             ├─polle::get_history(...)
  9.             └─polle:::get_history.policy_data(...)
 10.               └─polle:::full_history(object, stage = stage, event_set = event_set)
 11.                 ├─...[]
 12.                 └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

SUMMARY: processing the following files failed:
  ‘optimal_subgroup.Rmd’ ‘policy_data.Rmd’ ‘policy_eval.Rmd’
  ‘policy_learn.Rmd’ ‘right_censoring.Rmd’

Error: Vignette re-building failed.
Execution halted