Running ‘testthat.R’ [12s/20s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(readxl)
  > 
  > test_check("readxl")
  [ FAIL 27 | WARN 0 | SKIP 6 | PASS 255 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (6)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-col-names.R:2:3): col_names = FALSE mimics missing column names [xlsx] ──
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─readxl::read_excel(...) at test-col-names.R:2:2
    2. │ └─readxl:::read_excel_(...)
    3. │   └─readxl:::set_readxl_names(...)
    4. │     ├─tibble::as_tibble(l, .name_repair = .name_repair)
    5. │     └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
    6. │       └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    7. │         └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
    8. │           ├─rlang::set_names(...)
    9. │           └─tibble:::repaired_names(...)
   10. │             ├─tibble:::subclass_name_repair_errors(...)
   11. │             │ └─base::withCallingHandlers(...)
   12. │             └─vctrs::vec_as_names(...)
   13. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   14.   └─rlang::names_inform_repair(orig_names, names)
   15.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   16.       ├─base::withRestarts(...)
   17.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   18.       │   └─base (local) doWithOneRestart(return(expr), restart)
   19.       └─base::signalCondition(cnd)
   20.         ├─base::conditionMessage(cond)
   21.         └─rlang:::conditionMessage.rlang_message(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_message)
   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-2553110-30", 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]], ...)
  ── Error (test-col-names.R:24:3): col_names = FALSE mimics missing column names [xls] ──
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─readxl::read_excel(...) at test-col-names.R:24:2
    2. │ └─readxl:::read_excel_(...)
    3. │   └─readxl:::set_readxl_names(...)
    4. │     ├─tibble::as_tibble(l, .name_repair = .name_repair)
    5. │     └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
    6. │       └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    7. │         └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
    8. │           ├─rlang::set_names(...)
    9. │           └─tibble:::repaired_names(...)
   10. │             ├─tibble:::subclass_name_repair_errors(...)
   11. │             │ └─base::withCallingHandlers(...)
   12. │             └─vctrs::vec_as_names(...)
   13. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   14.   └─rlang::names_inform_repair(orig_names, names)
   15.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   16.       ├─base::withRestarts(...)
   17.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   18.       │   └─base (local) doWithOneRestart(return(expr), restart)
   19.       └─base::signalCondition(cnd)
   20.         ├─base::conditionMessage(cond)
   21.         └─rlang:::conditionMessage.rlang_message(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_message)
   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-2553110-60", 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]], ...)
  ── Error (test-col-names.R:47:3): missing column names are populated ───────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─readxl::read_excel(test_sheet("unnamed-duplicated-columns.xlsx")) at test-col-names.R:47:2
    2. │ └─readxl:::read_excel_(...)
    3. │   └─readxl:::set_readxl_names(...)
    4. │     ├─tibble::as_tibble(l, .name_repair = .name_repair)
    5. │     └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
    6. │       └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    7. │         └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
    8. │           ├─rlang::set_names(...)
    9. │           └─tibble:::repaired_names(...)
   10. │             ├─tibble:::subclass_name_repair_errors(...)
   11. │             │ └─base::withCallingHandlers(...)
   12. │             └─vctrs::vec_as_names(...)
   13. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   14.   └─rlang::names_inform_repair(orig_names, names)
   15.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   16.       ├─base::withRestarts(...)
   17.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   18.       │   └─base (local) doWithOneRestart(return(expr), restart)
   19.       └─base::signalCondition(cnd)
   20.         ├─base::conditionMessage(cond)
   21.         └─rlang:::conditionMessage.rlang_message(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_message)
   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-2553110-114", 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]], ...)
  ── Error (test-col-names.R:56:3): column names are de-duplicated ───────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─readxl::read_excel(test_sheet("unnamed-duplicated-columns.xlsx")) at test-col-names.R:56:2
    2. │ └─readxl:::read_excel_(...)
    3. │   └─readxl:::set_readxl_names(...)
    4. │     ├─tibble::as_tibble(l, .name_repair = .name_repair)
    5. │     └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
    6. │       └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    7. │         └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
    8. │           ├─rlang::set_names(...)
    9. │           └─tibble:::repaired_names(...)
   10. │             ├─tibble:::subclass_name_repair_errors(...)
   11. │             │ └─base::withCallingHandlers(...)
   12. │             └─vctrs::vec_as_names(...)
   13. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   14.   └─rlang::names_inform_repair(orig_names, names)
   15.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   16.       ├─base::withRestarts(...)
   17.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   18.       │   └─base (local) doWithOneRestart(return(expr), restart)
   19.       └─base::signalCondition(cnd)
   20.         ├─base::conditionMessage(cond)
   21.         └─rlang:::conditionMessage.rlang_message(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_message)
   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-2553110-168", 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]], ...)
  ── Error (test-col-names.R:104:3): .name_repair is passed through to tibble ────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─readxl::read_excel(test_sheet("names-need-repair-xlsx.xlsx")) at test-col-names.R:104:2
    2. │ └─readxl:::read_excel_(...)
    3. │   └─readxl:::set_readxl_names(...)
    4. │     ├─tibble::as_tibble(l, .name_repair = .name_repair)
    5. │     └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
    6. │       └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    7. │         └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
    8. │           ├─rlang::set_names(...)
    9. │           └─tibble:::repaired_names(...)
   10. │             ├─tibble:::subclass_name_repair_errors(...)
   11. │             │ └─base::withCallingHandlers(...)
   12. │             └─vctrs::vec_as_names(...)
   13. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   14.   └─rlang::names_inform_repair(orig_names, names)
   15.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   16.       ├─base::withRestarts(...)
   17.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   18.       │   └─base (local) doWithOneRestart(return(expr), restart)
   19.       └─base::signalCondition(cnd)
   20.         ├─base::conditionMessage(cond)
   21.         └─rlang:::conditionMessage.rlang_message(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_message)
   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-2553110-210", 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]], ...)
  ── Failure (test-compatibility.R:59:3): we can read LAPD arrest sheets ─────────
  `... <- NULL` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  Backtrace:
       ▆
    1. ├─readxl:::expect_error_free(...) at test-compatibility.R:59:2
    2. │ └─testthat::expect_error(..., regexp = NA) at tests/testthat/helper.R:6:2
    3. │   └─testthat:::expect_condition_matching(...)
    4. │     └─testthat:::quasi_capture(...)
    5. │       ├─testthat (local) .capture(...)
    6. │       │ └─base::withCallingHandlers(...)
    7. │       └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    8. ├─readxl::read_excel(...)
    9. │ └─readxl:::read_excel_(...)
   10. │   └─readxl:::set_readxl_names(...)
   11. │     ├─tibble::as_tibble(l, .name_repair = .name_repair)
   12. │     └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
   13. │       └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   14. │         └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
   15. │           ├─rlang::set_names(...)
   16. │           └─tibble:::repaired_names(...)
   17. │             ├─tibble:::subclass_name_repair_errors(...)
   18. │             │ └─base::withCallingHandlers(...)
   19. │             └─vctrs::vec_as_names(...)
   20. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   21.   └─rlang::names_inform_repair(orig_names, names)
   22.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   23.       ├─base::withRestarts(...)
   24.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   25.       │   └─base (local) doWithOneRestart(return(expr), restart)
   26.       └─base::signalCondition(cnd)
   27.         ├─base::conditionMessage(cond)
   28.         └─rlang:::conditionMessage.rlang_message(cond)
   29.           └─rlang::cnd_message(c)
   30.             └─rlang:::cnd_message_format(cnd, ...)
   31.               └─rlang (local) cli_format(glue_escape(lines))
   32.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   33.                   └─cli::cli_format(x, .envir = emptyenv())
   34.                     └─cli:::fmt(...)
   35.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   36.                         ├─base::do.call(app[[msg$type]], msg$args)
   37.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-2553110-324", class = NULL)
   38.                           └─cli:::clii_bullets(app, text, id, class)
   39.                             └─base::lapply(...)
   40.                               └─cli (local) FUN(X[[i]], ...)
   41.                                 └─app$text(text[[i]])
   42.                                   └─cli:::clii_text(app, text)
   43.                                     └─app$xtext(text)
   44.                                       └─cli:::clii__xtext(...)
   45.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   46.                                           └─base::lapply(pars, ansi_trimws)
   47.                                             └─cli (local) FUN(X[[i]], ...)
  ── Error (test-compatibility.R:62:3): we can read LAPD arrest sheets ───────────
  Error in `eval_bare(expr, quo_get_env(quo))`: object 'lapd' not found
  Backtrace:
      ▆
   1. └─testthat::expect_identical(dim(lapd), c(193L, 36L)) at test-compatibility.R:62:2
   2.   └─testthat::quasi_label(enquo(object), label, arg = "object")
   3.     └─rlang::eval_bare(expr, quo_get_env(quo))
  ── Failure (test-compatibility.R:72:3): we can read xls from ABBYY FineReader ──
  `... <- NULL` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  Backtrace:
       ▆
    1. ├─readxl:::expect_error_free(...) at test-compatibility.R:72:2
    2. │ └─testthat::expect_error(..., regexp = NA) at tests/testthat/helper.R:6:2
    3. │   └─testthat:::expect_condition_matching(...)
    4. │     └─testthat:::quasi_capture(...)
    5. │       ├─testthat (local) .capture(...)
    6. │       │ └─base::withCallingHandlers(...)
    7. │       └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    8. ├─readxl::read_excel(...)
    9. │ └─readxl:::read_excel_(...)
   10. │   └─readxl:::set_readxl_names(...)
   11. │     ├─tibble::as_tibble(l, .name_repair = .name_repair)
   12. │     └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
   13. │       └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   14. │         └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
   15. │           ├─rlang::set_names(...)
   16. │           └─tibble:::repaired_names(...)
   17. │             ├─tibble:::subclass_name_repair_errors(...)
   18. │             │ └─base::withCallingHandlers(...)
   19. │             └─vctrs::vec_as_names(...)
   20. └─vctrs:::describe_repair("", "...1")
   21.   └─rlang::names_inform_repair(orig_names, names)
   22.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   23.       ├─base::withRestarts(...)
   24.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   25.       │   └─base (local) doWithOneRestart(return(expr), restart)
   26.       └─base::signalCondition(cnd)
   27.         ├─base::conditionMessage(cond)
   28.         └─rlang:::conditionMessage.rlang_message(cond)
   29.           └─rlang::cnd_message(c)
   30.             └─rlang:::cnd_message_format(cnd, ...)
   31.               └─rlang (local) cli_format(glue_escape(lines))
   32.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   33.                   └─cli::cli_format(x, .envir = emptyenv())
   34.                     └─cli:::fmt(...)
   35.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   36.                         ├─base::do.call(app[[msg$type]], msg$args)
   37.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-2553110-342", class = NULL)
   38.                           └─cli:::clii_bullets(app, text, id, class)
   39.                             └─base::lapply(...)
   40.                               └─cli (local) FUN(X[[i]], ...)
   41.                                 └─app$text(text[[i]])
   42.                                   └─cli:::clii_text(app, text)
   43.                                     └─app$xtext(text)
   44.                                       └─cli:::clii__xtext(...)
   45.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   46.                                           └─base::lapply(pars, ansi_trimws)
   47.                                             └─cli (local) FUN(X[[i]], ...)
  ── Error (test-compatibility.R:79:3): we can read xls from ABBYY FineReader ────
  Error in `nrow(abbyy)`: object 'abbyy' not found
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(nrow(abbyy), 1) at test-compatibility.R:79:2
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─base::nrow(abbyy)
  ── Error (test-geometry.R:85:3): range requests that run off one or more edges of data rectangle work ──
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─readxl::read_excel(test_sheet("geometry.xls"), range = "A2:E7") at test-geometry.R:85:2
    2. │ └─readxl:::read_excel_(...)
    3. │   └─readxl:::set_readxl_names(...)
    4. │     ├─tibble::as_tibble(l, .name_repair = .name_repair)
    5. │     └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
    6. │       └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    7. │         └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
    8. │           ├─rlang::set_names(...)
    9. │           └─tibble:::repaired_names(...)
   10. │             ├─tibble:::subclass_name_repair_errors(...)
   11. │             │ └─base::withCallingHandlers(...)
   12. │             └─vctrs::vec_as_names(...)
   13. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   14.   └─rlang::names_inform_repair(orig_names, names)
   15.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   16.       ├─base::withRestarts(...)
   17.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   18.       │   └─base (local) doWithOneRestart(return(expr), restart)
   19.       └─base::signalCondition(cnd)
   20.         ├─base::conditionMessage(cond)
   21.         └─rlang:::conditionMessage.rlang_message(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_message)
   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-2553110-408", 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]], ...)
  ── Error (test-geometry.R:123:3): requests that use cell_rows() only work ──────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─readxl::read_excel(test_sheet("geometry.xls"), range = cell_rows(2:3)) at test-geometry.R:123:2
    2. │ └─readxl:::read_excel_(...)
    3. │   └─readxl:::set_readxl_names(...)
    4. │     ├─tibble::as_tibble(l, .name_repair = .name_repair)
    5. │     └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
    6. │       └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    7. │         └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
    8. │           ├─rlang::set_names(...)
    9. │           └─tibble:::repaired_names(...)
   10. │             ├─tibble:::subclass_name_repair_errors(...)
   11. │             │ └─base::withCallingHandlers(...)
   12. │             └─vctrs::vec_as_names(...)
   13. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   14.   └─rlang::names_inform_repair(orig_names, names)
   15.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   16.       ├─base::withRestarts(...)
   17.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   18.       │   └─base (local) doWithOneRestart(return(expr), restart)
   19.       └─base::signalCondition(cnd)
   20.         ├─base::conditionMessage(cond)
   21.         └─rlang:::conditionMessage.rlang_message(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_message)
   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-2553110-450", 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]], ...)
  ── Error (test-geometry.R:162:3): requests that use cell_cols() only work ──────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─readxl::read_excel(test_sheet("geometry.xls"), range = cell_cols(2:5)) at test-geometry.R:162:2
    2. │ └─readxl:::read_excel_(...)
    3. │   └─readxl:::set_readxl_names(...)
    4. │     ├─tibble::as_tibble(l, .name_repair = .name_repair)
    5. │     └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
    6. │       └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    7. │         └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
    8. │           ├─rlang::set_names(...)
    9. │           └─tibble:::repaired_names(...)
   10. │             ├─tibble:::subclass_name_repair_errors(...)
   11. │             │ └─base::withCallingHandlers(...)
   12. │             └─vctrs::vec_as_names(...)
   13. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   14.   └─rlang::names_inform_repair(orig_names, names)
   15.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   16.       ├─base::withRestarts(...)
   17.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   18.       │   └─base (local) doWithOneRestart(return(expr), restart)
   19.       └─base::signalCondition(cnd)
   20.         ├─base::conditionMessage(cond)
   21.         └─rlang:::conditionMessage.rlang_message(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_message)
   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-2553110-468", 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]], ...)
  ── Error (test-geometry.R:193:3): open rectangles work ─────────────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─readxl::read_excel(test_sheet("geometry.xls"), range = lims) at test-geometry.R:193:2
    2. │ └─readxl:::read_excel_(...)
    3. │   └─readxl:::set_readxl_names(...)
    4. │     ├─tibble::as_tibble(l, .name_repair = .name_repair)
    5. │     └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
    6. │       └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    7. │         └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
    8. │           ├─rlang::set_names(...)
    9. │           └─tibble:::repaired_names(...)
   10. │             ├─tibble:::subclass_name_repair_errors(...)
   11. │             │ └─base::withCallingHandlers(...)
   12. │             └─vctrs::vec_as_names(...)
   13. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   14.   └─rlang::names_inform_repair(orig_names, names)
   15.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   16.       ├─base::withRestarts(...)
   17.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   18.       │   └─base (local) doWithOneRestart(return(expr), restart)
   19.       └─base::signalCondition(cnd)
   20.         ├─base::conditionMessage(cond)
   21.         └─rlang:::conditionMessage.rlang_message(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_message)
   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-2553110-486", 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]], ...)
  ── Error (test-missing-values.R:84:3): empty first column gives valid data.frame [xls] ──
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─readxl::read_excel(test_sheet("missing-first-column.xls"), col_names = FALSE) at test-missing-values.R:84:2
    2. │ └─readxl:::read_excel_(...)
    3. │   └─readxl:::set_readxl_names(...)
    4. │     ├─tibble::as_tibble(l, .name_repair = .name_repair)
    5. │     └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
    6. │       └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    7. │         └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
    8. │           ├─rlang::set_names(...)
    9. │           └─tibble:::repaired_names(...)
   10. │             ├─tibble:::subclass_name_repair_errors(...)
   11. │             │ └─base::withCallingHandlers(...)
   12. │             └─vctrs::vec_as_names(...)
   13. └─vctrs:::describe_repair("", "...1")
   14.   └─rlang::names_inform_repair(orig_names, names)
   15.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   16.       ├─base::withRestarts(...)
   17.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   18.       │   └─base (local) doWithOneRestart(return(expr), restart)
   19.       └─base::signalCondition(cnd)
   20.         ├─base::conditionMessage(cond)
   21.         └─rlang:::conditionMessage.rlang_message(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_message)
   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-2553110-504", 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]], ...)
  ── Error (test-missing-values.R:90:3): empty first column gives valid data.frame [xlsx] ──
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─readxl::read_excel(test_sheet("missing-first-column.xlsx"), col_names = FALSE) at test-missing-values.R:90:2
    2. │ └─readxl:::read_excel_(...)
    3. │   └─readxl:::set_readxl_names(...)
    4. │     ├─tibble::as_tibble(l, .name_repair = .name_repair)
    5. │     └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
    6. │       └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    7. │         └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
    8. │           ├─rlang::set_names(...)
    9. │           └─tibble:::repaired_names(...)
   10. │             ├─tibble:::subclass_name_repair_errors(...)
   11. │             │ └─base::withCallingHandlers(...)
   12. │             └─vctrs::vec_as_names(...)
   13. └─vctrs:::describe_repair("", "...1")
   14.   └─rlang::names_inform_repair(orig_names, names)
   15.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   16.       ├─base::withRestarts(...)
   17.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   18.       │   └─base (local) doWithOneRestart(return(expr), restart)
   19.       └─base::signalCondition(cnd)
   20.         ├─base::conditionMessage(cond)
   21.         └─rlang:::conditionMessage.rlang_message(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_message)
   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-2553110-522", 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]], ...)
  ── Error (test-missing-values.R:116:3): empty (styled) cells are not loaded, but can survive as NA [xlsx] ──
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─readxl::read_excel(test_sheet("style-only-cells.xlsx")) at test-missing-values.R:116:2
    2. │ └─readxl:::read_excel_(...)
    3. │   └─readxl:::set_readxl_names(...)
    4. │     ├─tibble::as_tibble(l, .name_repair = .name_repair)
    5. │     └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
    6. │       └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    7. │         └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
    8. │           ├─rlang::set_names(...)
    9. │           └─tibble:::repaired_names(...)
   10. │             ├─tibble:::subclass_name_repair_errors(...)
   11. │             │ └─base::withCallingHandlers(...)
   12. │             └─vctrs::vec_as_names(...)
   13. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   14.   └─rlang::names_inform_repair(orig_names, names)
   15.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   16.       ├─base::withRestarts(...)
   17.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   18.       │   └─base (local) doWithOneRestart(return(expr), restart)
   19.       └─base::signalCondition(cnd)
   20.         ├─base::conditionMessage(cond)
   21.         └─rlang:::conditionMessage.rlang_message(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_message)
   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-2553110-540", 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]], ...)
  ── Error (test-missing-values.R:130:3): empty (styled) cells are not loaded, but can survive as NA [xls] ──
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─readxl::read_excel(test_sheet("style-only-cells.xls")) at test-missing-values.R:130:2
    2. │ └─readxl:::read_excel_(...)
    3. │   └─readxl:::set_readxl_names(...)
    4. │     ├─tibble::as_tibble(l, .name_repair = .name_repair)
    5. │     └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
    6. │       └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    7. │         └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
    8. │           ├─rlang::set_names(...)
    9. │           └─tibble:::repaired_names(...)
   10. │             ├─tibble:::subclass_name_repair_errors(...)
   11. │             │ └─base::withCallingHandlers(...)
   12. │             └─vctrs::vec_as_names(...)
   13. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   14.   └─rlang::names_inform_repair(orig_names, names)
   15.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   16.       ├─base::withRestarts(...)
   17.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   18.       │   └─base (local) doWithOneRestart(return(expr), restart)
   19.       └─base::signalCondition(cnd)
   20.         ├─base::conditionMessage(cond)
   21.         └─rlang:::conditionMessage.rlang_message(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_message)
   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-2553110-558", 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]], ...)
  ── Error (test-n-max.R:39:3): n_max is upper bound on nrows, if it causes trailing blank row ──
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─readxl::read_excel(...) at test-n-max.R:39:2
    2. │ └─readxl:::read_excel_(...)
    3. │   └─readxl:::set_readxl_names(...)
    4. │     ├─tibble::as_tibble(l, .name_repair = .name_repair)
    5. │     └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
    6. │       └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    7. │         └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
    8. │           ├─rlang::set_names(...)
    9. │           └─tibble:::repaired_names(...)
   10. │             ├─tibble:::subclass_name_repair_errors(...)
   11. │             │ └─base::withCallingHandlers(...)
   12. │             └─vctrs::vec_as_names(...)
   13. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   14.   └─rlang::names_inform_repair(orig_names, names)
   15.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   16.       ├─base::withRestarts(...)
   17.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   18.       │   └─base (local) doWithOneRestart(return(expr), restart)
   19.       └─base::signalCondition(cnd)
   20.         ├─base::conditionMessage(cond)
   21.         └─rlang:::conditionMessage.rlang_message(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_message)
   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-2553110-576", 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]], ...)
  ── Error (test-n-max.R:93:3): n_max = nrows in dense sheet when col_names = FALSE ──
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─readxl::read_excel(...) at test-n-max.R:93:2
    2. │ └─readxl:::read_excel_(...)
    3. │   └─readxl:::set_readxl_names(...)
    4. │     ├─tibble::as_tibble(l, .name_repair = .name_repair)
    5. │     └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
    6. │       └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    7. │         └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
    8. │           ├─rlang::set_names(...)
    9. │           └─tibble:::repaired_names(...)
   10. │             ├─tibble:::subclass_name_repair_errors(...)
   11. │             │ └─base::withCallingHandlers(...)
   12. │             └─vctrs::vec_as_names(...)
   13. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   14.   └─rlang::names_inform_repair(orig_names, names)
   15.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   16.       ├─base::withRestarts(...)
   17.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   18.       │   └─base (local) doWithOneRestart(return(expr), restart)
   19.       └─base::signalCondition(cnd)
   20.         ├─base::conditionMessage(cond)
   21.         └─rlang:::conditionMessage.rlang_message(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_message)
   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-2553110-642", 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]], ...)
  ── Error (test-n-max.R:113:3): n_max directive survives implicit skipping of empty rows [xlsx] ──
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─readxl::read_excel(...) at test-n-max.R:113:2
    2. │ └─readxl:::read_excel_(...)
    3. │   └─readxl:::set_readxl_names(...)
    4. │     ├─tibble::as_tibble(l, .name_repair = .name_repair)
    5. │     └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
    6. │       └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    7. │         └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
    8. │           ├─rlang::set_names(...)
    9. │           └─tibble:::repaired_names(...)
   10. │             ├─tibble:::subclass_name_repair_errors(...)
   11. │             │ └─base::withCallingHandlers(...)
   12. │             └─vctrs::vec_as_names(...)
   13. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   14.   └─rlang::names_inform_repair(orig_names, names)
   15.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   16.       ├─base::withRestarts(...)
   17.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   18.       │   └─base (local) doWithOneRestart(return(expr), restart)
   19.       └─base::signalCondition(cnd)
   20.         ├─base::conditionMessage(cond)
   21.         └─rlang:::conditionMessage.rlang_message(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_message)
   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-2553110-684", 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]], ...)
  ── Error (test-n-max.R:135:3): n_max directive survives implicit skipping of empty rows [xls] ──
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─readxl::read_excel(...) at test-n-max.R:135:2
    2. │ └─readxl:::read_excel_(...)
    3. │   └─readxl:::set_readxl_names(...)
    4. │     ├─tibble::as_tibble(l, .name_repair = .name_repair)
    5. │     └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
    6. │       └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    7. │         └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
    8. │           ├─rlang::set_names(...)
    9. │           └─tibble:::repaired_names(...)
   10. │             ├─tibble:::subclass_name_repair_errors(...)
   11. │             │ └─base::withCallingHandlers(...)
   12. │             └─vctrs::vec_as_names(...)
   13. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   14.   └─rlang::names_inform_repair(orig_names, names)
   15.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   16.       ├─base::withRestarts(...)
   17.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   18.       │   └─base (local) doWithOneRestart(return(expr), restart)
   19.       └─base::signalCondition(cnd)
   20.         ├─base::conditionMessage(cond)
   21.         └─rlang:::conditionMessage.rlang_message(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_message)
   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-2553110-726", 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]], ...)
  ── Error (test-read-excel.R:4:3): can read sheets with inlineStr ───────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─readxl::read_excel(test_sheet("inlineStr.xlsx")) at test-read-excel.R:4:2
    2. │ └─readxl:::read_excel_(...)
    3. │   └─readxl:::set_readxl_names(...)
    4. │     ├─tibble::as_tibble(l, .name_repair = .name_repair)
    5. │     └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
    6. │       └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    7. │         └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
    8. │           ├─rlang::set_names(...)
    9. │           └─tibble:::repaired_names(...)
   10. │             ├─tibble:::subclass_name_repair_errors(...)
   11. │             │ └─base::withCallingHandlers(...)
   12. │             └─vctrs::vec_as_names(...)
   13. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   14.   └─rlang::names_inform_repair(orig_names, names)
   15.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   16.       ├─base::withRestarts(...)
   17.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   18.       │   └─base (local) doWithOneRestart(return(expr), restart)
   19.       └─base::signalCondition(cnd)
   20.         ├─base::conditionMessage(cond)
   21.         └─rlang:::conditionMessage.rlang_message(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_message)
   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-2553110-744", 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]], ...)
  ── Error (test-richtext.R:2:3): rich text strings are handled in stringtable ───
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─readxl::read_excel(test_sheet("richtext-coloured.xlsx"), col_names = FALSE) at test-richtext.R:2:2
    2. │ └─readxl:::read_excel_(...)
    3. │   └─readxl:::set_readxl_names(...)
    4. │     ├─tibble::as_tibble(l, .name_repair = .name_repair)
    5. │     └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
    6. │       └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    7. │         └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
    8. │           ├─rlang::set_names(...)
    9. │           └─tibble:::repaired_names(...)
   10. │             ├─tibble:::subclass_name_repair_errors(...)
   11. │             │ └─base::withCallingHandlers(...)
   12. │             └─vctrs::vec_as_names(...)
   13. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   14.   └─rlang::names_inform_repair(orig_names, names)
   15.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   16.       ├─base::withRestarts(...)
   17.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   18.       │   └─base (local) doWithOneRestart(return(expr), restart)
   19.       └─base::signalCondition(cnd)
   20.         ├─base::conditionMessage(cond)
   21.         └─rlang:::conditionMessage.rlang_message(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_message)
   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-2553110-798", 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]], ...)
  ── Error (test-richtext.R:17:3): rich text inside inlineStr ────────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─readxl::read_excel(test_sheet("inlineStr2.xlsx")) at test-richtext.R:17:2
    2. │ └─readxl:::read_excel_(...)
    3. │   └─readxl:::set_readxl_names(...)
    4. │     ├─tibble::as_tibble(l, .name_repair = .name_repair)
    5. │     └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
    6. │       └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    7. │         └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
    8. │           ├─rlang::set_names(...)
    9. │           └─tibble:::repaired_names(...)
   10. │             ├─tibble:::subclass_name_repair_errors(...)
   11. │             │ └─base::withCallingHandlers(...)
   12. │             └─vctrs::vec_as_names(...)
   13. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   14.   └─rlang::names_inform_repair(orig_names, names)
   15.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   16.       ├─base::withRestarts(...)
   17.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   18.       │   └─base (local) doWithOneRestart(return(expr), restart)
   19.       └─base::signalCondition(cnd)
   20.         ├─base::conditionMessage(cond)
   21.         └─rlang:::conditionMessage.rlang_message(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_message)
   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-2553110-816", 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]], ...)
  ── Error (test-skipping.R:33:3): failure to skip junk leads to garbage df but no error ──
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─readxl::read_excel(skipping_xlsx, sheet = "occupied_row_and_blank_row") at test-skipping.R:33:2
    2. │ └─readxl:::read_excel_(...)
    3. │   └─readxl:::set_readxl_names(...)
    4. │     ├─tibble::as_tibble(l, .name_repair = .name_repair)
    5. │     └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
    6. │       └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    7. │         └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
    8. │           ├─rlang::set_names(...)
    9. │           └─tibble:::repaired_names(...)
   10. │             ├─tibble:::subclass_name_repair_errors(...)
   11. │             │ └─base::withCallingHandlers(...)
   12. │             └─vctrs::vec_as_names(...)
   13. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   14.   └─rlang::names_inform_repair(orig_names, names)
   15.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   16.       ├─base::withRestarts(...)
   17.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   18.       │   └─base (local) doWithOneRestart(return(expr), restart)
   19.       └─base::signalCondition(cnd)
   20.         ├─base::conditionMessage(cond)
   21.         └─rlang:::conditionMessage.rlang_message(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_message)
   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-2553110-834", 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]], ...)
  ── Error (test-trim-ws.R:6:3): trim_ws is default and it works ─────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─readxl::read_excel(test_sheet("whitespace-xls.xls"), col_names = FALSE) at test-trim-ws.R:6:2
    2. │ └─readxl:::read_excel_(...)
    3. │   └─readxl:::set_readxl_names(...)
    4. │     ├─tibble::as_tibble(l, .name_repair = .name_repair)
    5. │     └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
    6. │       └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    7. │         └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
    8. │           ├─rlang::set_names(...)
    9. │           └─tibble:::repaired_names(...)
   10. │             ├─tibble:::subclass_name_repair_errors(...)
   11. │             │ └─base::withCallingHandlers(...)
   12. │             └─vctrs::vec_as_names(...)
   13. └─vctrs:::describe_repair("", "...1")
   14.   └─rlang::names_inform_repair(orig_names, names)
   15.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   16.       ├─base::withRestarts(...)
   17.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   18.       │   └─base (local) doWithOneRestart(return(expr), restart)
   19.       └─base::signalCondition(cnd)
   20.         ├─base::conditionMessage(cond)
   21.         └─rlang:::conditionMessage.rlang_message(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_message)
   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-2553110-852", 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]], ...)
  ── Error (test-trim-ws.R:28:3): trim_ws = FALSE preserves whitespace ───────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─readxl::read_excel(...) at test-trim-ws.R:28:2
    2. │ └─readxl:::read_excel_(...)
    3. │   └─readxl:::set_readxl_names(...)
    4. │     ├─tibble::as_tibble(l, .name_repair = .name_repair)
    5. │     └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
    6. │       └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
    7. │         └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
    8. │           ├─rlang::set_names(...)
    9. │           └─tibble:::repaired_names(...)
   10. │             ├─tibble:::subclass_name_repair_errors(...)
   11. │             │ └─base::withCallingHandlers(...)
   12. │             └─vctrs::vec_as_names(...)
   13. └─vctrs:::describe_repair("", "...1")
   14.   └─rlang::names_inform_repair(orig_names, names)
   15.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   16.       ├─base::withRestarts(...)
   17.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   18.       │   └─base (local) doWithOneRestart(return(expr), restart)
   19.       └─base::signalCondition(cnd)
   20.         ├─base::conditionMessage(cond)
   21.         └─rlang:::conditionMessage.rlang_message(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_message)
   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-2553110-870", 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]], ...)
  
  [ FAIL 27 | WARN 0 | SKIP 6 | PASS 255 ]
  Error: Test failures
  Execution halted