Running 'testthat.R' [10s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(powerjoin)
  > 
  > test_check("powerjoin")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 106 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-check_specs.R:2:3): check_specs methods work ────────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─testthat::expect_output(print(check_specs()), "check specifications") at test-check_specs.R:2:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─testthat::capture_output_lines(code, print, width = width)
    5. │   │   └─testthat:::eval_with_output(code, print = print, width = width)
    6. │   │     ├─withr::with_output_sink(path, withVisible(code))
    7. │   │     │ └─base::force(code)
    8. │   │     └─base::withVisible(code)
    9. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   10. ├─base::print(check_specs())
   11. └─powerjoin:::print.powerjoin_check(check_specs())
   12.   └─cli::cli_bullets(setNames(conflicts, icons))
   13.     └─cli:::cli__message(...)
   14.       └─cli:::cli__message_emit(cond)
   15.         ├─base::withRestarts(...)
   16.         │ └─base (local) withOneRestart(expr, restarts[[1L]])
   17.         │   └─base (local) doWithOneRestart(return(expr), restart)
   18.         └─cli:::cli__default_handler(cond)
   19.           └─cli:::cli_server_default(msg)
   20.             └─cli:::cli_server_default_safe(msg)
   21.               ├─base::do.call(app[[type]], msg$args)
   22.               └─cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-1", class = NULL)
   23.                 └─cli:::clii_bullets(app, text, id, class)
   24.                   └─base::lapply(...)
   25.                     └─cli (local) FUN(X[[i]], ...)
   26.                       └─app$text(text[[i]])
   27.                         └─cli:::clii_text(app, text)
   28.                           └─app$xtext(text)
   29.                             └─cli:::clii__xtext(...)
   30.                               └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   31.                                 └─base::lapply(pars, ansi_trimws)
   32.                                   └─cli (local) FUN(X[[i]], ...)
  ── Error (test-fuzzy_joins.R:67:3): when creating columns through fuzzy joins, conflicts are handled ──
  Error in `bind_cols(out, rows$extra_cols)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-fuzzy_joins.R:67:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─powerjoin::power_left_join(...)
    5. ├─powerjoin:::power_left_join.data.frame(...)
    6. │ └─powerjoin:::join_mutate(...)
    7. │   └─dplyr::bind_cols(out, rows$extra_cols)
    8. │     ├─dplyr:::fix_call(vec_cbind(!!!dots, .name_repair = .name_repair))
    9. │     │ └─base::withCallingHandlers(...)
   10. │     └─vctrs::vec_cbind(!!!dots, .name_repair = .name_repair)
   11. ├─vctrs:::describe_repair(`<chr>`, `<chr>`)
   12. │ └─rlang::names_inform_repair(orig_names, names)
   13. │   └─rlang::inform(message = message, class = "rlib_message_name_repair")
   14. │     ├─base::withRestarts(...)
   15. │     │ └─base (local) withOneRestart(expr, restarts[[1L]])
   16. │     │   └─base (local) doWithOneRestart(return(expr), restart)
   17. │     └─base::signalCondition(cnd)
   18. │       ├─base::conditionMessage(cond)
   19. │       └─rlang:::conditionMessage.rlang_message(cond)
   20. │         └─rlang::cnd_message(c)
   21. │           └─rlang:::cnd_message_format(cnd, ...)
   22. │             └─rlang (local) cli_format(glue_escape(lines))
   23. │               └─rlang:::.rlang_cli_format(x, cli::format_message)
   24. │                 └─cli::cli_format(x, .envir = emptyenv())
   25. │                   └─cli:::fmt(...)
   26. │                     └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   27. │                       ├─base::do.call(app[[msg$type]], msg$args)
   28. │                       └─cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-32", class = NULL)
   29. │                         └─cli:::clii_bullets(app, text, id, class)
   30. │                           └─base::lapply(...)
   31. │                             └─cli (local) FUN(X[[i]], ...)
   32. │                               └─app$text(text[[i]])
   33. │                                 └─cli:::clii_text(app, text)
   34. │                                   └─app$xtext(text)
   35. │                                     └─cli:::clii__xtext(...)
   36. │                                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   37. │                                         └─base::lapply(pars, ansi_trimws)
   38. │                                           └─cli (local) FUN(X[[i]], ...)
   39. └─base::.handleSimpleError(...)
   40.   └─dplyr (local) h(simpleError(msg, call))
   41.     └─rlang::cnd_signal(cnd)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 106 ]
  Error: Test failures
  Execution halted