Running ‘testthat.R’ [9s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(whippr)
  > 
  > test_check("whippr")
  [ FAIL 12 | WARN 0 | SKIP 0 | PASS 2 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-detect_outliers.R:4:3): detection of outliers works ─────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─whippr::read_data(path = path_example, metabolic_cart = "cosmed") at test-detect_outliers.R:4:2
    2. ├─whippr:::read_data.cosmed(path = path_example, metabolic_cart = "cosmed")
    3. │ ├─base::suppressMessages(readxl::read_excel(path = path))
    4. │ │ └─base::withCallingHandlers(...)
    5. │ └─readxl::read_excel(path = path)
    6. │   └─readxl:::read_excel_(...)
    7. │     └─readxl:::set_readxl_names(...)
    8. │       ├─tibble::as_tibble(l, .name_repair = .name_repair)
    9. │       └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
   10. │         └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   11. │           └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
   12. │             ├─rlang::set_names(...)
   13. │             └─tibble:::repaired_names(...)
   14. │               ├─tibble:::subclass_name_repair_errors(...)
   15. │               │ └─base::withCallingHandlers(...)
   16. │               └─vctrs::vec_as_names(...)
   17. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   18.   └─rlang::names_inform_repair(orig_names, names)
   19.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   20.       ├─base::withRestarts(...)
   21.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   22.       │   └─base (local) doWithOneRestart(return(expr), restart)
   23.       └─base::signalCondition(cnd)
   24.         ├─base::conditionMessage(cond)
   25.         └─rlang:::conditionMessage.rlang_message(cond)
   26.           └─rlang::cnd_message(c)
   27.             └─rlang:::cnd_message_format(cnd, ...)
   28.               └─rlang (local) cli_format(glue_escape(lines))
   29.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   30.                   └─cli::cli_format(x, .envir = emptyenv())
   31.                     └─cli:::fmt(...)
   32.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   33.                         ├─base::do.call(app[[msg$type]], msg$args)
   34.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-2553110-78", class = NULL)
   35.                           └─cli:::clii_bullets(app, text, id, class)
   36.                             └─base::lapply(...)
   37.                               └─cli (local) FUN(X[[i]], ...)
   38.                                 └─app$text(text[[i]])
   39.                                   └─cli:::clii_text(app, text)
   40.                                     └─app$xtext(text)
   41.                                       └─cli:::clii__xtext(...)
   42.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   43.                                           └─base::lapply(pars, ansi_trimws)
   44.                                             └─cli (local) FUN(X[[i]], ...)
  ── Error (test-incremental.R:5:3): incremental_normalize ramp works ────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─whippr::read_data(path = path_example, metabolic_cart = "cosmed") at test-incremental.R:5:2
    2. ├─whippr:::read_data.cosmed(path = path_example, metabolic_cart = "cosmed")
    3. │ ├─base::suppressMessages(readxl::read_excel(path = path))
    4. │ │ └─base::withCallingHandlers(...)
    5. │ └─readxl::read_excel(path = path)
    6. │   └─readxl:::read_excel_(...)
    7. │     └─readxl:::set_readxl_names(...)
    8. │       ├─tibble::as_tibble(l, .name_repair = .name_repair)
    9. │       └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
   10. │         └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   11. │           └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
   12. │             ├─rlang::set_names(...)
   13. │             └─tibble:::repaired_names(...)
   14. │               ├─tibble:::subclass_name_repair_errors(...)
   15. │               │ └─base::withCallingHandlers(...)
   16. │               └─vctrs::vec_as_names(...)
   17. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   18.   └─rlang::names_inform_repair(orig_names, names)
   19.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   20.       ├─base::withRestarts(...)
   21.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   22.       │   └─base (local) doWithOneRestart(return(expr), restart)
   23.       └─base::signalCondition(cnd)
   24.         ├─base::conditionMessage(cond)
   25.         └─rlang:::conditionMessage.rlang_message(cond)
   26.           └─rlang::cnd_message(c)
   27.             └─rlang:::cnd_message_format(cnd, ...)
   28.               └─rlang (local) cli_format(glue_escape(lines))
   29.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   30.                   └─cli::cli_format(x, .envir = emptyenv())
   31.                     └─cli:::fmt(...)
   32.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   33.                         ├─base::do.call(app[[msg$type]], msg$args)
   34.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-2553110-144", class = NULL)
   35.                           └─cli:::clii_bullets(app, text, id, class)
   36.                             └─base::lapply(...)
   37.                               └─cli (local) FUN(X[[i]], ...)
   38.                                 └─app$text(text[[i]])
   39.                                   └─cli:::clii_text(app, text)
   40.                                     └─app$xtext(text)
   41.                                       └─cli:::clii__xtext(...)
   42.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   43.                                           └─base::lapply(pars, ansi_trimws)
   44.                                             └─cli (local) FUN(X[[i]], ...)
  ── Error (test-incremental.R:28:3): incremental_normalize step works ───────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─whippr::read_data(path = path_example, metabolic_cart = "cortex") at test-incremental.R:28:2
    2. ├─whippr:::read_data.cortex(path = path_example, metabolic_cart = "cortex")
    3. │ ├─base::suppressMessages(readxl::read_excel(path = path))
    4. │ │ └─base::withCallingHandlers(...)
    5. │ └─readxl::read_excel(path = path)
    6. │   └─readxl:::read_excel_(...)
    7. │     └─readxl:::set_readxl_names(...)
    8. │       ├─tibble::as_tibble(l, .name_repair = .name_repair)
    9. │       └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
   10. │         └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   11. │           └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
   12. │             ├─rlang::set_names(...)
   13. │             └─tibble:::repaired_names(...)
   14. │               ├─tibble:::subclass_name_repair_errors(...)
   15. │               │ └─base::withCallingHandlers(...)
   16. │               └─vctrs::vec_as_names(...)
   17. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   18.   └─rlang::names_inform_repair(orig_names, names)
   19.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   20.       ├─base::withRestarts(...)
   21.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   22.       │   └─base (local) doWithOneRestart(return(expr), restart)
   23.       └─base::signalCondition(cnd)
   24.         ├─base::conditionMessage(cond)
   25.         └─rlang:::conditionMessage.rlang_message(cond)
   26.           └─rlang::cnd_message(c)
   27.             └─rlang:::cnd_message_format(cnd, ...)
   28.               └─rlang (local) cli_format(glue_escape(lines))
   29.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   30.                   └─cli::cli_format(x, .envir = emptyenv())
   31.                     └─cli:::fmt(...)
   32.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   33.                         ├─base::do.call(app[[msg$type]], msg$args)
   34.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-2553110-486", class = NULL)
   35.                           └─cli:::clii_bullets(app, text, id, class)
   36.                             └─base::lapply(...)
   37.                               └─cli (local) FUN(X[[i]], ...)
   38.                                 └─app$text(text[[i]])
   39.                                   └─cli:::clii_text(app, text)
   40.                                     └─app$xtext(text)
   41.                                       └─cli:::clii__xtext(...)
   42.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   43.                                           └─base::lapply(pars, ansi_trimws)
   44.                                             └─cli (local) FUN(X[[i]], ...)
  ── Error (test-incremental.R:53:3): plot_incremental ramp works ────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─whippr::read_data(path = path_example, metabolic_cart = "cosmed") at test-incremental.R:53:2
    2. ├─whippr:::read_data.cosmed(path = path_example, metabolic_cart = "cosmed")
    3. │ ├─base::suppressMessages(readxl::read_excel(path = path))
    4. │ │ └─base::withCallingHandlers(...)
    5. │ └─readxl::read_excel(path = path)
    6. │   └─readxl:::read_excel_(...)
    7. │     └─readxl:::set_readxl_names(...)
    8. │       ├─tibble::as_tibble(l, .name_repair = .name_repair)
    9. │       └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
   10. │         └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   11. │           └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
   12. │             ├─rlang::set_names(...)
   13. │             └─tibble:::repaired_names(...)
   14. │               ├─tibble:::subclass_name_repair_errors(...)
   15. │               │ └─base::withCallingHandlers(...)
   16. │               └─vctrs::vec_as_names(...)
   17. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   18.   └─rlang::names_inform_repair(orig_names, names)
   19.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   20.       ├─base::withRestarts(...)
   21.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   22.       │   └─base (local) doWithOneRestart(return(expr), restart)
   23.       └─base::signalCondition(cnd)
   24.         ├─base::conditionMessage(cond)
   25.         └─rlang:::conditionMessage.rlang_message(cond)
   26.           └─rlang::cnd_message(c)
   27.             └─rlang:::cnd_message_format(cnd, ...)
   28.               └─rlang (local) cli_format(glue_escape(lines))
   29.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   30.                   └─cli::cli_format(x, .envir = emptyenv())
   31.                     └─cli:::fmt(...)
   32.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   33.                         ├─base::do.call(app[[msg$type]], msg$args)
   34.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-2553110-552", class = NULL)
   35.                           └─cli:::clii_bullets(app, text, id, class)
   36.                             └─base::lapply(...)
   37.                               └─cli (local) FUN(X[[i]], ...)
   38.                                 └─app$text(text[[i]])
   39.                                   └─cli:::clii_text(app, text)
   40.                                     └─app$xtext(text)
   41.                                       └─cli:::clii__xtext(...)
   42.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   43.                                           └─base::lapply(pars, ansi_trimws)
   44.                                             └─cli (local) FUN(X[[i]], ...)
  ── Error (test-incremental.R:77:3): plot_incremental step works ────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─whippr::read_data(path = path_example, metabolic_cart = "cortex") at test-incremental.R:77:2
    2. ├─whippr:::read_data.cortex(path = path_example, metabolic_cart = "cortex")
    3. │ ├─base::suppressMessages(readxl::read_excel(path = path))
    4. │ │ └─base::withCallingHandlers(...)
    5. │ └─readxl::read_excel(path = path)
    6. │   └─readxl:::read_excel_(...)
    7. │     └─readxl:::set_readxl_names(...)
    8. │       ├─tibble::as_tibble(l, .name_repair = .name_repair)
    9. │       └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
   10. │         └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   11. │           └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
   12. │             ├─rlang::set_names(...)
   13. │             └─tibble:::repaired_names(...)
   14. │               ├─tibble:::subclass_name_repair_errors(...)
   15. │               │ └─base::withCallingHandlers(...)
   16. │               └─vctrs::vec_as_names(...)
   17. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   18.   └─rlang::names_inform_repair(orig_names, names)
   19.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   20.       ├─base::withRestarts(...)
   21.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   22.       │   └─base (local) doWithOneRestart(return(expr), restart)
   23.       └─base::signalCondition(cnd)
   24.         ├─base::conditionMessage(cond)
   25.         └─rlang:::conditionMessage.rlang_message(cond)
   26.           └─rlang::cnd_message(c)
   27.             └─rlang:::cnd_message_format(cnd, ...)
   28.               └─rlang (local) cli_format(glue_escape(lines))
   29.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   30.                   └─cli::cli_format(x, .envir = emptyenv())
   31.                     └─cli:::fmt(...)
   32.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   33.                         ├─base::do.call(app[[msg$type]], msg$args)
   34.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-2553110-894", class = NULL)
   35.                           └─cli:::clii_bullets(app, text, id, class)
   36.                             └─base::lapply(...)
   37.                               └─cli (local) FUN(X[[i]], ...)
   38.                                 └─app$text(text[[i]])
   39.                                   └─cli:::clii_text(app, text)
   40.                                     └─app$xtext(text)
   41.                                       └─cli:::clii__xtext(...)
   42.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   43.                                           └─base::lapply(pars, ansi_trimws)
   44.                                             └─cli (local) FUN(X[[i]], ...)
  ── Error (test-interpolate.R:4:3): interpolation works ─────────────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─whippr::read_data(path = path_example, metabolic_cart = "cosmed") at test-interpolate.R:4:2
    2. ├─whippr:::read_data.cosmed(path = path_example, metabolic_cart = "cosmed")
    3. │ ├─base::suppressMessages(readxl::read_excel(path = path))
    4. │ │ └─base::withCallingHandlers(...)
    5. │ └─readxl::read_excel(path = path)
    6. │   └─readxl:::read_excel_(...)
    7. │     └─readxl:::set_readxl_names(...)
    8. │       ├─tibble::as_tibble(l, .name_repair = .name_repair)
    9. │       └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
   10. │         └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   11. │           └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
   12. │             ├─rlang::set_names(...)
   13. │             └─tibble:::repaired_names(...)
   14. │               ├─tibble:::subclass_name_repair_errors(...)
   15. │               │ └─base::withCallingHandlers(...)
   16. │               └─vctrs::vec_as_names(...)
   17. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   18.   └─rlang::names_inform_repair(orig_names, names)
   19.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   20.       ├─base::withRestarts(...)
   21.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   22.       │   └─base (local) doWithOneRestart(return(expr), restart)
   23.       └─base::signalCondition(cnd)
   24.         ├─base::conditionMessage(cond)
   25.         └─rlang:::conditionMessage.rlang_message(cond)
   26.           └─rlang::cnd_message(c)
   27.             └─rlang:::cnd_message_format(cnd, ...)
   28.               └─rlang (local) cli_format(glue_escape(lines))
   29.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   30.                   └─cli::cli_format(x, .envir = emptyenv())
   31.                     └─cli:::fmt(...)
   32.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   33.                         ├─base::do.call(app[[msg$type]], msg$args)
   34.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-2553110-972", class = NULL)
   35.                           └─cli:::clii_bullets(app, text, id, class)
   36.                             └─base::lapply(...)
   37.                               └─cli (local) FUN(X[[i]], ...)
   38.                                 └─app$text(text[[i]])
   39.                                   └─cli:::clii_text(app, text)
   40.                                     └─app$xtext(text)
   41.                                       └─cli:::clii__xtext(...)
   42.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   43.                                           └─base::lapply(pars, ansi_trimws)
   44.                                             └─cli (local) FUN(X[[i]], ...)
  ── Error (test-perform_average.R:4:3): bin-averaging works ─────────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─whippr::read_data(path = path_example, metabolic_cart = "cosmed") at test-perform_average.R:4:2
    2. ├─whippr:::read_data.cosmed(path = path_example, metabolic_cart = "cosmed")
    3. │ ├─base::suppressMessages(readxl::read_excel(path = path))
    4. │ │ └─base::withCallingHandlers(...)
    5. │ └─readxl::read_excel(path = path)
    6. │   └─readxl:::read_excel_(...)
    7. │     └─readxl:::set_readxl_names(...)
    8. │       ├─tibble::as_tibble(l, .name_repair = .name_repair)
    9. │       └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
   10. │         └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   11. │           └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
   12. │             ├─rlang::set_names(...)
   13. │             └─tibble:::repaired_names(...)
   14. │               ├─tibble:::subclass_name_repair_errors(...)
   15. │               │ └─base::withCallingHandlers(...)
   16. │               └─vctrs::vec_as_names(...)
   17. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   18.   └─rlang::names_inform_repair(orig_names, names)
   19.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   20.       ├─base::withRestarts(...)
   21.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   22.       │   └─base (local) doWithOneRestart(return(expr), restart)
   23.       └─base::signalCondition(cnd)
   24.         ├─base::conditionMessage(cond)
   25.         └─rlang:::conditionMessage.rlang_message(cond)
   26.           └─rlang::cnd_message(c)
   27.             └─rlang:::cnd_message_format(cnd, ...)
   28.               └─rlang (local) cli_format(glue_escape(lines))
   29.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   30.                   └─cli::cli_format(x, .envir = emptyenv())
   31.                     └─cli:::fmt(...)
   32.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   33.                         ├─base::do.call(app[[msg$type]], msg$args)
   34.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-2553110-1050", class = NULL)
   35.                           └─cli:::clii_bullets(app, text, id, class)
   36.                             └─base::lapply(...)
   37.                               └─cli (local) FUN(X[[i]], ...)
   38.                                 └─app$text(text[[i]])
   39.                                   └─cli:::clii_text(app, text)
   40.                                     └─app$xtext(text)
   41.                                       └─cli:::clii__xtext(...)
   42.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   43.                                           └─base::lapply(pars, ansi_trimws)
   44.                                             └─cli (local) FUN(X[[i]], ...)
  ── Error (test-perform_average.R:19:3): rolling-averaging works ────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─whippr::read_data(path = path_example, metabolic_cart = "cosmed") at test-perform_average.R:19:2
    2. ├─whippr:::read_data.cosmed(path = path_example, metabolic_cart = "cosmed")
    3. │ ├─base::suppressMessages(readxl::read_excel(path = path))
    4. │ │ └─base::withCallingHandlers(...)
    5. │ └─readxl::read_excel(path = path)
    6. │   └─readxl:::read_excel_(...)
    7. │     └─readxl:::set_readxl_names(...)
    8. │       ├─tibble::as_tibble(l, .name_repair = .name_repair)
    9. │       └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
   10. │         └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   11. │           └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
   12. │             ├─rlang::set_names(...)
   13. │             └─tibble:::repaired_names(...)
   14. │               ├─tibble:::subclass_name_repair_errors(...)
   15. │               │ └─base::withCallingHandlers(...)
   16. │               └─vctrs::vec_as_names(...)
   17. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   18.   └─rlang::names_inform_repair(orig_names, names)
   19.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   20.       ├─base::withRestarts(...)
   21.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   22.       │   └─base (local) doWithOneRestart(return(expr), restart)
   23.       └─base::signalCondition(cnd)
   24.         ├─base::conditionMessage(cond)
   25.         └─rlang:::conditionMessage.rlang_message(cond)
   26.           └─rlang::cnd_message(c)
   27.             └─rlang:::cnd_message_format(cnd, ...)
   28.               └─rlang (local) cli_format(glue_escape(lines))
   29.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   30.                   └─cli::cli_format(x, .envir = emptyenv())
   31.                     └─cli:::fmt(...)
   32.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   33.                         ├─base::do.call(app[[msg$type]], msg$args)
   34.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-2553110-1128", class = NULL)
   35.                           └─cli:::clii_bullets(app, text, id, class)
   36.                             └─base::lapply(...)
   37.                               └─cli (local) FUN(X[[i]], ...)
   38.                                 └─app$text(text[[i]])
   39.                                   └─cli:::clii_text(app, text)
   40.                                     └─app$xtext(text)
   41.                                       └─cli:::clii__xtext(...)
   42.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   43.                                           └─base::lapply(pars, ansi_trimws)
   44.                                             └─cli (local) FUN(X[[i]], ...)
  ── Error (test-perform_kinetics.R:4:3): core vo2 kinetics function works ───────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─whippr::read_data(path = path_example, metabolic_cart = "cosmed") at test-perform_kinetics.R:4:2
    2. ├─whippr:::read_data.cosmed(path = path_example, metabolic_cart = "cosmed")
    3. │ ├─base::suppressMessages(readxl::read_excel(path = path))
    4. │ │ └─base::withCallingHandlers(...)
    5. │ └─readxl::read_excel(path = path)
    6. │   └─readxl:::read_excel_(...)
    7. │     └─readxl:::set_readxl_names(...)
    8. │       ├─tibble::as_tibble(l, .name_repair = .name_repair)
    9. │       └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
   10. │         └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   11. │           └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
   12. │             ├─rlang::set_names(...)
   13. │             └─tibble:::repaired_names(...)
   14. │               ├─tibble:::subclass_name_repair_errors(...)
   15. │               │ └─base::withCallingHandlers(...)
   16. │               └─vctrs::vec_as_names(...)
   17. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   18.   └─rlang::names_inform_repair(orig_names, names)
   19.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   20.       ├─base::withRestarts(...)
   21.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   22.       │   └─base (local) doWithOneRestart(return(expr), restart)
   23.       └─base::signalCondition(cnd)
   24.         ├─base::conditionMessage(cond)
   25.         └─rlang:::conditionMessage.rlang_message(cond)
   26.           └─rlang::cnd_message(c)
   27.             └─rlang:::cnd_message_format(cnd, ...)
   28.               └─rlang (local) cli_format(glue_escape(lines))
   29.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   30.                   └─cli::cli_format(x, .envir = emptyenv())
   31.                     └─cli:::fmt(...)
   32.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   33.                         ├─base::do.call(app[[msg$type]], msg$args)
   34.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-2553110-1206", class = NULL)
   35.                           └─cli:::clii_bullets(app, text, id, class)
   36.                             └─base::lapply(...)
   37.                               └─cli (local) FUN(X[[i]], ...)
   38.                                 └─app$text(text[[i]])
   39.                                   └─cli:::clii_text(app, text)
   40.                                     └─app$xtext(text)
   41.                                       └─cli:::clii__xtext(...)
   42.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   43.                                           └─base::lapply(pars, ansi_trimws)
   44.                                             └─cli (local) FUN(X[[i]], ...)
  ── Error (test-process_data.R:4:3): process data works ─────────────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─whippr::read_data(path = path_example, metabolic_cart = "cosmed") at test-process_data.R:4:2
    2. ├─whippr:::read_data.cosmed(path = path_example, metabolic_cart = "cosmed")
    3. │ ├─base::suppressMessages(readxl::read_excel(path = path))
    4. │ │ └─base::withCallingHandlers(...)
    5. │ └─readxl::read_excel(path = path)
    6. │   └─readxl:::read_excel_(...)
    7. │     └─readxl:::set_readxl_names(...)
    8. │       ├─tibble::as_tibble(l, .name_repair = .name_repair)
    9. │       └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
   10. │         └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   11. │           └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
   12. │             ├─rlang::set_names(...)
   13. │             └─tibble:::repaired_names(...)
   14. │               ├─tibble:::subclass_name_repair_errors(...)
   15. │               │ └─base::withCallingHandlers(...)
   16. │               └─vctrs::vec_as_names(...)
   17. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   18.   └─rlang::names_inform_repair(orig_names, names)
   19.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   20.       ├─base::withRestarts(...)
   21.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   22.       │   └─base (local) doWithOneRestart(return(expr), restart)
   23.       └─base::signalCondition(cnd)
   24.         ├─base::conditionMessage(cond)
   25.         └─rlang:::conditionMessage.rlang_message(cond)
   26.           └─rlang::cnd_message(c)
   27.             └─rlang:::cnd_message_format(cnd, ...)
   28.               └─rlang (local) cli_format(glue_escape(lines))
   29.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   30.                   └─cli::cli_format(x, .envir = emptyenv())
   31.                     └─cli:::fmt(...)
   32.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   33.                         ├─base::do.call(app[[msg$type]], msg$args)
   34.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-2553110-1284", class = NULL)
   35.                           └─cli:::clii_bullets(app, text, id, class)
   36.                             └─base::lapply(...)
   37.                               └─cli (local) FUN(X[[i]], ...)
   38.                                 └─app$text(text[[i]])
   39.                                   └─cli:::clii_text(app, text)
   40.                                     └─app$xtext(text)
   41.                                       └─cli:::clii__xtext(...)
   42.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   43.                                           └─base::lapply(pars, ansi_trimws)
   44.                                             └─cli (local) FUN(X[[i]], ...)
  ── Error (test-read_data.R:4:3): read data works ───────────────────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─whippr::read_data(path = path_example, metabolic_cart = "cosmed") at test-read_data.R:4:2
    2. ├─whippr:::read_data.cosmed(path = path_example, metabolic_cart = "cosmed")
    3. │ ├─base::suppressMessages(readxl::read_excel(path = path))
    4. │ │ └─base::withCallingHandlers(...)
    5. │ └─readxl::read_excel(path = path)
    6. │   └─readxl:::read_excel_(...)
    7. │     └─readxl:::set_readxl_names(...)
    8. │       ├─tibble::as_tibble(l, .name_repair = .name_repair)
    9. │       └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
   10. │         └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   11. │           └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
   12. │             ├─rlang::set_names(...)
   13. │             └─tibble:::repaired_names(...)
   14. │               ├─tibble:::subclass_name_repair_errors(...)
   15. │               │ └─base::withCallingHandlers(...)
   16. │               └─vctrs::vec_as_names(...)
   17. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   18.   └─rlang::names_inform_repair(orig_names, names)
   19.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   20.       ├─base::withRestarts(...)
   21.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   22.       │   └─base (local) doWithOneRestart(return(expr), restart)
   23.       └─base::signalCondition(cnd)
   24.         ├─base::conditionMessage(cond)
   25.         └─rlang:::conditionMessage.rlang_message(cond)
   26.           └─rlang::cnd_message(c)
   27.             └─rlang:::cnd_message_format(cnd, ...)
   28.               └─rlang (local) cli_format(glue_escape(lines))
   29.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   30.                   └─cli::cli_format(x, .envir = emptyenv())
   31.                     └─cli:::fmt(...)
   32.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   33.                         ├─base::do.call(app[[msg$type]], msg$args)
   34.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-2553110-1362", class = NULL)
   35.                           └─cli:::clii_bullets(app, text, id, class)
   36.                             └─base::lapply(...)
   37.                               └─cli (local) FUN(X[[i]], ...)
   38.                                 └─app$text(text[[i]])
   39.                                   └─cli:::clii_text(app, text)
   40.                                     └─app$xtext(text)
   41.                                       └─cli:::clii__xtext(...)
   42.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   43.                                           └─base::lapply(pars, ansi_trimws)
   44.                                             └─cli (local) FUN(X[[i]], ...)
  ── Error (test-vo2_kinetics.R:5:3): general vo2 kinetics function works ────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─whippr::read_data(...) at test-vo2_kinetics.R:5:2
    2. ├─whippr:::read_data.cosmed(...)
    3. │ ├─base::suppressMessages(readxl::read_excel(path = path))
    4. │ │ └─base::withCallingHandlers(...)
    5. │ └─readxl::read_excel(path = path)
    6. │   └─readxl:::read_excel_(...)
    7. │     └─readxl:::set_readxl_names(...)
    8. │       ├─tibble::as_tibble(l, .name_repair = .name_repair)
    9. │       └─tibble:::as_tibble.list(l, .name_repair = .name_repair)
   10. │         └─tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   11. │           └─tibble:::set_repaired_names(x, repair_hint = TRUE, .name_repair)
   12. │             ├─rlang::set_names(...)
   13. │             └─tibble:::repaired_names(...)
   14. │               ├─tibble:::subclass_name_repair_errors(...)
   15. │               │ └─base::withCallingHandlers(...)
   16. │               └─vctrs::vec_as_names(...)
   17. └─vctrs:::describe_repair(`<chr>`, `<chr>`)
   18.   └─rlang::names_inform_repair(orig_names, names)
   19.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   20.       ├─base::withRestarts(...)
   21.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   22.       │   └─base (local) doWithOneRestart(return(expr), restart)
   23.       └─base::signalCondition(cnd)
   24.         ├─base::conditionMessage(cond)
   25.         └─rlang:::conditionMessage.rlang_message(cond)
   26.           └─rlang::cnd_message(c)
   27.             └─rlang:::cnd_message_format(cnd, ...)
   28.               └─rlang (local) cli_format(glue_escape(lines))
   29.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   30.                   └─cli::cli_format(x, .envir = emptyenv())
   31.                     └─cli:::fmt(...)
   32.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   33.                         ├─base::do.call(app[[msg$type]], msg$args)
   34.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-2553110-1440", class = NULL)
   35.                           └─cli:::clii_bullets(app, text, id, class)
   36.                             └─base::lapply(...)
   37.                               └─cli (local) FUN(X[[i]], ...)
   38.                                 └─app$text(text[[i]])
   39.                                   └─cli:::clii_text(app, text)
   40.                                     └─app$xtext(text)
   41.                                       └─cli:::clii__xtext(...)
   42.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   43.                                           └─base::lapply(pars, ansi_trimws)
   44.                                             └─cli (local) FUN(X[[i]], ...)
  
  [ FAIL 12 | WARN 0 | SKIP 0 | PASS 2 ]
  Error: Test failures
  Execution halted