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

> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### Name: add_date_columns
> ### Title: Add columns with date calculations based on reference date
> ### Aliases: add_date_columns
> 
> ### ** Examples
> 
> demo_data() |>
+   add_date_columns(date_col = date)
# A tibble: 10 × 11
   group sales count on_sale date         day  week month quarter calendar_year
   <chr> <dbl> <dbl>   <dbl> <date>     <dbl> <dbl> <dbl>   <dbl>         <dbl>
 1 a       101    35       1 2022-07-15     0     0     0       0             0
 2 a       102    34       0 2022-05-15   -61    -9    -2      -1             0
 3 b       103    33       1 2022-03-15  -122   -17    -4      -2             0
 4 b       104    32       0 2022-01-15  -181   -26    -6      -2             0
 5 c       105    31       1 2021-11-15  -242   -34    -8      -3            -1
 6 c       106    30       0 2021-09-15  -303   -43   -10      -4            -1
 7 d       107    29       1 2021-07-15  -365   -52   -12      -4            -1
 8 d       108    28       0 2021-05-15  -426   -61   -14      -5            -1
 9 e       109    27       1 2021-03-15  -487   -69   -16      -6            -1
10 e       110    26       0 2021-01-15  -546   -78   -18      -6            -1
# … with 1 more variable: fiscal_year <dbl>
> 
> # if columns overlap, you will see a warning
> demo_data() |>
+   dplyr::mutate(week = 1) |>
+   add_date_columns(date_col = date)
Warning: This step produced duplicate names and some fields have new names (see above) 
Use 'drop = TRUE' to remove the overlapping columns prior to adding the new date fields
Error in `bind_cols()`:
! number of characters is not computable in "bytes" encoding, element 1
Backtrace:
     ▆
  1. ├─headliner::add_date_columns(...)
  2. │ └─dplyr::bind_cols(df, new_fields)
  3. │   ├─dplyr:::fix_call(vec_cbind(!!!dots, .name_repair = .name_repair))
  4. │   │ └─base::withCallingHandlers(...)
  5. │   └─vctrs::vec_cbind(!!!dots, .name_repair = .name_repair)
  6. ├─vctrs:::describe_repair(`<chr>`, `<chr>`)
  7. │ └─rlang::names_inform_repair(orig_names, names)
  8. │   └─rlang::inform(message = message, class = "rlib_message_name_repair")
  9. │     ├─base::withRestarts(...)
 10. │     │ └─base (local) withOneRestart(expr, restarts[[1L]])
 11. │     │   └─base (local) doWithOneRestart(return(expr), restart)
 12. │     └─base::signalCondition(cnd)
 13. │       ├─base::conditionMessage(cond)
 14. │       └─rlang:::conditionMessage.rlang_message(cond)
 15. │         └─rlang::cnd_message(c)
 16. │           └─rlang:::cnd_message_format(cnd, ...)
 17. │             └─rlang (local) cli_format(glue_escape(lines))
 18. │               └─rlang:::.rlang_cli_format(x, cli::format_message)
 19. │                 └─cli::cli_format(x, .envir = emptyenv())
 20. │                   └─cli:::fmt(...)
 21. │                     └─cli:::cli__fmt(rec, collapse, strip_newline, app)
 22. │                       ├─base::do.call(app[[msg$type]], msg$args)
 23. │                       └─cli (local) `<fn>`(text = `<named list>`, id = "cli-2553110-30", class = NULL)
 24. │                         └─cli:::clii_bullets(app, text, id, class)
 25. │                           └─base::lapply(...)
 26. │                             └─cli (local) FUN(X[[i]], ...)
 27. │                               └─app$text(text[[i]])
 28. │                                 └─cli:::clii_text(app, text)
 29. │                                   └─app$xtext(text)
 30. │                                     └─cli:::clii__xtext(...)
 31. │                                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
 32. │                                         └─base::lapply(pars, ansi_trimws)
 33. │                                           └─cli (local) FUN(X[[i]], ...)
 34. └─base::.handleSimpleError(...)
 35.   └─dplyr (local) h(simpleError(msg, call))
 36.     └─rlang::cnd_signal(cnd)
Execution halted