Running ‘spelling.R’ [0s/1s]
  Running ‘testthat.R’ [26s/79s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(vroom)
  > 
  > test_check("vroom")
  [ FAIL 2 | WARN 0 | SKIP 6 | PASS 1037 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • Not working on CI (1)
  • On CRAN (5)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-vroom.R:430:3): vroom handles files with trailing commas, windows newlines, missing a final newline and not null terminated ──
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─testthat::expect_message(...) at test-vroom.R:430: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. ├─testthat::expect_equal(...)
    8. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    9. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   10. ├─vroom::vroom(f, col_types = list())
   11. │ └─vroom:::vroom_(...)
   12. ├─vroom (local) `<fn>`(`<col_spec>`, 3L, `<chr>`, NULL, "unique")
   13. │ └─vctrs::vec_as_names(col_names, repair = name_repair)
   14. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   15.   └─rlang::names_inform_repair(orig_names, names)
   16.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   17.       ├─base::withRestarts(...)
   18.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   19.       │   └─base (local) doWithOneRestart(return(expr), restart)
   20.       └─base::signalCondition(cnd)
   21.         ├─base::conditionMessage(cond)
   22.         └─rlang:::conditionMessage.rlang_message(cond)
   23.           └─rlang::cnd_message(c)
   24.             └─rlang:::cnd_message_format(cnd, ...)
   25.               └─rlang (local) cli_format(glue_escape(lines))
   26.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   27.                   └─cli::cli_format(x, .envir = emptyenv())
   28.                     └─cli:::fmt(...)
   29.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   30.                         ├─base::do.call(app[[msg$type]], msg$args)
   31.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-2553110-18", class = NULL)
   32.                           └─cli:::clii_bullets(app, text, id, class)
   33.                             └─base::lapply(...)
   34.                               └─cli (local) FUN(X[[i]], ...)
   35.                                 └─app$text(text[[i]])
   36.                                   └─cli:::clii_text(app, text)
   37.                                     └─app$xtext(text)
   38.                                       └─cli:::clii__xtext(...)
   39.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   40.                                           └─base::lapply(pars, ansi_trimws)
   41.                                             └─cli (local) FUN(X[[i]], ...)
  ── Error (test-vroom.R:613:3): col_types are based on the final (possibly repaired) column names (#311) ──
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─base::suppressMessages(...) at test-vroom.R:613:2
    2. │ └─base::withCallingHandlers(...)
    3. ├─vroom::vroom(...)
    4. │ └─vroom:::vroom_(...)
    5. ├─vroom (local) `<fn>`(`<col_spec>`, 2L, `<chr>`, NULL, "unique")
    6. │ └─vctrs::vec_as_names(col_names, repair = name_repair)
    7. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
    8.   └─rlang::names_inform_repair(orig_names, names)
    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-2553110-36", 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]], ...)
  
  [ FAIL 2 | WARN 0 | SKIP 6 | PASS 1037 ]
  Error: Test failures
  Execution halted