Error(s) in re-building vignettes:
--- re-building 'healthdb.Rmd' using rmarkdown

Quitting from healthdb.Rmd:251-258 [unnamed-chunk-14]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/dplyr:::mutate_error>
Error in `dplyr::mutate()`:
ℹ In argument: `result = purrr::pmap(...)`.
Caused by error in `purrr::pmap()`:
ℹ In index: 2.
Caused by error in `[.data.table`:
! attempt access index 7/7 in VECTOR_ELT
---
Backtrace:
     ▆
  1. ├─sud_def %>% ...
  2. ├─healthdb::execute_def(., with_data = list(claim = claim_db, hosp = hosp_df))
  3. │ └─def %>% ...
  4. ├─dplyr::mutate(...)
  5. ├─dplyr:::mutate.data.frame(...)
  6. │ └─dplyr:::mutate_cols(.data, dplyr_quosures(...), by)
  7. │   ├─base::withCallingHandlers(...)
  8. │   └─dplyr:::mutate_col(dots[[i]], data, mask, new_columns)
  9. │     └─mask$eval_all_mutate(quo)
 10. │       └─dplyr (local) eval()
 11. └─purrr::pmap(...)
 12.   └─purrr:::pmap_("list", .l, .f, ..., .progress = .progress)
 13.     ├─purrr:::with_indexed_errors(...)
 14.     │ └─base::withCallingHandlers(...)
 15.     ├─purrr:::call_with_cleanup(...)
 16.     └─healthdb (local) .f(.l[[1L]][[i]], .l[[2L]][[i]], .l[[3L]][[i]], ...)
 17.       └─base::eval(x, envir = with_data_env)
 18.         └─base::eval(x, envir = with_data_env)
 19.           └─healthdb::define_case(...)
 20.             ├─base::eval(incl)
 21.             │ └─base::eval(incl)
 22.             ├─healthdb::identify_row(...)
 23.             └─healthdb:::identify_rows.data.frame(...)
 24.               ├─...[]
 25.               └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'healthdb.Rmd' failed with diagnostics:
ℹ In argument: `result = purrr::pmap(...)`.
Caused by error in `purrr::pmap()`:
ℹ In index: 2.
Caused by error in `[.data.table`:
! attempt access index 7/7 in VECTOR_ELT
--- failed re-building 'healthdb.Rmd'

SUMMARY: processing the following file failed:
  'healthdb.Rmd'

Error: Vignette re-building failed.
Execution halted