Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(matchmaker)
  > 
  > test_check("matchmaker")
  [ FAIL 1 | WARN 0 | SKIP 3 | PASS 86 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (3)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-match_df.R:162:3): default errors will be thrown ────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─testthat::expect_message(...) at test-match_df.R:162:2
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─matchmaker::match_df(my_data_frame, corr, warn = TRUE)
    7.   └─matchmaker:::process_werrors(warns, errs, dname)
    8.     └─matchmaker (local) alertfun(i, warns, dname)
    9.       └─cli::cli_li(nm)
   10.         └─cli:::cli__message(...)
   11.           └─cli:::cli__message_emit(cond)
   12.             ├─base::withRestarts(...)
   13.             │ └─base (local) withOneRestart(expr, restarts[[1L]])
   14.             │   └─base (local) doWithOneRestart(return(expr), restart)
   15.             └─cli:::cli__default_handler(cond)
   16.               └─cli:::cli_server_default(msg)
   17.                 └─cli:::cli_server_default_safe(msg)
   18.                   ├─base::do.call(app[[type]], msg$args)
   19.                   └─cli (local) `<fn>`(items = `<list>`, id = "cli-24140-7", class = NULL)
   20.                     └─cli:::clii_li(app, items, id, class)
   21.                       └─app$item_text(type, names(items)[i], cnt_id, items[[i]])
   22.                         └─cli:::clii__item_text(app, type, name, cnt_id, items, .list = .list)
   23.                           └─app$xtext(...)
   24.                             └─cli:::clii__xtext(...)
   25.                               └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   26.                                 └─base::lapply(pars, ansi_trimws)
   27.                                   └─cli (local) FUN(X[[i]], ...)
  
  [ FAIL 1 | WARN 0 | SKIP 3 | PASS 86 ]
  Error: Test failures
  Execution halted