Running ‘testthat.R’ [5s/8s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(sift)
  > 
  > test_check("sift")
  Joining, by = c(".bj1", ".bj2")
  Joining, by = c(".bj1", ".bj2")
  Joining, by = c(".bj1", ".bj2")
  Joining, by = c(".bj1", ".bj2")
  Joining, by = "p"
  Joining, by = "p"
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 40 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-break_join.R:4:3): Test break_join error handling ───────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─testthat::expect_error(...) at test-break_join.R:4:2
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─sift::break_join(...)
    8. └─sift:::break_join.data.frame(...)
    9.   ├─dplyr::left_join(...)
   10.   └─dplyr:::left_join.data.frame(...)
   11.     └─dplyr:::join_mutate(...)
   12.       └─dplyr:::join_cols(...)
   13.         └─dplyr:::check_duplicate_vars(x_names, "x", error_call = error_call)
   14.           └─rlang::abort(bullets, call = error_call)
   15.             └─rlang:::signal_abort(cnd, .file)
   16.               └─base::signalCondition(cnd)
   17.                 ├─base::conditionMessage(cond)
   18.                 └─rlang:::conditionMessage.rlang_error(cond)
   19.                   └─rlang::cnd_message(c)
   20.                     └─rlang:::cnd_message_format(cnd, ...)
   21.                       └─rlang (local) cli_format(glue_escape(lines))
   22.                         └─rlang:::.rlang_cli_format(x, cli::format_error)
   23.                           └─cli::cli_format(x, .envir = emptyenv())
   24.                             └─cli:::fmt(...)
   25.                               └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   26.                                 ├─base::do.call(app[[msg$type]], msg$args)
   27.                                 └─cli (local) `<fn>`(text = `<named list>`, id = "cli-2553110-28", class = NULL)
   28.                                   └─cli:::clii_bullets(app, text, id, class)
   29.                                     └─base::lapply(...)
   30.                                       └─cli (local) FUN(X[[i]], ...)
   31.                                         └─app$text(text[[i]])
   32.                                           └─cli:::clii_text(app, text)
   33.                                             └─app$xtext(text)
   34.                                               └─cli:::clii__xtext(...)
   35.                                                 └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   36.                                                   └─base::lapply(pars, ansi_trimws)
   37.                                                     └─cli (local) FUN(X[[i]], ...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 40 ]
  Error: Test failures
  Execution halted