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

Quitting from quickstart.Rmd:157-160 [unnamed-chunk-4]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error in `metR::geom_text_contour()`:
! Problem while converting geom to grob.
ℹ Error occurred in the 3rd layer.
Caused by error in `[.data.table`:
! attempt access index 18/18 in VECTOR_ELT
---
Backtrace:
     ▆
  1. └─loewesadditivity::plot_surface(out, xlab = "RH5", ylab = "AMA1RON2")
  2.   ├─base::print(g) at loewesadditivity/R/plot.R:114:3
  3.   └─ggplot2 (local) `print.ggplot2::ggplot`(g)
  4.     ├─ggplot2::ggplot_gtable(data)
  5.     └─ggplot2 (local) `ggplot_gtable.ggplot2::ggplot_built`(data)
  6.       └─ggplot2:::by_layer(...)
  7.         ├─rlang::try_fetch(...)
  8.         │ ├─base::tryCatch(...)
  9.         │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
 10.         │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
 11.         │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
 12.         │ └─base::withCallingHandlers(...)
 13.         └─ggplot2 (local) f(l = layers[[i]], d = data[[i]])
 14.           └─l$draw_geom(d, layout)
 15.             └─ggplot2 (local) draw_geom(..., self = self)
 16.               └─self$geom$draw_layer(...)
 17.                 └─ggplot2 (local) draw_layer(..., self = self)
 18.                   └─base::lapply(...)
 19.                     └─ggplot2 (local) FUN(X[[i]], ...)
 20.                       ├─rlang::inject(self$draw_panel(data, panel_params, coord, !!!params))
 21.                       └─self$draw_panel(...)
 22.                         └─metR (local) draw_panel(...)
 23.                           ├─data[, `:=`(N, .N), by = .(group, piece)]
 24.                           └─data.table:::`[.data.table`(...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

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

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

Error: Vignette re-building failed.
Execution halted