Running ‘testthat.R’ [167s/302s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(cheatsheet)
  ══ Welcome to {cheatsheet}! ════════════════════════════════════════════════════
  Download handy R cheat sheets to your local machine! Enter <?get_all_cheatsheets> to learn more. 
  Or visit the homepage at https://bradlindblad.github.io/cheatsheet/
  > 
  > test_check("cheatsheet")
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 3 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-list_languages.R:3:3): list_languages ─────────────────────────
  `list_languages()` threw an error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  Backtrace:
       ▆
    1. ├─testthat::expect_error(list_languages(), NA) at test-list_languages.R:3:2
    2. │ └─testthat:::quasi_capture(...)
    3. │   ├─testthat (local) .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─cheatsheet::list_languages()
    7.   └─cli::cli_li(translation)
    8.     └─cli:::cli__message(...)
    9.       └─cli:::cli__message_emit(cond)
   10.         ├─base::withRestarts(...)
   11.         │ └─base (local) withOneRestart(expr, restarts[[1L]])
   12.         │   └─base (local) doWithOneRestart(return(expr), restart)
   13.         └─cli:::cli__default_handler(cond)
   14.           └─cli:::cli_server_default(msg)
   15.             └─cli:::cli_server_default_safe(msg)
   16.               ├─base::do.call(app[[type]], msg$args)
   17.               └─cli (local) `<fn>`(items = `<list>`, id = "cli-2553110-22", class = NULL)
   18.                 └─cli:::clii_li(app, items, id, class)
   19.                   └─app$item_text(type, names(items)[i], cnt_id, items[[i]])
   20.                     └─cli:::clii__item_text(app, type, name, cnt_id, items, .list = .list)
   21.                       └─app$xtext(...)
   22.                         └─cli:::clii__xtext(...)
   23.                           └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   24.                             └─base::lapply(pars, ansi_trimws)
   25.                               └─cli (local) FUN(X[[i]], ...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 3 ]
  Error: Test failures
  Execution halted