Running 'testthat.R' [56s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(cli)
  > 
  > test_check("cli")
  [?25l[?25h[?25l[?25h[?25l[?25h[?25l[?25h[?25l[?25h[?25l[?25h[?25l[?25h[?25l[?25h[?25l[?25h[?25l[?25h[?25l[?25h[?25l[?25h[ FAIL 34 | WARN 0 | SKIP 299 | PASS 1439 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (298)
  • On Windows (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-alerts.R:37:3): before and after can have spaces ────────────────
  `local(...)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-ansiex.R:508:3): ansi_strwrap double width ──────────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test-ansiex.R:508:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─cli::ansi_strwrap("👷 1 2 3", 4)
   5.   └─base::lapply(pars, ansi_trimws)
   6.     └─cli (local) FUN(X[[i]], ...)
  ── Error (test-bullets.R:6:3): bullets [plain] ─────────────────────────────────
  `cli_bullets(...)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-bullets.R:6:3): bullets [ansi] ──────────────────────────────────
  `cli_bullets(...)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-bullets.R:6:3): bullets [unicode] ───────────────────────────────
  `cli_bullets(...)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-bullets.R:6:3): bullets [fancy] ─────────────────────────────────
  `cli_bullets(...)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-bullets.R:19:3): bullets glue [plain] ───────────────────────────
  `cli_bullets(...)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-bullets.R:19:3): bullets glue [unicode] ─────────────────────────
  `cli_bullets(...)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-bullets.R:33:3): bullets wrapping [plain] ───────────────────────
  `cli_bullets(...)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-bullets.R:33:3): bullets wrapping [ansi] ────────────────────────
  `cli_bullets(...)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-bullets.R:33:3): bullets wrapping [unicode] ─────────────────────
  `cli_bullets(...)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-bullets.R:33:3): bullets wrapping [fancy] ───────────────────────
  `cli_bullets(...)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-format-conditions.R:23:3): format_warning [plain] ───────────────
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-format-conditions.R:31:3): format_warning [plain] ───────────────
  `local(...)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-format-conditions.R:23:3): format_warning [unicode] ─────────────
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-format-conditions.R:31:3): format_warning [unicode] ─────────────
  `local(...)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-format-conditions.R:43:3): format_message [plain] ───────────────
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-format-conditions.R:51:3): format_message [plain] ───────────────
  `local(...)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-format-conditions.R:43:3): format_message [unicode] ─────────────
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-format-conditions.R:51:3): format_message [unicode] ─────────────
  `local(...)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-format-conditions.R:103:3): named first element ─────────────────
  `format_error(c(`*` = "foo", `*` = "bar"))` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-format-conditions.R:106:3): named first element ─────────────────
  `format_warning(c(`*` = "foo", `*` = "bar"))` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-inline-2.R:9:5): quoting phrases that don't start or end with letter or number [plain] ──
  `local(...)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-inline-2.R:42:3): custom truncation [unicode] ───────────────────
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-inline-2.R:42:3): custom truncation [fancy] ─────────────────────
  `{ ... }` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-lists.R:6:3): ul [unicode] ──────────────────────────────────────
  `local(...)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-lists.R:25:3): ul ul [unicode] ──────────────────────────────────
  `local(...)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-lists.R:43:3): ul ol [unicode] ──────────────────────────────────
  `local(...)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-lists.R:80:3): ol ul [unicode] ──────────────────────────────────
  `local(...)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-lists.R:98:3): starting with an item [unicode] ──────────────────
  `local(...)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-lists.R:116:3): ul, with first item [unicode] ───────────────────
  `local(...)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-lists.R:170:3): dl ul [unicode] ─────────────────────────────────
  `local(...)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-lists.R:206:3): ul dl [unicode] ─────────────────────────────────
  `local(...)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  ── Error (test-non-breaking-space.R:3:3): does not break ───────────────────────
  `local(...)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  
  [ FAIL 34 | WARN 0 | SKIP 299 | PASS 1439 ]
  Deleting unused snapshots:
  • utf8/utf8-output.txt
  Error: Test failures
  Execution halted