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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: coord_curvedpolar
> ### Title: Polar coordinates with curved text on x axis
> ### Aliases: coord_curvedpolar
> 
> ### ** Examples
> 
> 
> # A pie chart = stacked bar chart + polar coordinates
> pie <- ggplot(mtcars, aes(x = factor(1), fill = factor(cyl))) +
+  geom_bar(width = 1)
>  pie + coord_curvedpolar(theta = "y")
Error in `txt$shape[, shape_vars]`:
! Can't subset columns that don't exist.
✖ Column `x_midpoint` doesn't exist.
Backtrace:
     ▆
  1. ├─base (local) `<fn>`(x)
  2. ├─ggplot2:::print.ggplot(x)
  3. │ ├─ggplot2::ggplot_gtable(data)
  4. │ └─ggplot2:::ggplot_gtable.ggplot_built(data)
  5. │   └─layout$render(geom_grobs, data, theme, plot$labels)
  6. │     └─ggplot2 (local) render(..., self = self)
  7. │       └─base::lapply(...)
  8. │         └─ggplot2 (local) FUN(X[[i]], ...)
  9. │           └─self$coord$render_fg(self$panel_params[[i]], theme)
 10. │             └─geomtextpath (local) render_fg(..., self = self)
 11. │               ├─grid::grobTree(...)
 12. │               │ ├─grid::gTree(...)
 13. │               │ │ └─grid::setChildren(gt, children)
 14. │               │ └─grid::gList(...)
 15. │               └─geomtextpath::textpathGrob(...)
 16. │                 └─geomtextpath:::measure_label(...)
 17. │                   └─geomtextpath (local) measure(...)
 18. │                     └─geomtextpath:::text_shape(...)
 19. │                       ├─txt$shape[, shape_vars]
 20. │                       └─tibble:::`[.tbl_df`(txt$shape, , shape_vars)
 21. │                         └─tibble:::vectbl_as_col_location(...)
 22. │                           ├─tibble:::subclass_col_index_errors(...)
 23. │                           │ └─base::withCallingHandlers(...)
 24. │                           └─vctrs::vec_as_location(j, n, names, missing = "error", call = call)
 25. └─vctrs (local) `<fn>`()
 26.   └─vctrs:::stop_subscript_oob(...)
 27.     └─vctrs:::stop_subscript(...)
 28.       └─rlang::abort(...)
Execution halted