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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: forest_plot
> ### Title: Forest plots for survival analysis.
> ### Aliases: forest_plot forest_plot.df
> 
> ### ** Examples
> 
> library(magrittr)
> library(dplyr)

Attaching package: ‘dplyr’

The following objects are masked from ‘package:stats’:

    filter, lag

The following objects are masked from ‘package:base’:

    intersect, setdiff, setequal, union

> survival::colon %>%
+    analyse_multivariate(vars(time, status),
+                         vars(rx, sex, age, obstruct, perfor, nodes, differ, extent)) %>%
+    forest_plot()
Warning: `as_list()` is deprecated as of rlang 0.4.0
Please use `vctrs::vec_cast()` instead.
This warning is displayed once every 8 hours.
Warning: `switch_type()` is soft-deprecated as of rlang 0.4.0.
Please use `switch(typeof())` or `switch(my_typeof())` instead.
This warning is displayed once every 8 hours.
Error in `map_dbl()`:
ℹ In index: 2.
Caused by error in `map_dbl()`:
ℹ In index: 1.
Caused by error in `map_dbl()`:
ℹ In index: 1.
Caused by error in `strwidth()`:
! conversion failure on '(0.80–1.09)' in 'mbcsToSbcs': for –
Backtrace:
     ▆
  1. ├─... %>% forest_plot()
  2. ├─survivalAnalysis::forest_plot(.)
  3. │ └─... %>% ...
  4. ├─survivalAnalysis:::forest_plot.df(...)
  5. │ └─survivalAnalysis (local) space_needed(valuesDf$x, valuesDf$labels)
  6. │   └─purrr::map_dbl(...)
  7. │     └─purrr:::map_("double", .x, .f, ..., .progress = .progress)
  8. │       ├─purrr:::with_indexed_errors(...)
  9. │       │ └─base::withCallingHandlers(...)
 10. │       ├─purrr:::call_with_cleanup(...)
 11. │       └─survivalAnalysis (local) .f(.x[[i]], ...)
 12. │         └─purrr::map_dbl(...)
 13. │           └─purrr:::map_("double", .x, .f, ..., .progress = .progress)
 14. │             ├─purrr:::with_indexed_errors(...)
 15. │             │ └─base::withCallingHandlers(...)
 16. │             ├─purrr:::call_with_cleanup(...)
 17. │             └─survivalAnalysis (local) .f(.x[[i]], ...)
 18. │               └─purrr::map_dbl(lines, ~strwidth(., family = ggtheme$text$family, units = "in"))
 19. │                 └─purrr:::map_("double", .x, .f, ..., .progress = .progress)
 20. │                   ├─purrr:::with_indexed_errors(...)
 21. │                   │ └─base::withCallingHandlers(...)
 22. │                   ├─purrr:::call_with_cleanup(...)
 23. │                   └─survivalAnalysis (local) .f(.x[[i]], ...)
 24. │                     └─graphics::strwidth(., family = ggtheme$text$family, units = "in")
 25. └─base::.handleSimpleError(...)
 26.   └─purrr (local) h(simpleError(msg, call))
 27.     └─cli::cli_abort(...)
 28.       └─rlang::abort(...)
Execution halted