Running examples in ‘forecast-Ex.R’ failed
The error most likely occurred in:

> ### Name: Arima
> ### Title: Fit ARIMA model to univariate time series
> ### Aliases: Arima print.ARIMA summary.Arima as.character.Arima
> ### Keywords: ts
> 
> ### ** Examples
> 
> library(ggplot2)
> WWWusage %>%
+   Arima(order=c(3,1,0)) %>%
+   forecast(h=20) %>%
+   autoplot
Error in `geom_forecast()`:
! Problem while converting geom to grob.
ℹ Error occurred in the 2nd layer.
Caused by error in `structure()`:
! attempt to set an attribute on NULL
Backtrace:
     ▆
  1. ├─base (local) `<fn>`(x)
  2. ├─ggplot2:::print.ggplot(x)
  3. │ ├─ggplot2::ggplot_gtable(data)
  4. │ └─ggplot2:::ggplot_gtable.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(data, panel_params, coord)
 21. │                     └─ggplot2 (local) draw_panel(..., self = self)
 22. │                       └─base::lapply(...)
 23. │                         └─ggplot2 (local) FUN(X[[i]], ...)
 24. │                           └─self$draw_group(group, panel_params, coord, ...)
 25. │                             └─forecast (local) draw_group(...)
 26. │                               ├─ggplot2:::ggname(...)
 27. │                               │ └─grid::grobName(grob, prefix)
 28. │                               ├─grid::addGrob(...)
 29. │                               └─GeomForecastPoint$draw_panel(data[[1]], panel_scales, coord)
 30. │                                 └─ggplot2 (local) draw_panel(..., self = self)
 31. │                                   └─base::lapply(...)
 32. │                                     └─ggplot2 (local) FUN(X[[i]], ...)
 33. │                                       └─self$draw_group(group, panel_params, coord, ...)
 34. │                                         └─forecast (local) draw_group(...)
 35. │                                           └─forecast:::blendHex(data$colour[1], "gray30", 1)
 36. │                                             ├─base::suppressWarnings(...)
 37. │                                             │ └─base::withCallingHandlers(...)
 38. │                                             ├─methods::coerce(...)
 39. │                                             │ └─methods::as(from, class(to), strict = strict)
 40. │                                             │   └─methods:::.identC(thisClass, Class)
 41. │                                             └─base::structure(NULL, class = "HLS")
 42. │                                               └─base::stop("attempt to set an attribute on NULL")
 43. └─base::.handleSimpleError(...)
 44.   └─rlang (local) h(simpleError(msg, call))
 45.     └─handlers[[1L]](cnd)
 46.       └─cli::cli_abort(...)
 47.         └─rlang::abort(...)
Execution halted