Running examples in 'CIMTx-Ex.R' failed
The error most likely occurred in:

> ### Name: plot.CIMTx_sa_grid
> ### Title: Contour plot for the grid specification of sensitivity analysis
> ### Aliases: plot.CIMTx_sa_grid
> 
> ### ** Examples
> 
> sa_object_example <- list(
+   ATE13 = seq(0, 1, length.out = 25), grid_index = c(4, 5),
+   c_functions = data.frame(
+     c4 = rep(seq(-0.6, 0, 0.15), each = 5),
+     c5 = rep(seq(0, 0.6, 0.15), 5)
+   )
+ )
> class(sa_object_example) <- "CIMTx_sa_grid"
> plot(sa_object_example, ate = "1,3")
Warning: `aes_string()` was deprecated in ggplot2 3.0.0.
ℹ Please use tidy evaluation idioms with `aes()`.
ℹ See also `vignette("ggplot2-in-packages")` for more information.
ℹ The deprecated feature was likely used in the CIMTx package.
  Please report the issue to the authors.
Error in `metR::geom_text_contour()`:
! Problem while converting geom to grob.
ℹ Error occurred in the 2nd layer.
Caused by error in `[.data.table`:
! attempt access index 18/18 in VECTOR_ELT
Backtrace:
     ▆
  1. ├─base (local) `<fn>`(x)
  2. ├─ggplot2 (local) `print.ggplot2::ggplot`(x)
  3. │ ├─ggplot2::ggplot_gtable(data)
  4. │ └─ggplot2 (local) `ggplot_gtable.ggplot2::ggplot_built`(data)
  5. │   └─ggplot2:::by_layer(...)
  6. │     ├─rlang::try_fetch(...)
  7. │     │ ├─base::tryCatch(...)
  8. │     │ │ └─base (local) tryCatchList(expr, classes, parentenv, handlers)
  9. │     │ │   └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
 10. │     │ │     └─base (local) doTryCatch(return(expr), name, parentenv, handler)
 11. │     │ └─base::withCallingHandlers(...)
 12. │     └─ggplot2 (local) f(l = layers[[i]], d = data[[i]])
 13. │       └─l$draw_geom(d, layout)
 14. │         └─ggplot2 (local) draw_geom(..., self = self)
 15. │           └─self$geom$draw_layer(...)
 16. │             └─ggplot2 (local) draw_layer(..., self = self)
 17. │               └─base::lapply(...)
 18. │                 └─ggplot2 (local) FUN(X[[i]], ...)
 19. │                   ├─rlang::inject(self$draw_panel(data, panel_params, coord, !!!params))
 20. │                   └─self$draw_panel(...)
 21. │                     └─metR (local) draw_panel(...)
 22. │                       ├─data[, `:=`(N, .N), by = .(group, piece)]
 23. │                       └─data.table:::`[.data.table`(...)
 24. └─base::.handleSimpleError(...)
 25.   └─rlang (local) h(simpleError(msg, call))
 26.     └─handlers[[1L]](cnd)
 27.       └─cli::cli_abort(...)
 28.         └─rlang::abort(...)
Execution halted