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

Quitting from OVtool.Rmd:244-246 [fig1]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `metR::geom_text_contour()`:
! Problem while converting geom to grob.
ℹ Error occurred in the 5th layer.
Caused by error in `[.data.table`:
! attempt access index 18/18 in VECTOR_ELT
---
Backtrace:
     ▆
  1. └─OVtool::plot.ov(ovtool_results_twang, print_graphic = "1", col = "bw")
  2.   ├─base::suppressWarnings(ggplot2::ggplotGrob(plot_1))
  3.   │ └─base::withCallingHandlers(...)
  4.   └─ggplot2::ggplotGrob(plot_1)
  5.     ├─ggplot2::ggplot_gtable(ggplot_build(x))
  6.     └─ggplot2 (local) `ggplot_gtable.ggplot2::ggplot_built`(ggplot_build(x))
  7.       └─ggplot2:::by_layer(...)
  8.         ├─rlang::try_fetch(...)
  9.         │ ├─base::tryCatch(...)
 10.         │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
 11.         │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
 12.         │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
 13.         │ └─base::withCallingHandlers(...)
 14.         └─ggplot2 (local) f(l = layers[[i]], d = data[[i]])
 15.           └─l$draw_geom(d, layout)
 16.             └─ggplot2 (local) draw_geom(..., self = self)
 17.               └─self$geom$draw_layer(...)
 18.                 └─ggplot2 (local) draw_layer(..., self = self)
 19.                   └─base::lapply(...)
 20.                     └─ggplot2 (local) FUN(X[[i]], ...)
 21.                       ├─rlang::inject(self$draw_panel(data, panel_params, coord, !!!params))
 22.                       └─self$draw_panel(...)
 23.                         └─metR (local) draw_panel(...)
 24.                           ├─data[, `:=`(N, .N), by = .(group, piece)]
 25.                           └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Error: processing vignette 'OVtool.Rmd' failed with diagnostics:
Problem while converting geom to grob.
ℹ Error occurred in the 5th layer.
Caused by error in `[.data.table`:
! attempt access index 18/18 in VECTOR_ELT
--- failed re-building 'OVtool.Rmd'

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

Error: Vignette re-building failed.
Execution halted