Running 'testthat.R' [8s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(joyn)
  
  Attaching package: 'joyn'
  
  The following object is masked from 'package:base':
  
      merge
  
  > 
  > test_check("joyn")
  
  -- Duplicates in terms of `id` 
     copies n percent
  1:      1 2   66.7%
  2:      2 1   33.3%
  3:  total 3    100%
  ------------------------------------------------------- End of is_id() report --
  
  -- Duplicates in terms of `id` 
     copies        n percent
  1:      1 10000000    100%
  2:  total 10000000    100%
  ------------------------------------------------------- End of is_id() report --
  
  -- Duplicates in terms of `id` 
     copies        n percent
  1:      1  9999999    100%
  2:      2        1      0%
  3:  total 10000000    100%
  ------------------------------------------------------- End of is_id() report --
  
  -- Duplicates in terms of `id` 
     copies n percent
  1:      1 2   66.7%
  2:      2 1   33.3%
  3:  total 3    100%
  ------------------------------------------------------- End of is_id() report --
  
  -- Duplicates in terms of `id` 
     copies n percent
  1:      1 2   66.7%
  2:      2 1   33.3%
  3:  total 3    100%
  ------------------------------------------------------- End of is_id() report --
  
  -- JOYn Report --
  
     report n percent
  1:      x 2   28.6%
  2:  x & y 3   42.9%
  3:      y 2   28.6%
  4:  total 7    100%
  ---------------------------------------------------------- End of JOYn report --
  
  -- JOYn Report --
  
     report n percent
  1:      x 2   28.6%
  2:  x & y 3   42.9%
  3:      y 2   28.6%
  4:  total 7    100%
  ---------------------------------------------------------- End of JOYn report --
  
  -- JOYn Report --
  
     report n percent
  1:      x 2   28.6%
  2:  x & y 3   42.9%
  3:      y 2   28.6%
  4:  total 7    100%
  ---------------------------------------------------------- End of JOYn report --
  v There are no duplicates in data frame
  > we found 1 possible id
  v There are no duplicates in data frame
  > we found 1 possible id
  v There are no duplicates in data frame
  > we found 2 possible ids
  ! Data has duplicates. returning NULL
  
  -- Duplicates in terms of `t` 
     copies n percent
  1:      1 1   33.3%
  2:      2 2   66.7%
  3:  total 3    100%
  ------------------------------------------------------- End of is_id() report --
  v There are no duplicates in data frame
  > we found 1 possible id
  v There are no duplicates in data frame
  > we found 1 possible id
  [ FAIL 20 | WARN 0 | SKIP 0 | PASS 23 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-merge.R:42:3): slect by vars when no specified ──────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(merge(x1, y1), merge(x1, y1, by = "id")) at test-merge.R:42:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─joyn::merge(x1, y1)
    5.   └─cli::cli_alert(...)
    6.     └─cli:::cli__message(...)
    7.       └─cli:::cli__message_emit(cond)
    8.         ├─base::withRestarts(...)
    9.         │ └─base (local) withOneRestart(expr, restarts[[1L]])
   10.         │   └─base (local) doWithOneRestart(return(expr), restart)
   11.         └─cli:::cli__default_handler(cond)
   12.           └─cli:::cli_server_default(msg)
   13.             └─cli:::cli_server_default_safe(msg)
   14.               ├─base::do.call(app[[type]], msg$args)
   15.               └─cli (local) `<fn>`(...)
   16.                 └─cli:::clii_alert(app, "alert", text, id, class, wrap)
   17.                   └─app$xtext(text)
   18.                     └─cli:::clii__xtext(...)
   19.                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   20.                         └─base::lapply(pars, ansi_trimws)
   21.                           └─cli (local) FUN(X[[i]], ...)
  ── Error (test-merge.R:55:3): m:m and 1:1 gives the same if data is correct ────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-merge.R:55:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─joyn::merge(x2, y2, by = "id", update_values = TRUE, match_type = "1:1")
    5.   └─cli::cli_alert(...)
    6.     └─cli:::cli__message(...)
    7.       └─cli:::cli__message_emit(cond)
    8.         ├─base::withRestarts(...)
    9.         │ └─base (local) withOneRestart(expr, restarts[[1L]])
   10.         │   └─base (local) doWithOneRestart(return(expr), restart)
   11.         └─cli:::cli__default_handler(cond)
   12.           └─cli:::cli_server_default(msg)
   13.             └─cli:::cli_server_default_safe(msg)
   14.               ├─base::do.call(app[[type]], msg$args)
   15.               └─cli (local) `<fn>`(...)
   16.                 └─cli:::clii_alert(app, "alert", text, id, class, wrap)
   17.                   └─app$xtext(text)
   18.                     └─cli:::clii__xtext(...)
   19.                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   20.                         └─base::lapply(pars, ansi_trimws)
   21.                           └─cli (local) FUN(X[[i]], ...)
  ── Error (test-merge.R:95:3): left merge is correct ────────────────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. └─joyn::merge(x1, y1, by = "id", keep = "left") at test-merge.R:95:2
    2.   └─cli::cli_alert(...)
    3.     └─cli:::cli__message(...)
    4.       └─cli:::cli__message_emit(cond)
    5.         ├─base::withRestarts(...)
    6.         │ └─base (local) withOneRestart(expr, restarts[[1L]])
    7.         │   └─base (local) doWithOneRestart(return(expr), restart)
    8.         └─cli:::cli__default_handler(cond)
    9.           └─cli:::cli_server_default(msg)
   10.             └─cli:::cli_server_default_safe(msg)
   11.               ├─base::do.call(app[[type]], msg$args)
   12.               └─cli (local) `<fn>`(...)
   13.                 └─cli:::clii_alert(app, "alert", text, id, class, wrap)
   14.                   └─app$xtext(text)
   15.                     └─cli:::clii__xtext(...)
   16.                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   17.                         └─base::lapply(pars, ansi_trimws)
   18.                           └─cli (local) FUN(X[[i]], ...)
  ── Error (test-merge.R:111:3): inverse merge workds ────────────────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. └─joyn::merge(y3, x3, by = "id", match_type = "m:1", reportvar = FALSE) at test-merge.R:111:2
    2.   └─cli::cli_alert(...)
    3.     └─cli:::cli__message(...)
    4.       └─cli:::cli__message_emit(cond)
    5.         ├─base::withRestarts(...)
    6.         │ └─base (local) withOneRestart(expr, restarts[[1L]])
    7.         │   └─base (local) doWithOneRestart(return(expr), restart)
    8.         └─cli:::cli__default_handler(cond)
    9.           └─cli:::cli_server_default(msg)
   10.             └─cli:::cli_server_default_safe(msg)
   11.               ├─base::do.call(app[[type]], msg$args)
   12.               └─cli (local) `<fn>`(...)
   13.                 └─cli:::clii_alert(app, "alert", text, id, class, wrap)
   14.                   └─app$xtext(text)
   15.                     └─cli:::clii__xtext(...)
   16.                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   17.                         └─base::lapply(pars, ansi_trimws)
   18.                           └─cli (local) FUN(X[[i]], ...)
  ── Error (test-merge.R:162:3): FULL- Compare with base::merge ──────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. └─joyn::merge(x1, y1, by = "id", reportvar = FALSE) at test-merge.R:162:2
    2.   └─cli::cli_alert(...)
    3.     └─cli:::cli__message(...)
    4.       └─cli:::cli__message_emit(cond)
    5.         ├─base::withRestarts(...)
    6.         │ └─base (local) withOneRestart(expr, restarts[[1L]])
    7.         │   └─base (local) doWithOneRestart(return(expr), restart)
    8.         └─cli:::cli__default_handler(cond)
    9.           └─cli:::cli_server_default(msg)
   10.             └─cli:::cli_server_default_safe(msg)
   11.               ├─base::do.call(app[[type]], msg$args)
   12.               └─cli (local) `<fn>`(...)
   13.                 └─cli:::clii_alert(app, "alert", text, id, class, wrap)
   14.                   └─app$xtext(text)
   15.                     └─cli:::clii__xtext(...)
   16.                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   17.                         └─base::lapply(pars, ansi_trimws)
   18.                           └─cli (local) FUN(X[[i]], ...)
  ── Error (test-merge.R:196:3): LEFT- Compare with base::merge ──────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. └─joyn::merge(x1, y1, by = "id", reportvar = FALSE, keep = "left") at test-merge.R:196:2
    2.   └─cli::cli_alert(...)
    3.     └─cli:::cli__message(...)
    4.       └─cli:::cli__message_emit(cond)
    5.         ├─base::withRestarts(...)
    6.         │ └─base (local) withOneRestart(expr, restarts[[1L]])
    7.         │   └─base (local) doWithOneRestart(return(expr), restart)
    8.         └─cli:::cli__default_handler(cond)
    9.           └─cli:::cli_server_default(msg)
   10.             └─cli:::cli_server_default_safe(msg)
   11.               ├─base::do.call(app[[type]], msg$args)
   12.               └─cli (local) `<fn>`(...)
   13.                 └─cli:::clii_alert(app, "alert", text, id, class, wrap)
   14.                   └─app$xtext(text)
   15.                     └─cli:::clii__xtext(...)
   16.                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   17.                         └─base::lapply(pars, ansi_trimws)
   18.                           └─cli (local) FUN(X[[i]], ...)
  ── Error (test-merge.R:236:3): RIGHT - Compare with base::merge ────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. └─joyn::merge(x1, y1, by = "id", reportvar = FALSE, keep = "right") at test-merge.R:236:2
    2.   └─cli::cli_alert(...)
    3.     └─cli:::cli__message(...)
    4.       └─cli:::cli__message_emit(cond)
    5.         ├─base::withRestarts(...)
    6.         │ └─base (local) withOneRestart(expr, restarts[[1L]])
    7.         │   └─base (local) doWithOneRestart(return(expr), restart)
    8.         └─cli:::cli__default_handler(cond)
    9.           └─cli:::cli_server_default(msg)
   10.             └─cli:::cli_server_default_safe(msg)
   11.               ├─base::do.call(app[[type]], msg$args)
   12.               └─cli (local) `<fn>`(...)
   13.                 └─cli:::clii_alert(app, "alert", text, id, class, wrap)
   14.                   └─app$xtext(text)
   15.                     └─cli:::clii__xtext(...)
   16.                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   17.                         └─base::lapply(pars, ansi_trimws)
   18.                           └─cli (local) FUN(X[[i]], ...)
  ── Error (test-merge.R:276:3): INNER - Compare with base::merge ────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. └─joyn::merge(x1, y1, by = "id", reportvar = FALSE, keep = "inner") at test-merge.R:276:2
    2.   └─cli::cli_alert(...)
    3.     └─cli:::cli__message(...)
    4.       └─cli:::cli__message_emit(cond)
    5.         ├─base::withRestarts(...)
    6.         │ └─base (local) withOneRestart(expr, restarts[[1L]])
    7.         │   └─base (local) doWithOneRestart(return(expr), restart)
    8.         └─cli:::cli__default_handler(cond)
    9.           └─cli:::cli_server_default(msg)
   10.             └─cli:::cli_server_default_safe(msg)
   11.               ├─base::do.call(app[[type]], msg$args)
   12.               └─cli (local) `<fn>`(...)
   13.                 └─cli:::clii_alert(app, "alert", text, id, class, wrap)
   14.                   └─app$xtext(text)
   15.                     └─cli:::clii__xtext(...)
   16.                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   17.                         └─base::lapply(pars, ansi_trimws)
   18.                           └─cli (local) FUN(X[[i]], ...)
  ── Error (test-merge.R:359:3): match types work ────────────────────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. └─joyn::merge(x, y, by = by, match_type = "m:m") at test-merge.R:359:2
    2.   └─cli::cli_alert(...)
    3.     └─cli:::cli__message(...)
    4.       └─cli:::cli__message_emit(cond)
    5.         ├─base::withRestarts(...)
    6.         │ └─base (local) withOneRestart(expr, restarts[[1L]])
    7.         │   └─base (local) doWithOneRestart(return(expr), restart)
    8.         └─cli:::cli__default_handler(cond)
    9.           └─cli:::cli_server_default(msg)
   10.             └─cli:::cli_server_default_safe(msg)
   11.               ├─base::do.call(app[[type]], msg$args)
   12.               └─cli (local) `<fn>`(...)
   13.                 └─cli:::clii_alert(app, "alert", text, id, class, wrap)
   14.                   └─app$xtext(text)
   15.                     └─cli:::clii__xtext(...)
   16.                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   17.                         └─base::lapply(pars, ansi_trimws)
   18.                           └─cli (local) FUN(X[[i]], ...)
  ── Error (test-merge.R:379:3): Update NAs ──────────────────────────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. └─joyn::merge(x2, y2, by = "id", update_NAs = TRUE) at test-merge.R:379:2
    2.   └─cli::cli_alert(...)
    3.     └─cli:::cli__message(...)
    4.       └─cli:::cli__message_emit(cond)
    5.         ├─base::withRestarts(...)
    6.         │ └─base (local) withOneRestart(expr, restarts[[1L]])
    7.         │   └─base (local) doWithOneRestart(return(expr), restart)
    8.         └─cli:::cli__default_handler(cond)
    9.           └─cli:::cli_server_default(msg)
   10.             └─cli:::cli_server_default_safe(msg)
   11.               ├─base::do.call(app[[type]], msg$args)
   12.               └─cli (local) `<fn>`(...)
   13.                 └─cli:::clii_alert(app, "alert", text, id, class, wrap)
   14.                   └─app$xtext(text)
   15.                     └─cli:::clii__xtext(...)
   16.                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   17.                         └─base::lapply(pars, ansi_trimws)
   18.                           └─cli (local) FUN(X[[i]], ...)
  ── Error (test-merge.R:394:3): Update actual values ────────────────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. └─joyn::merge(x2, y2, by = "id", update_values = TRUE) at test-merge.R:394:2
    2.   └─cli::cli_alert(...)
    3.     └─cli:::cli__message(...)
    4.       └─cli:::cli__message_emit(cond)
    5.         ├─base::withRestarts(...)
    6.         │ └─base (local) withOneRestart(expr, restarts[[1L]])
    7.         │   └─base (local) doWithOneRestart(return(expr), restart)
    8.         └─cli:::cli__default_handler(cond)
    9.           └─cli:::cli_server_default(msg)
   10.             └─cli:::cli_server_default_safe(msg)
   11.               ├─base::do.call(app[[type]], msg$args)
   12.               └─cli (local) `<fn>`(...)
   13.                 └─cli:::clii_alert(app, "alert", text, id, class, wrap)
   14.                   └─app$xtext(text)
   15.                     └─cli:::clii__xtext(...)
   16.                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   17.                         └─base::lapply(pars, ansi_trimws)
   18.                           └─cli (local) FUN(X[[i]], ...)
  ── Error (test-merge.R:451:3): selection of reportvar ──────────────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. └─joyn::merge(x2, y2, by = "id", reportvar = reportvar) at test-merge.R:451:2
    2.   └─cli::cli_alert(...)
    3.     └─cli:::cli__message(...)
    4.       └─cli:::cli__message_emit(cond)
    5.         ├─base::withRestarts(...)
    6.         │ └─base (local) withOneRestart(expr, restarts[[1L]])
    7.         │   └─base (local) doWithOneRestart(return(expr), restart)
    8.         └─cli:::cli__default_handler(cond)
    9.           └─cli:::cli_server_default(msg)
   10.             └─cli:::cli_server_default_safe(msg)
   11.               ├─base::do.call(app[[type]], msg$args)
   12.               └─cli (local) `<fn>`(...)
   13.                 └─cli:::clii_alert(app, "alert", text, id, class, wrap)
   14.                   └─app$xtext(text)
   15.                     └─cli:::clii__xtext(...)
   16.                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   17.                         └─base::lapply(pars, ansi_trimws)
   18.                           └─cli (local) FUN(X[[i]], ...)
  ── Error (test-merge.R:485:3): Keep Y vars works ───────────────────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. └─joyn::merge(x2, y2, by = "id", keep_y_in_x = TRUE) at test-merge.R:485:2
    2.   └─cli::cli_alert(...)
    3.     └─cli:::cli__message(...)
    4.       └─cli:::cli__message_emit(cond)
    5.         ├─base::withRestarts(...)
    6.         │ └─base (local) withOneRestart(expr, restarts[[1L]])
    7.         │   └─base (local) doWithOneRestart(return(expr), restart)
    8.         └─cli:::cli__default_handler(cond)
    9.           └─cli:::cli_server_default(msg)
   10.             └─cli:::cli_server_default_safe(msg)
   11.               ├─base::do.call(app[[type]], msg$args)
   12.               └─cli (local) `<fn>`(...)
   13.                 └─cli:::clii_alert(app, "alert", text, id, class, wrap)
   14.                   └─app$xtext(text)
   15.                     └─cli:::clii__xtext(...)
   16.                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   17.                         └─base::lapply(pars, ansi_trimws)
   18.                           └─cli (local) FUN(X[[i]], ...)
  ── Error (test-merge.R:509:3): different names in key vars are working fine ────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. └─joyn::merge(x4, y4, by = c("id1 = id", "id2")) at test-merge.R:509:2
    2.   └─cli::cli_alert(...)
    3.     └─cli:::cli__message(...)
    4.       └─cli:::cli__message_emit(cond)
    5.         ├─base::withRestarts(...)
    6.         │ └─base (local) withOneRestart(expr, restarts[[1L]])
    7.         │   └─base (local) doWithOneRestart(return(expr), restart)
    8.         └─cli:::cli__default_handler(cond)
    9.           └─cli:::cli_server_default(msg)
   10.             └─cli:::cli_server_default_safe(msg)
   11.               ├─base::do.call(app[[type]], msg$args)
   12.               └─cli (local) `<fn>`(...)
   13.                 └─cli:::clii_alert(app, "alert", text, id, class, wrap)
   14.                   └─app$xtext(text)
   15.                     └─cli:::clii__xtext(...)
   16.                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   17.                         └─base::lapply(pars, ansi_trimws)
   18.                           └─cli (local) FUN(X[[i]], ...)
  ── Error (test-merge.R:529:3): invalid names are changed ───────────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. └─joyn::merge(x1, y1, reportvar = "_report") at test-merge.R:529:2
    2.   └─cli::cli_alert_info(...)
    3.     └─cli:::cli__message(...)
    4.       └─cli:::cli__message_emit(cond)
    5.         ├─base::withRestarts(...)
    6.         │ └─base (local) withOneRestart(expr, restarts[[1L]])
    7.         │   └─base (local) doWithOneRestart(return(expr), restart)
    8.         └─cli:::cli__default_handler(cond)
    9.           └─cli:::cli_server_default(msg)
   10.             └─cli:::cli_server_default_safe(msg)
   11.               ├─base::do.call(app[[type]], msg$args)
   12.               └─cli (local) `<fn>`(...)
   13.                 └─cli:::clii_alert(app, "alert-info", text, id, class, wrap)
   14.                   └─app$xtext(text)
   15.                     └─cli:::clii__xtext(...)
   16.                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   17.                         └─base::lapply(pars, ansi_trimws)
   18.                           └─cli (local) FUN(X[[i]], ...)
  ── Error (test-merge.R:539:3): convert to data.table when dataframe ────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(merge(x1, yy1), merge(x1, y1)) at test-merge.R:539:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─joyn::merge(x1, yy1)
    5.   └─cli::cli_alert(...)
    6.     └─cli:::cli__message(...)
    7.       └─cli:::cli__message_emit(cond)
    8.         ├─base::withRestarts(...)
    9.         │ └─base (local) withOneRestart(expr, restarts[[1L]])
   10.         │   └─base (local) doWithOneRestart(return(expr), restart)
   11.         └─cli:::cli__default_handler(cond)
   12.           └─cli:::cli_server_default(msg)
   13.             └─cli:::cli_server_default_safe(msg)
   14.               ├─base::do.call(app[[type]], msg$args)
   15.               └─cli (local) `<fn>`(...)
   16.                 └─cli:::clii_alert(app, "alert", text, id, class, wrap)
   17.                   └─app$xtext(text)
   18.                     └─cli:::clii__xtext(...)
   19.                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   20.                         └─base::lapply(pars, ansi_trimws)
   21.                           └─cli (local) FUN(X[[i]], ...)
  ── Error (test-merge.R:548:3): no matching obs ─────────────────────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. └─joyn::merge(xx2, y2) at test-merge.R:548:2
    2.   └─cli::cli_alert(...)
    3.     └─cli:::cli__message(...)
    4.       └─cli:::cli__message_emit(cond)
    5.         ├─base::withRestarts(...)
    6.         │ └─base (local) withOneRestart(expr, restarts[[1L]])
    7.         │   └─base (local) doWithOneRestart(return(expr), restart)
    8.         └─cli:::cli__default_handler(cond)
    9.           └─cli:::cli_server_default(msg)
   10.             └─cli:::cli_server_default_safe(msg)
   11.               ├─base::do.call(app[[type]], msg$args)
   12.               └─cli (local) `<fn>`(...)
   13.                 └─cli:::clii_alert(app, "alert", text, id, class, wrap)
   14.                   └─app$xtext(text)
   15.                     └─cli:::clii__xtext(...)
   16.                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   17.                         └─base::lapply(pars, ansi_trimws)
   18.                           └─cli (local) FUN(X[[i]], ...)
  ── Error (test-merge.R:556:3): convert to data.table ───────────────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(merge(xx1, y1), merge(x1, y1)) at test-merge.R:556:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. └─joyn::merge(xx1, y1)
    5.   └─cli::cli_alert(...)
    6.     └─cli:::cli__message(...)
    7.       └─cli:::cli__message_emit(cond)
    8.         ├─base::withRestarts(...)
    9.         │ └─base (local) withOneRestart(expr, restarts[[1L]])
   10.         │   └─base (local) doWithOneRestart(return(expr), restart)
   11.         └─cli:::cli__default_handler(cond)
   12.           └─cli:::cli_server_default(msg)
   13.             └─cli:::cli_server_default_safe(msg)
   14.               ├─base::do.call(app[[type]], msg$args)
   15.               └─cli (local) `<fn>`(...)
   16.                 └─cli:::clii_alert(app, "alert", text, id, class, wrap)
   17.                   └─app$xtext(text)
   18.                     └─cli:::clii__xtext(...)
   19.                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   20.                         └─base::lapply(pars, ansi_trimws)
   21.                           └─cli (local) FUN(X[[i]], ...)
  ── Error (test-possible_ids.R:55:3): inconsistent user of `include` ────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(possible_ids(x1, include = "x")) at test-possible_ids.R:55: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. └─joyn::possible_ids(x1, include = "x")
    8.   └─cli::cli_alert_warning(...)
    9.     └─cli:::cli__message(...)
   10.       └─cli:::cli__message_emit(cond)
   11.         ├─base::withRestarts(...)
   12.         │ └─base (local) withOneRestart(expr, restarts[[1L]])
   13.         │   └─base (local) doWithOneRestart(return(expr), restart)
   14.         └─cli:::cli__default_handler(cond)
   15.           └─cli:::cli_server_default(msg)
   16.             └─cli:::cli_server_default_safe(msg)
   17.               ├─base::do.call(app[[type]], msg$args)
   18.               └─cli (local) `<fn>`(...)
   19.                 └─cli:::clii_alert(app, "alert-warning", text, id, class, wrap)
   20.                   └─app$xtext(text)
   21.                     └─cli:::clii__xtext(...)
   22.                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   23.                         └─base::lapply(pars, ansi_trimws)
   24.                           └─cli (local) FUN(X[[i]], ...)
  ── Error (test-possible_ids.R:81:3): Exclude nothing ───────────────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(possible_ids(x1, exclude = "rer")) at test-possible_ids.R:81: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. └─joyn::possible_ids(x1, exclude = "rer")
    8.   └─cli::cli_alert_warning(...)
    9.     └─cli:::cli__message(...)
   10.       └─cli:::cli__message_emit(cond)
   11.         ├─base::withRestarts(...)
   12.         │ └─base (local) withOneRestart(expr, restarts[[1L]])
   13.         │   └─base (local) doWithOneRestart(return(expr), restart)
   14.         └─cli:::cli__default_handler(cond)
   15.           └─cli:::cli_server_default(msg)
   16.             └─cli:::cli_server_default_safe(msg)
   17.               ├─base::do.call(app[[type]], msg$args)
   18.               └─cli (local) `<fn>`(...)
   19.                 └─cli:::clii_alert(app, "alert-warning", text, id, class, wrap)
   20.                   └─app$xtext(text)
   21.                     └─cli:::clii__xtext(...)
   22.                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   23.                         └─base::lapply(pars, ansi_trimws)
   24.                           └─cli (local) FUN(X[[i]], ...)
  
  [ FAIL 20 | WARN 0 | SKIP 0 | PASS 23 ]
  Error: Test failures
  Execution halted