Running 'sink.R' [1s]
  Running 'testthat.R' [270s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # Workaround for loadNamespace() failure on R 3.2
  > requireNamespace("rlang")
  Loading required namespace: rlang
  > 
  > library("testthat")
  > library("rlang")
  
  Attaching package: 'rlang'
  
  The following objects are masked from 'package:testthat':
  
      is_false, is_null, is_true
  
  > 
  > test_check("rlang")
  
  
  [ FAIL 134 | WARN 3 | SKIP 133 | PASS 3628 ]
  
  == Skipped tests ===============================================================
  * Cannot set MBCS locale (1)
  * Disabled (1)
  * Failing (1)
  * No alien language string available (4)
  * On CRAN (116)
  * On Windows (6)
  * R7 cannot be loaded (1)
  * getRversion() >= "4.0" is TRUE (1)
  * profmem must be installed. (1)
  * test needs crayon (1)
  
  == Failed tests ================================================================
  -- Error (test-arg.R:46:3): informative error message on partial match ---------
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       x
    1. +-testthat::expect_error(...) at test-arg.R:46: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. +-rlang:::arg_match0_wrapper("f", c("bar", "foo"))
    8. | \-rlang::arg_match0(arg, values, arg_nm = arg_nm, ...) at D:\RCompile\CRANpkg\local\4.3\rlang.Rcheck\tests\testthat\helper-rlang.R:117:2
    9. \-rlang:::stop_arg_match(w, x, y, z)
   10.   \-rlang::abort(msg, call = error_call, arg = error_arg)
   11.     \-rlang:::signal_abort(cnd, .file)
   12.       \-base::signalCondition(cnd)
   13.         +-base::conditionMessage(cond)
   14.         \-rlang:::conditionMessage.rlang_error(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_error)
   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-24140-51", 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]], ...)
  -- Error (test-arg.R:57:3): `arg_match()` has informative error messages -------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-arg.R:68:3): `arg_match()` provides no suggestion when the edit distance is too large --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-arg.R:82:3): `arg_match()` makes case-insensitive match ---------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-arg.R:94:3): gets choices from function -------------------------
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       x
    1. +-testthat::expect_error(fn("f"), "Did you mean \"foo\"?") at test-arg.R:94: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. +-rlang (local) fn("f")
    8. | \-rlang::arg_match(myarg) at test-arg.R:92:4
    9. |   \-rlang::arg_match0(arg, values, error_arg, error_call = error_call)
   10. \-rlang:::stop_arg_match(w, x, y, z)
   11.   \-rlang::abort(msg, call = error_call, arg = error_arg)
   12.     \-rlang:::signal_abort(cnd, .file)
   13.       \-base::signalCondition(cnd)
   14.         +-base::conditionMessage(cond)
   15.         \-rlang:::conditionMessage.rlang_error(cond)
   16.           \-rlang::cnd_message(c)
   17.             \-rlang:::cnd_message_format(cnd, ...)
   18.               \-rlang (local) cli_format(glue_escape(lines))
   19.                 \-rlang:::.rlang_cli_format(x, cli::format_error)
   20.                   \-cli::cli_format(x, .envir = emptyenv())
   21.                     \-cli:::fmt(...)
   22.                       \-cli:::cli__fmt(rec, collapse, strip_newline, app)
   23.                         +-base::do.call(app[[msg$type]], msg$args)
   24.                         \-cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-259", class = NULL)
   25.                           \-cli:::clii_bullets(app, text, id, class)
   26.                             \-base::lapply(...)
   27.                               \-cli (local) FUN(X[[i]], ...)
   28.                                 \-app$text(text[[i]])
   29.                                   \-cli:::clii_text(app, text)
   30.                                     \-app$xtext(text)
   31.                                       \-cli:::clii__xtext(...)
   32.                                         \-cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   33.                                           \-base::lapply(pars, ansi_trimws)
   34.                                             \-cli (local) FUN(X[[i]], ...)
  -- Error (test-arg.R:220:3): check_required() checks argument is supplied (#1118) --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-arg.R:263:3): arg_match0() defuses argument ---------------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-arg.R:275:3): check_exclusive works -----------------------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-arg.R:285:3): check_exclusive works -----------------------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-arg.R:295:3): check_exclusive works -----------------------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-arg.R:308:3): arg_match() mentions correct call if wrong type is supplied (#1388) --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-attr.R:17:3): inputs must be valid ------------------------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-c-api.R:1079:3): internal error is thrown with OOB dyn-lof access --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-call.R:347:3): call functions type-check their input (#187) -----
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-abort.R:49:3): Invalid on_error option resets itself --------
  `{ ... }` threw an unexpected error.
  Message: `tryCatch(abort("foo"), error = identity)` did not throw the expected warning.
  Class:   expectation_failure/expectation/error/condition
  -- Error (test-cnd-abort.R:153:3): backtrace reminder is displayed when called from `last_error()` --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-abort.R:260:9): Backtrace on rethrow: stop() - tryCatch() ---
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-abort.R:260:9): Backtrace on rethrow: stop() - withCallingHandlers() --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-abort.R:260:9): Backtrace on rethrow: stop() - try_fetch() --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-abort.R:260:9): Backtrace on rethrow: warn = 2 - tryCatch() --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-abort.R:260:9): Backtrace on rethrow: warn = 2 - withCallingHandlers() --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-abort.R:260:9): Backtrace on rethrow: warn = 2 - try_fetch() --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-abort.R:301:3): abort() accepts environment as `call` field. --
  `(expect_error(f()))` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-abort.R:329:3): local_error_call() works --------------------
  `(expect_error(foo()))` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-abort.R:335:3): can disable error call inference for unexported functions --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Failure (test-cnd-abort.R:468:3): headers and body are stored in respective fields --
  cnd$message (`actual`) not equal to set_names("a", "") (`expected`).
  
  `names(actual)` is absent
  `names(expected)` is a character vector ('')
  
  actual vs expected
  - "number of characters is not computable in \"bytes\" encoding, element 1"
  + "a"
  -- Failure (test-cnd-abort.R:469:3): headers and body are stored in respective fields --
  cnd$body (`actual`) not equal to c("b", i = "c") (`expected`).
  
  `actual` is NULL
  `expected` is a character vector ('b', 'c')
  -- Error (test-cnd-abort.R:548:3): generic call is picked up in methods --------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-abort.R:561:3): errors are fully displayed (parents, calls) in knitted files --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-abort.R:576:3): can supply bullets both through `message` and `body` (cli case) --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-abort.R:636:3): can't supply both `footer` and `.internal` --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-abort.R:713:3): `parent = NA` signals a non-chained rethrow --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-abort.R:831:3): base causal errors include full user backtrace --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-handlers.R:17:3): try_fetch() checks inputs -----------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-handlers.R:42:3): can rethrow from `try_fetch()` ------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-message.R:94:3): `body` must be a character vector or a function --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-message.R:223:3): can use cli syntax in `cnd_message()` methods [plain] --
  `cnd_message(cnd)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-message.R:227:3): prefix takes call into account ------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-message.R:246:3): long prefixes cause a line break ----------
  `(expect_error(very_very_very_very_very_long_function_name()))` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-message.R:260:3): prefixes include srcrefs ------------------
  `(expect_error(f()))` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-message.R:266:3): inform() and warn() use fallback bullets formatting --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-message.R:272:3): inform() and warn() use fallback bullets formatting --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-message.R:278:3): inform() and warn() use fallback bullets formatting --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-message.R:284:3): inform() and warn() use fallback bullets formatting --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-message.R:303:3): can supply bullet without header ----------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-message.R:324:3): parent errors prints with bullets in all cases --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-message.R:345:3): can print message with and without prefix --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-message.R:369:3): can print message without inheritance -----
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-message.R:411:3): ANSI escapes are supported in `conditionMessage()` --
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       x
    1. +-base::conditionMessage(bar) at test-cnd-message.R:411:2
    2. \-rlang:::conditionMessage.rlang_error(bar)
    3.   \-rlang::cnd_message(c)
    4.     \-rlang:::cnd_message_format_prefixed(cnd, parent = TRUE, warning = warning)
    5.       \-rlang:::cnd_message_format(cnd, ..., alert = alert)
    6.         \-rlang (local) cli_format(glue_escape(lines))
    7.           \-rlang:::.rlang_cli_format(x, cli::format_error)
    8.             \-cli::cli_format(x, .envir = emptyenv())
    9.               \-cli:::fmt(...)
   10.                 \-cli:::cli__fmt(rec, collapse, strip_newline, app)
   11.                   +-base::do.call(app[[msg$type]], msg$args)
   12.                   \-cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-4347", class = NULL)
   13.                     \-cli:::clii_bullets(app, text, id, class)
   14.                       \-base::lapply(...)
   15.                         \-cli (local) FUN(X[[i]], ...)
   16.                           \-app$text(text[[i]])
   17.                             \-cli:::clii_text(app, text)
   18.                               \-app$xtext(text)
   19.                                 \-cli:::clii__xtext(...)
   20.                                   \-cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   21.                                     \-base::lapply(pars, ansi_trimws)
   22.                                       \-cli (local) FUN(X[[i]], ...)
  -- Error (test-cnd-message.R:442:3): as.character() and conditionMessage() methods for errors, warnings, and messages --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-message.R:464:3): multiline operator calls are preserved ----
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       x
    1. \-testthat::expect_snapshot_output(...) at test-cnd-message.R:464:2
    2.   \-testthat::capture_output_lines(x, print = TRUE, width = NULL)
    3.     \-testthat:::eval_with_output(code, print = print, width = width)
    4.       +-withr::with_output_sink(path, testthat_print(result$value), append = TRUE)
    5.       | \-base::force(code)
    6.       +-testthat::testthat_print(result$value)
    7.       \-rlang (local) testthat_print.rlang_error(result$value)
    8.         +-base::print(x, backtrace = FALSE)
    9.         \-rlang:::print.rlang_error(x, backtrace = FALSE)
   10.           +-base::writeLines(format(x, ...))
   11.           +-base::format(x, ...)
   12.           \-rlang:::format.rlang_error(x, ...)
   13.             +-rlang:::with_error_arg_highlight(...)
   14.             \-rlang:::cnd_format(...)
   15.               \-rlang:::cnd_message_format_prefixed(x, alert = alert)
   16.                 \-rlang:::cnd_message_format(cnd, ..., alert = alert)
   17.                   \-rlang (local) cli_format(glue_escape(lines))
   18.                     \-rlang:::.rlang_cli_format(x, cli::format_error)
   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-24140-4476", 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]], ...)
  -- Error (test-cnd-message.R:497:3): can disable srcrefs in call formatting ----
  `err(f())` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-message.R:546:3): arguments are highlighted but code spans are not --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-message.R:556:3): chained errors may have empty messages ----
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-message.R:563:3): chained errors may have empty messages ----
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-message.R:570:3): chained errors may have empty messages ----
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd-signal.R:10:3): signallers support character vectors as `message` parameter --
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       x
    1. +-testthat::expect_message(...) at test-cnd-signal.R:10: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. \-rlang::inform(c("foo", `*` = "bar"))
    8.   +-base::withRestarts(...)
    9.   | \-base (local) withOneRestart(expr, restarts[[1L]])
   10.   |   \-base (local) doWithOneRestart(return(expr), restart)
   11.   \-base::signalCondition(cnd)
   12.     +-base::conditionMessage(cond)
   13.     \-rlang:::conditionMessage.rlang_message(cond)
   14.       \-rlang::cnd_message(c)
   15.         \-rlang:::cnd_message_format(cnd, ...)
   16.           \-rlang (local) cli_format(glue_escape(lines))
   17.             \-rlang:::.rlang_cli_format(x, cli::format_message)
   18.               \-cli::cli_format(x, .envir = emptyenv())
   19.                 \-cli:::fmt(...)
   20.                   \-cli:::cli__fmt(rec, collapse, strip_newline, app)
   21.                     +-base::do.call(app[[msg$type]], msg$args)
   22.                     \-cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-4708", 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-cnd-signal.R:10:3): signallers support character vectors as `message` parameter --
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       x
    1. \-testthat::expect_message(...) at test-cnd-signal.R:10:2
    2.   \-testthat:::expect_condition_matching(...)
    3.     \-rlang (local) `<fn>`()
    4.       \-rlang:::check_dots(env, error, action, call)
    5.         \-rlang:::action_dots(...)
    6.           +-base (local) try_dots(...)
    7.           \-rlang (local) action(...)
    8.             \-base::warning(cnd)
    9.               +-base::conditionMessage(cond)
   10.               \-rlang:::conditionMessage.rlang_warning(cond)
   11.                 \-rlang::cnd_message(c)
   12.                   \-rlang:::cnd_message_format(cnd, ...)
   13.                     \-rlang (local) cli_format(glue_escape(lines))
   14.                       \-rlang:::.rlang_cli_format(x, cli::format_warning)
   15.                         \-cli::cli_format(x, .envir = emptyenv())
   16.                           \-cli:::fmt(...)
   17.                             \-cli:::cli__fmt(rec, collapse, strip_newline, app)
   18.                               +-base::do.call(app[[msg$type]], msg$args)
   19.                               \-cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-4714", class = NULL)
   20.                                 \-cli:::clii_bullets(app, text, id, class)
   21.                                   \-base::lapply(...)
   22.                                     \-cli (local) FUN(X[[i]], ...)
   23.                                       \-app$text(text[[i]])
   24.                                         \-cli:::clii_text(app, text)
   25.                                           \-app$xtext(text)
   26.                                             \-cli:::clii__xtext(...)
   27.                                               \-cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   28.                                                 \-base::lapply(pars, ansi_trimws)
   29.                                                   \-cli (local) FUN(X[[i]], ...)
  -- Error (test-cnd-signal.R:261:3): `frequency` has good error messages --------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Failure (test-cnd-signal.R:280:3): can pass `use_cli_format` as condition field --
  cnd$message (`actual`) not equal to set_names("Header.", "") (`expected`).
  
  `names(actual)` is absent
  `names(expected)` is a character vector ('')
  
  actual vs expected
  - "number of characters is not computable in \"bytes\" encoding, element 1"
  + "Header."
  Backtrace:
      x
   1. \-rlang (local) expect_lazy_bullets(signal_lazy_bullets(catch_error, abort)) at test-cnd-signal.R:280:2
   2.   \-testthat::expect_equal(cnd$message, set_names("Header.", "")) at test-cnd-signal.R:275:4
  -- Failure (test-cnd-signal.R:280:3): can pass `use_cli_format` as condition field --
  cnd$body (`actual`) not equal to c(i = "Bullet.") (`expected`).
  
  `actual` is NULL
  `expected` is a character vector ('Bullet.')
  Backtrace:
      x
   1. \-rlang (local) expect_lazy_bullets(signal_lazy_bullets(catch_error, abort)) at test-cnd-signal.R:280:2
   2.   \-testthat::expect_equal(cnd$body, c(i = "Bullet.")) at test-cnd-signal.R:276:4
  -- Failure (test-cnd-signal.R:280:3): can pass `use_cli_format` as condition field --
  cnd$use_cli_format is not TRUE
  
  `actual` is NULL
  `expected` is a logical vector (TRUE)
  Backtrace:
      x
   1. \-rlang (local) expect_lazy_bullets(signal_lazy_bullets(catch_error, abort)) at test-cnd-signal.R:280:2
   2.   \-testthat::expect_true(cnd$use_cli_format) at test-cnd-signal.R:277:4
  -- Failure (test-cnd-signal.R:281:3): can pass `use_cli_format` as condition field --
  cnd$message (`actual`) not equal to set_names("Header.", "") (`expected`).
  
  `names(actual)` is absent
  `names(expected)` is a character vector ('')
  
  actual vs expected
  - "number of characters is not computable in \"bytes\" encoding, element 1"
  + "Header."
  Backtrace:
      x
   1. \-rlang (local) expect_lazy_bullets(signal_lazy_bullets(catch_warning, warn)) at test-cnd-signal.R:281:2
   2.   \-testthat::expect_equal(cnd$message, set_names("Header.", "")) at test-cnd-signal.R:275:4
  -- Failure (test-cnd-signal.R:281:3): can pass `use_cli_format` as condition field --
  cnd$body (`actual`) not equal to c(i = "Bullet.") (`expected`).
  
  `actual` is NULL
  `expected` is a character vector ('Bullet.')
  Backtrace:
      x
   1. \-rlang (local) expect_lazy_bullets(signal_lazy_bullets(catch_warning, warn)) at test-cnd-signal.R:281:2
   2.   \-testthat::expect_equal(cnd$body, c(i = "Bullet.")) at test-cnd-signal.R:276:4
  -- Failure (test-cnd-signal.R:281:3): can pass `use_cli_format` as condition field --
  cnd$use_cli_format is not TRUE
  
  `actual` is NULL
  `expected` is a logical vector (TRUE)
  Backtrace:
      x
   1. \-rlang (local) expect_lazy_bullets(signal_lazy_bullets(catch_warning, warn)) at test-cnd-signal.R:281:2
   2.   \-testthat::expect_true(cnd$use_cli_format) at test-cnd-signal.R:277:4
  -- Failure (test-cnd-signal.R:282:3): can pass `use_cli_format` as condition field --
  cnd$message (`actual`) not equal to set_names("Header.", "") (`expected`).
  
  `names(actual)` is absent
  `names(expected)` is a character vector ('')
  
  actual vs expected
  - "number of characters is not computable in \"bytes\" encoding, element 1"
  + "Header."
  Backtrace:
      x
   1. \-rlang (local) expect_lazy_bullets(signal_lazy_bullets(catch_message, inform)) at test-cnd-signal.R:282:2
   2.   \-testthat::expect_equal(cnd$message, set_names("Header.", "")) at test-cnd-signal.R:275:4
  -- Failure (test-cnd-signal.R:282:3): can pass `use_cli_format` as condition field --
  cnd$body (`actual`) not equal to c(i = "Bullet.") (`expected`).
  
  `actual` is NULL
  `expected` is a character vector ('Bullet.')
  Backtrace:
      x
   1. \-rlang (local) expect_lazy_bullets(signal_lazy_bullets(catch_message, inform)) at test-cnd-signal.R:282:2
   2.   \-testthat::expect_equal(cnd$body, c(i = "Bullet.")) at test-cnd-signal.R:276:4
  -- Failure (test-cnd-signal.R:282:3): can pass `use_cli_format` as condition field --
  cnd$use_cli_format is not TRUE
  
  `actual` is NULL
  `expected` is a logical vector (TRUE)
  Backtrace:
      x
   1. \-rlang (local) expect_lazy_bullets(signal_lazy_bullets(catch_message, inform)) at test-cnd-signal.R:282:2
   2.   \-testthat::expect_true(cnd$use_cli_format) at test-cnd-signal.R:277:4
  -- Error (test-cnd-signal.R:286:3): signal functions check inputs --------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd.R:43:3): rlang_error.print() calls cnd_message() methods ----
  `print(err)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd.R:112:3): 3-level ancestry works (#1248) --------------------
  `catch_error(high())` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd.R:150:3): base parent errors are printed with rlang method --
  `print(rlang_err)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd.R:156:3): errors are printed with call ----------------------
  `print(err)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd.R:176:3): calls are consistently displayed on rethrow (#1240) --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd.R:258:3): bare conditions must be subclassed ----------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd.R:301:3): can format warnings and other conditions ----------
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       x
    1. +-testthat::expect_snapshot_output(cnd_print(warning)) at test-cnd.R:301:2
    2. | \-testthat::capture_output_lines(x, print = TRUE, width = NULL)
    3. |   \-testthat:::eval_with_output(code, print = print, width = width)
    4. |     +-withr::with_output_sink(path, withVisible(code))
    5. |     | \-base::force(code)
    6. |     \-base::withVisible(code)
    7. \-rlang:::cnd_print(warning)
    8.   +-base::writeLines(cnd_format(x, ...))
    9.   \-rlang:::cnd_format(x, ...)
   10.     \-rlang:::cnd_message_format_prefixed(x, alert = alert)
   11.       \-rlang:::cnd_message_format(cnd, ..., alert = alert)
   12.         \-rlang (local) cli_format(glue_escape(lines))
   13.           \-rlang:::.rlang_cli_format(x, cli::format_warning)
   14.             \-cli::cli_format(x, .envir = emptyenv())
   15.               \-cli:::fmt(...)
   16.                 \-cli:::cli__fmt(rec, collapse, strip_newline, app)
   17.                   +-base::do.call(app[[msg$type]], msg$args)
   18.                   \-cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-5739", class = NULL)
   19.                     \-cli:::clii_bullets(app, text, id, class)
   20.                       \-base::lapply(...)
   21.                         \-cli (local) FUN(X[[i]], ...)
   22.                           \-app$text(text[[i]])
   23.                             \-cli:::clii_text(app, text)
   24.                               \-app$xtext(text)
   25.                                 \-cli:::clii__xtext(...)
   26.                                   \-cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   27.                                     \-base::lapply(pars, ansi_trimws)
   28.                                       \-cli (local) FUN(X[[i]], ...)
  -- Error (test-cnd.R:334:3): cnd ctors check arguments -------------------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-cnd.R:399:3): tree display option is picked up when printing errors --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-compat-cli.R:127:3): can format messages [plain] ----------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-compat-cli.R:127:3): can format messages [unicode] --------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-compat-rlang.R:23:5): signallers work ---------------------------
  `inform(c("Header.", i = "Bullet."))` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-compat-s3-register.R:11:3): can register for generics that don't exist --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-dots-ellipsis.R:8:3): error if dots not used --------------------
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       x
    1. +-testthat::expect_error(f(1, 2, 3), class = "rlib_error_dots_unused") at test-dots-ellipsis.R:8: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. \-rlang (local) f(1, 2, 3)
    8.   \-rlang (local) `<fn>`()
    9.     \-rlang:::check_dots(env, error, action, call)
   10.       \-rlang:::action_dots(...)
   11.         +-base (local) try_dots(...)
   12.         \-rlang (local) action(...)
   13.           \-rlang:::signal_abort(cnd, .file)
   14.             \-base::signalCondition(cnd)
   15.               +-base::conditionMessage(cond)
   16.               \-rlang:::conditionMessage.rlang_error(cond)
   17.                 \-rlang::cnd_message(c)
   18.                   \-rlang:::cnd_message_format(cnd, ...)
   19.                     \-rlang (local) cli_format(glue_escape(lines))
   20.                       \-rlang:::.rlang_cli_format(x, cli::format_error)
   21.                         \-cli::cli_format(x, .envir = emptyenv())
   22.                           \-cli:::fmt(...)
   23.                             \-cli:::cli__fmt(rec, collapse, strip_newline, app)
   24.                               +-base::do.call(app[[msg$type]], msg$args)
   25.                               \-cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-6453", class = NULL)
   26.                                 \-cli:::clii_bullets(app, text, id, class)
   27.                                   \-base::lapply(...)
   28.                                     \-cli (local) FUN(X[[i]], ...)
   29.                                       \-app$text(text[[i]])
   30.                                         \-cli:::clii_text(app, text)
   31.                                           \-app$xtext(text)
   32.                                             \-cli:::clii__xtext(...)
   33.                                               \-cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   34.                                                 \-base::lapply(pars, ansi_trimws)
   35.                                                   \-cli (local) FUN(X[[i]], ...)
  -- Error (test-dots-ellipsis.R:22:3): error if dots not used by another function --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-dots-ellipsis.R:35:3): error if dots named ----------------------
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       x
    1. +-testthat::expect_error(f(1, 2, 3, xy = 4), class = "rlib_error_dots_named") at test-dots-ellipsis.R:35: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. \-rlang (local) f(1, 2, 3, xy = 4)
    8.   \-rlang::check_dots_unnamed() at test-dots-ellipsis.R:29:4
    9.     \-rlang:::action_dots(...)
   10.       +-base (local) try_dots(...)
   11.       \-rlang (local) action(...)
   12.         \-rlang:::signal_abort(cnd, .file)
   13.           \-base::signalCondition(cnd)
   14.             +-base::conditionMessage(cond)
   15.             \-rlang:::conditionMessage.rlang_error(cond)
   16.               \-rlang::cnd_message(c)
   17.                 \-rlang:::cnd_message_format(cnd, ...)
   18.                   \-rlang (local) cli_format(glue_escape(lines))
   19.                     \-rlang:::.rlang_cli_format(x, cli::format_error)
   20.                       \-cli::cli_format(x, .envir = emptyenv())
   21.                         \-cli:::fmt(...)
   22.                           \-cli:::cli__fmt(rec, collapse, strip_newline, app)
   23.                             +-base::do.call(app[[msg$type]], msg$args)
   24.                             \-cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-6465", class = NULL)
   25.                               \-cli:::clii_bullets(app, text, id, class)
   26.                                 \-base::lapply(...)
   27.                                   \-cli (local) FUN(X[[i]], ...)
   28.                                     \-app$text(text[[i]])
   29.                                       \-cli:::clii_text(app, text)
   30.                                         \-app$xtext(text)
   31.                                           \-cli:::clii__xtext(...)
   32.                                             \-cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   33.                                               \-base::lapply(pars, ansi_trimws)
   34.                                                 \-cli (local) FUN(X[[i]], ...)
  -- Error (test-dots-ellipsis.R:53:3): error if if dots not empty ---------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-dots-ellipsis.R:64:3): can control the action (deprecated) ------
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       x
    1. +-testthat::expect_error(f(abort, check_dots_used, xy = 4), class = "rlib_error_dots_unused") at test-dots-ellipsis.R:64: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. \-rlang (local) f(abort, check_dots_used, xy = 4)
    8.   \-rlang (local) `<fn>`()
    9.     \-rlang:::check_dots(env, error, action, call)
   10.       \-rlang:::action_dots(...)
   11.         +-base (local) try_dots(...)
   12.         \-rlang (local) action(...)
   13.           \-rlang:::signal_abort(cnd, .file)
   14.             \-base::signalCondition(cnd)
   15.               +-base::conditionMessage(cond)
   16.               \-rlang:::conditionMessage.rlang_error(cond)
   17.                 \-rlang::cnd_message(c)
   18.                   \-rlang:::cnd_message_format(cnd, ...)
   19.                     \-rlang (local) cli_format(glue_escape(lines))
   20.                       \-rlang:::.rlang_cli_format(x, cli::format_error)
   21.                         \-cli::cli_format(x, .envir = emptyenv())
   22.                           \-cli:::fmt(...)
   23.                             \-cli:::cli__fmt(rec, collapse, strip_newline, app)
   24.                               +-base::do.call(app[[msg$type]], msg$args)
   25.                               \-cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-6483", class = NULL)
   26.                                 \-cli:::clii_bullets(app, text, id, class)
   27.                                   \-base::lapply(...)
   28.                                     \-cli (local) FUN(X[[i]], ...)
   29.                                       \-app$text(text[[i]])
   30.                                         \-cli:::clii_text(app, text)
   31.                                           \-app$xtext(text)
   32.                                             \-cli:::clii__xtext(...)
   33.                                               \-cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   34.                                                 \-base::lapply(pars, ansi_trimws)
   35.                                                   \-cli (local) FUN(X[[i]], ...)
  -- Error (test-dots-ellipsis.R:87:3): warn if unused dots ----------------------
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       x
    1. +-testthat::expect_error(safe_median(1:10, y = 1), class = "rlib_error_dots_unused") at test-dots-ellipsis.R:87: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. \-rlang (local) safe_median(1:10, y = 1)
    8.   \-rlang (local) `<fn>`()
    9.     \-rlang:::check_dots(env, error, action, call)
   10.       \-rlang:::action_dots(...)
   11.         +-base (local) try_dots(...)
   12.         \-rlang (local) action(...)
   13.           \-rlang:::signal_abort(cnd, .file)
   14.             \-base::signalCondition(cnd)
   15.               +-base::conditionMessage(cond)
   16.               \-rlang:::conditionMessage.rlang_error(cond)
   17.                 \-rlang::cnd_message(c)
   18.                   \-rlang:::cnd_message_format(cnd, ...)
   19.                     \-rlang (local) cli_format(glue_escape(lines))
   20.                       \-rlang:::.rlang_cli_format(x, cli::format_error)
   21.                         \-cli::cli_format(x, .envir = emptyenv())
   22.                           \-cli:::fmt(...)
   23.                             \-cli:::cli__fmt(rec, collapse, strip_newline, app)
   24.                               +-base::do.call(app[[msg$type]], msg$args)
   25.                               \-cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-6489", class = NULL)
   26.                                 \-cli:::clii_bullets(app, text, id, class)
   27.                                   \-base::lapply(...)
   28.                                     \-cli (local) FUN(X[[i]], ...)
   29.                                       \-app$text(text[[i]])
   30.                                         \-cli:::clii_text(app, text)
   31.                                           \-app$xtext(text)
   32.                                             \-cli:::clii__xtext(...)
   33.                                               \-cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   34.                                                 \-base::lapply(pars, ansi_trimws)
   35.                                                   \-cli (local) FUN(X[[i]], ...)
  -- Error (test-dots-ellipsis.R:95:3): can supply `error` handler ---------------
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       x
    1. +-testthat::expect_warning(f(foo), class = "rlib_error_dots_nonempty") at test-dots-ellipsis.R:95: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. +-rlang (local) f(foo)
    8. | \-rlang::check_dots_empty(error = hnd) at test-dots-ellipsis.R:93:7
    9. |   \-rlang:::action_dots(...)
   10. |     +-rlang (local) try_dots(...)
   11. |     | \-rlang::try_fetch(expr, error = error)
   12. |     |   +-base::tryCatch(...)
   13. |     |   | \-base (local) tryCatchList(expr, classes, parentenv, handlers)
   14. |     |   |   \-base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
   15. |     |   |     \-base (local) doTryCatch(return(expr), name, parentenv, handler)
   16. |     |   \-base::withCallingHandlers(...)
   17. |     \-rlang (local) action(...)
   18. |       \-rlang:::signal_abort(cnd, .file)
   19. |         \-base::signalCondition(cnd)
   20. |           +-base::conditionMessage(cond)
   21. |           \-rlang:::conditionMessage.rlang_error(cond)
   22. |             \-rlang::cnd_message(c)
   23. |               \-rlang:::cnd_message_format(cnd, ...)
   24. |                 \-rlang (local) cli_format(glue_escape(lines))
   25. |                   \-rlang:::.rlang_cli_format(x, cli::format_error)
   26. |                     \-cli::cli_format(x, .envir = emptyenv())
   27. |                       \-cli:::fmt(...)
   28. |                         \-cli:::cli__fmt(rec, collapse, strip_newline, app)
   29. |                           +-base::do.call(app[[msg$type]], msg$args)
   30. |                           \-cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-6495", class = NULL)
   31. |                             \-cli:::clii_bullets(app, text, id, class)
   32. |                               \-base::lapply(...)
   33. |                                 \-cli (local) FUN(X[[i]], ...)
   34. |                                   \-app$text(text[[i]])
   35. |                                     \-cli:::clii_text(app, text)
   36. |                                       \-app$xtext(text)
   37. |                                         \-cli:::clii__xtext(...)
   38. |                                           \-cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   39. |                                             \-base::lapply(pars, ansi_trimws)
   40. |                                               \-cli (local) FUN(X[[i]], ...)
   41. \-base::.handleSimpleError(...)
   42.   \-rlang (local) h(simpleError(msg, call))
   43.     \-handlers[[1L]](cnd)
  -- Error (test-dots.R:193:3): `.homonyms` is matched exactly -------------------
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       x
    1. +-testthat::expect_error(dots_list(.homonyms = "k"), "must be one of") at test-dots.R:193: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. +-rlang::dots_list(.homonyms = "k")
    8. \-rlang:::stop_arg_match(w, x, y, z)
    9.   \-rlang::abort(msg, call = error_call, arg = error_arg)
   10.     \-rlang:::signal_abort(cnd, .file)
   11.       \-base::signalCondition(cnd)
   12.         +-base::conditionMessage(cond)
   13.         \-rlang:::conditionMessage.rlang_error(cond)
   14.           \-rlang::cnd_message(c)
   15.             \-rlang:::cnd_message_format(cnd, ...)
   16.               \-rlang (local) cli_format(glue_escape(lines))
   17.                 \-rlang:::.rlang_cli_format(x, cli::format_error)
   18.                   \-cli::cli_format(x, .envir = emptyenv())
   19.                     \-cli:::fmt(...)
   20.                       \-cli:::cli__fmt(rec, collapse, strip_newline, app)
   21.                         +-base::do.call(app[[msg$type]], msg$args)
   22.                         \-cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-6611", 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-env-binding.R:156:3): env_get() without default fails -----------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-eval-tidy.R:513:3): fake pronoun fails informatively ------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-eval-tidy.R:530:3): `.data` pronoun fails informatively ---------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-fn.R:317:3): as_function() has nice errors ----------------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-fn.R:331:3): check inputs in function accessors -----------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-names.R:88:3): names_as_unique() are verbose or silent ----------
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       x
    1. +-testthat::expect_message(...) at test-names.R:88: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. +-rlang:::names_as_unique(c("", ""))
    8. \-rlang::names_inform_repair(`<chr>`, `<chr>`)
    9.   \-rlang::inform(message = message, class = "rlib_message_name_repair")
   10.     +-base::withRestarts(...)
   11.     | \-base (local) withOneRestart(expr, restarts[[1L]])
   12.     |   \-base (local) doWithOneRestart(return(expr), restart)
   13.     \-base::signalCondition(cnd)
   14.       +-base::conditionMessage(cond)
   15.       \-rlang:::conditionMessage.rlang_message(cond)
   16.         \-rlang::cnd_message(c)
   17.           \-rlang:::cnd_message_format(cnd, ...)
   18.             \-rlang (local) cli_format(glue_escape(lines))
   19.               \-rlang:::.rlang_cli_format(x, cli::format_message)
   20.                 \-cli::cli_format(x, .envir = emptyenv())
   21.                   \-cli:::fmt(...)
   22.                     \-cli:::cli__fmt(rec, collapse, strip_newline, app)
   23.                       +-base::do.call(app[[msg$type]], msg$args)
   24.                       \-cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-9230", class = NULL)
   25.                         \-cli:::clii_bullets(app, text, id, class)
   26.                           \-base::lapply(...)
   27.                             \-cli (local) FUN(X[[i]], ...)
   28.                               \-app$text(text[[i]])
   29.                                 \-cli:::clii_text(app, text)
   30.                                   \-app$xtext(text)
   31.                                     \-cli:::clii__xtext(...)
   32.                                       \-cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   33.                                         \-base::lapply(pars, ansi_trimws)
   34.                                           \-cli (local) FUN(X[[i]], ...)
  -- Error (test-names.R:88:3): names_as_unique() are verbose or silent ----------
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       x
    1. \-testthat::expect_message(...) at test-names.R:88:2
    2.   \-testthat:::expect_condition_matching(...)
    3.     \-rlang (local) `<fn>`()
    4.       \-rlang:::check_dots(env, error, action, call)
    5.         \-rlang:::action_dots(...)
    6.           +-base (local) try_dots(...)
    7.           \-rlang (local) action(...)
    8.             \-base::warning(cnd)
    9.               +-base::conditionMessage(cond)
   10.               \-rlang:::conditionMessage.rlang_warning(cond)
   11.                 \-rlang::cnd_message(c)
   12.                   \-rlang:::cnd_message_format(cnd, ...)
   13.                     \-rlang (local) cli_format(glue_escape(lines))
   14.                       \-rlang:::.rlang_cli_format(x, cli::format_warning)
   15.                         \-cli::cli_format(x, .envir = emptyenv())
   16.                           \-cli:::fmt(...)
   17.                             \-cli:::cli__fmt(rec, collapse, strip_newline, app)
   18.                               +-base::do.call(app[[msg$type]], msg$args)
   19.                               \-cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-9236", class = NULL)
   20.                                 \-cli:::clii_bullets(app, text, id, class)
   21.                                   \-base::lapply(...)
   22.                                     \-cli (local) FUN(X[[i]], ...)
   23.                                       \-app$text(text[[i]])
   24.                                         \-cli:::clii_text(app, text)
   25.                                           \-app$xtext(text)
   26.                                             \-cli:::clii__xtext(...)
   27.                                               \-cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   28.                                                 \-base::lapply(pars, ansi_trimws)
   29.                                                   \-cli (local) FUN(X[[i]], ...)
  -- Error (test-names.R:98:3): names_as_unique() handles encodings --------------
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       x
    1. +-rlang:::names_as_unique(x) at test-names.R:98:2
    2. \-rlang::names_inform_repair(`<chr>`, `<chr>`)
    3.   +-base::paste0(...)
    4.   \-rlang:::map_chr(old[new_names], format_var)
    5.     \-rlang:::.rlang_purrr_map_mold(.x, .f, character(1), ...)
    6.       \-base::vapply(.x, .f, .mold, ..., USE.NAMES = FALSE)
    7.         \-rlang (local) FUN(X[[i]], ...)
    8.           \-rlang:::.rlang_cli_format_inline(x, "var", "`%s`")
    9.             \-cli::format_message(paste0("{.", span, " {x}}"))
   10.               \-cli:::fmt(...)
   11.                 \-cli:::cli__fmt(rec, collapse, strip_newline, app)
   12.                   +-base::do.call(app[[msg$type]], msg$args)
   13.                   \-cli (local) `<fn>`(text = `<list>`, id = "cli-24140-9266", class = NULL)
   14.                     \-cli:::clii_bullets(app, text, id, class)
   15.                       \-base::lapply(...)
   16.                         \-cli (local) FUN(X[[i]], ...)
   17.                           \-app$text(text[[i]])
   18.                             \-cli:::clii_text(app, text)
   19.                               \-app$xtext(text)
   20.                                 \-cli:::clii__xtext(...)
   21.                                   \-cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   22.                                     \-base::lapply(pars, ansi_trimws)
   23.                                       \-cli (local) FUN(X[[i]], ...)
  -- Error (test-names.R:105:3): names_inform_repair() signals classed messages --
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       x
    1. +-testthat::expect_message(names_inform_repair("x", "y"), class = "rlib_message_name_repair") at test-names.R:105: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. \-rlang::names_inform_repair("x", "y")
    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-24140-9284", 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]], ...)
  -- Error (test-nse-defuse.R:391:3): ensyms() captures multiple symbols ---------
  `err(fn(foo()))` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-nse-defuse.R:495:3): ensym() unwraps quosures -------------------
  `err(fn(!!quo(foo())))` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-nse-defuse.R:501:3): ensyms() unwraps quosures ------------------
  `err(fn(!!!quos(foo, bar())))` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-nse-defuse.R:593:3): auto-named expressions can be unique-repaired --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-nse-inject.R:769:3): englue() works -----------------------------
  `err(englue("{'foo'}"), "Must use")` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-operators.R:36:3): %|% fails with wrong types -------------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-operators.R:45:3): %|% fails with wrong length ------------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-parse.R:16:3): parse_expr() throws meaningful error messages ----
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-session.R:9:3): check_installed() fails if packages are not installed --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-session.R:17:3): is_installed() checks minimal versions ---------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-session.R:42:3): check_installed() checks minimal versions ------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-session.R:55:3): < requirements can't be recovered with restart --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-session.R:135:3): `pkg` is type-checked -------------------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-session.R:173:3): pkg_version_info() parses info ----------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-session.R:192:3): pkg_version_info() supports `cmp` -------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-session.R:201:3): `action` is checked ---------------------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-sym.R:4:3): ensym() fails with calls ----------------------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-sym.R:36:3): must supply strings to sym() -----------------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-trace.R:587:3): `bottom` must be a positive integer -------------
  `(expect_error(trace_back(bottom = -1)))` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-trace.R:653:3): sibling streaks in tree backtraces --------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-trace.R:666:3): parallel '|' branches are correctly emphasised --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-trace.R:670:3): parallel '|' branches are correctly emphasised --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-trace.R:684:3): error calls and args are highlighted ------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-trace.R:697:3): error calls and args are highlighted (no highlighted arg) --
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-trace.R:708:3): frame is detected from the left -----------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-trace.R:720:3): arg is defensively checked ----------------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-trace.R:731:3): namespaced calls are highlighted ----------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-types-check.R:5:3): `check_bool()` checks -----------------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-types-check.R:17:3): `check_string()` checks --------------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-types-check.R:30:3): `check_number()` checks --------------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-types-check.R:43:3): `check_symbol()` checks --------------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-types-check.R:54:3): `check_call()` checks ----------------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-types-check.R:64:3): `check_environment()` checks ---------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-types-check.R:77:3): `check_character()` checks -----------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  -- Error (test-types.R:135:3): is_string2() matches on `empty` -----------------
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  
  [ FAIL 134 | WARN 3 | SKIP 133 | PASS 3628 ]
  Error: Test failures
  In addition: Warning messages:
  1: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
    argument encoding="UTF-8" is ignored in MBCS locales
  2: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
    argument encoding="UTF-8" is ignored in MBCS locales
  3: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
    argument encoding="UTF-8" is ignored in MBCS locales
  4: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
    argument encoding="UTF-8" is ignored in MBCS locales
  5: In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
    argument encoding="UTF-8" is ignored in MBCS locales
  Execution halted
  Warning message:
  In parse(con, n = -1, srcfile = srcfile, encoding = "UTF-8") :
    argument encoding="UTF-8" is ignored in MBCS locales