Running 'testthat.R' [23s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(supernova)
  > 
  > test_check("supernova")
  [ FAIL 12 | WARN 0 | SKIP 9 | PASS 230 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (9)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-pairwise.R:7:3): not specifying which term to break down will break down all categorical terms ──
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─testthat::expect_named(pairwise(fit, "Tukey"), cat_terms) at test-pairwise.R:7:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─supernova::pairwise(fit, "Tukey")
    5. │ └─supernova::pairwise_tukey(fit, term = term, alpha = alpha)
    6. │   └─purrr::pmap(...)
    7. │     └─supernova (local) .f(...)
    8. │       └─supernova:::level_pairs(names(means))
    9. │         ├─... %>% lower_tri()
   10. │         └─purrr::map(levels, create_row)
   11. │           └─supernova (local) .f(.x[[i]], ...)
   12. │             └─... %>% suppressMessages()
   13. ├─supernova:::lower_tri(.)
   14. ├─base::as.matrix(.)
   15. ├─purrr::reduce(., vctrs::vec_c)
   16. │ └─purrr:::reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
   17. │   └─purrr:::reduce_init(.x, .init, left = left)
   18. │     └─rlang::is_empty(x)
   19. ├─base::suppressMessages(.)
   20. │ └─base::withCallingHandlers(...)
   21. ├─vctrs::vec_rbind(.)
   22. └─vctrs:::describe_repair(NULL, `<chr>`)
   23.   └─rlang::names_inform_repair(orig_names, names)
   24.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   25.       ├─base::withRestarts(...)
   26.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   27.       │   └─base (local) doWithOneRestart(return(expr), restart)
   28.       └─base::signalCondition(cnd)
   29.         ├─base::conditionMessage(cond)
   30.         └─rlang:::conditionMessage.rlang_message(cond)
   31.           └─rlang::cnd_message(c)
   32.             └─rlang:::cnd_message_format(cnd, ...)
   33.               └─rlang (local) cli_format(glue_escape(lines))
   34.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   35.                   └─cli::cli_format(x, .envir = emptyenv())
   36.                     └─cli:::fmt(...)
   37.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   38.                         ├─base::do.call(app[[msg$type]], msg$args)
   39.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-30", class = NULL)
   40.                           └─cli:::clii_bullets(app, text, id, class)
   41.                             └─base::lapply(...)
   42.                               └─cli (local) FUN(X[[i]], ...)
   43.                                 └─app$text(text[[i]])
   44.                                   └─cli:::clii_text(app, text)
   45.                                     └─app$xtext(text)
   46.                                       └─cli:::clii__xtext(...)
   47.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   48.                                           └─base::lapply(pars, ansi_trimws)
   49.                                             └─cli (local) FUN(X[[i]], ...)
  ── Error (test-pairwise.R:13:3): you can specify the specific term you want to analyze ──
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─testthat::expect_named(...) at test-pairwise.R:13:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─supernova::pairwise(fit, term = "factor(am):factor(cyl)")
    5. │ └─supernova::pairwise_tukey(fit, term = term, alpha = alpha)
    6. │   └─purrr::pmap(...)
    7. │     └─supernova (local) .f(...)
    8. │       └─supernova:::level_pairs(simple_terms)
    9. │         ├─... %>% lower_tri()
   10. │         └─purrr::map(levels, create_row)
   11. │           └─supernova (local) .f(.x[[i]], ...)
   12. │             └─... %>% suppressMessages()
   13. ├─supernova:::lower_tri(.)
   14. ├─base::as.matrix(.)
   15. ├─purrr::reduce(., vctrs::vec_c)
   16. │ └─purrr:::reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
   17. │   └─purrr:::reduce_init(.x, .init, left = left)
   18. │     └─rlang::is_empty(x)
   19. ├─base::suppressMessages(.)
   20. │ └─base::withCallingHandlers(...)
   21. ├─vctrs::vec_rbind(.)
   22. └─vctrs:::describe_repair(NULL, `<chr>`)
   23.   └─rlang::names_inform_repair(orig_names, names)
   24.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   25.       ├─base::withRestarts(...)
   26.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   27.       │   └─base (local) doWithOneRestart(return(expr), restart)
   28.       └─base::signalCondition(cnd)
   29.         ├─base::conditionMessage(cond)
   30.         └─rlang:::conditionMessage.rlang_message(cond)
   31.           └─rlang::cnd_message(c)
   32.             └─rlang:::cnd_message_format(cnd, ...)
   33.               └─rlang (local) cli_format(glue_escape(lines))
   34.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   35.                   └─cli::cli_format(x, .envir = emptyenv())
   36.                     └─cli:::fmt(...)
   37.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   38.                         ├─base::do.call(app[[msg$type]], msg$args)
   39.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-108", class = NULL)
   40.                           └─cli:::clii_bullets(app, text, id, class)
   41.                             └─base::lapply(...)
   42.                               └─cli (local) FUN(X[[i]], ...)
   43.                                 └─app$text(text[[i]])
   44.                                   └─cli:::clii_text(app, text)
   45.                                     └─app$xtext(text)
   46.                                       └─cli:::clii__xtext(...)
   47.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   48.                                           └─base::lapply(pars, ansi_trimws)
   49.                                             └─cli (local) FUN(X[[i]], ...)
  ── Failure (test-pairwise.R:27:3): it can handle models with data names that mask function name ──
  `pairwise(fitted)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  Backtrace:
       ▆
    1. ├─testthat::expect_error(pairwise(fitted), NA) at test-pairwise.R:27:2
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─supernova::pairwise(fitted)
    8. │ └─supernova::pairwise_tukey(fit, term = term, alpha = alpha)
    9. │   └─purrr::pmap(...)
   10. │     └─supernova (local) .f(...)
   11. │       └─supernova:::level_pairs(names(means))
   12. │         ├─... %>% lower_tri()
   13. │         └─purrr::map(levels, create_row)
   14. │           └─supernova (local) .f(.x[[i]], ...)
   15. │             └─... %>% suppressMessages()
   16. ├─supernova:::lower_tri(.)
   17. ├─base::as.matrix(.)
   18. ├─purrr::reduce(., vctrs::vec_c)
   19. │ └─purrr:::reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
   20. │   └─purrr:::reduce_init(.x, .init, left = left)
   21. │     └─rlang::is_empty(x)
   22. ├─base::suppressMessages(.)
   23. │ └─base::withCallingHandlers(...)
   24. ├─vctrs::vec_rbind(.)
   25. └─vctrs:::describe_repair(NULL, `<chr>`)
   26.   └─rlang::names_inform_repair(orig_names, names)
   27.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   28.       ├─base::withRestarts(...)
   29.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   30.       │   └─base (local) doWithOneRestart(return(expr), restart)
   31.       └─base::signalCondition(cnd)
   32.         ├─base::conditionMessage(cond)
   33.         └─rlang:::conditionMessage.rlang_message(cond)
   34.           └─rlang::cnd_message(c)
   35.             └─rlang:::cnd_message_format(cnd, ...)
   36.               └─rlang (local) cli_format(glue_escape(lines))
   37.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   38.                   └─cli::cli_format(x, .envir = emptyenv())
   39.                     └─cli:::fmt(...)
   40.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   41.                         ├─base::do.call(app[[msg$type]], msg$args)
   42.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-149", class = NULL)
   43.                           └─cli:::clii_bullets(app, text, id, class)
   44.                             └─base::lapply(...)
   45.                               └─cli (local) FUN(X[[i]], ...)
   46.                                 └─app$text(text[[i]])
   47.                                   └─cli:::clii_text(app, text)
   48.                                     └─app$xtext(text)
   49.                                       └─cli:::clii__xtext(...)
   50.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   51.                                           └─base::lapply(pars, ansi_trimws)
   52.                                             └─cli (local) FUN(X[[i]], ...)
  ── Error (test-pairwise.R:32:3): it can take a factor defined in the formula ───
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─testthat::expect_named(pairwise(fitted), "factor(cyl)") at test-pairwise.R:32:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─supernova::pairwise(fitted)
    5. │ └─supernova::pairwise_tukey(fit, term = term, alpha = alpha)
    6. │   └─purrr::pmap(...)
    7. │     └─supernova (local) .f(...)
    8. │       └─supernova:::level_pairs(names(means))
    9. │         ├─... %>% lower_tri()
   10. │         └─purrr::map(levels, create_row)
   11. │           └─supernova (local) .f(.x[[i]], ...)
   12. │             └─... %>% suppressMessages()
   13. ├─supernova:::lower_tri(.)
   14. ├─base::as.matrix(.)
   15. ├─purrr::reduce(., vctrs::vec_c)
   16. │ └─purrr:::reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
   17. │   └─purrr:::reduce_init(.x, .init, left = left)
   18. │     └─rlang::is_empty(x)
   19. ├─base::suppressMessages(.)
   20. │ └─base::withCallingHandlers(...)
   21. ├─vctrs::vec_rbind(.)
   22. └─vctrs:::describe_repair(NULL, `<chr>`)
   23.   └─rlang::names_inform_repair(orig_names, names)
   24.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   25.       ├─base::withRestarts(...)
   26.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   27.       │   └─base (local) doWithOneRestart(return(expr), restart)
   28.       └─base::signalCondition(cnd)
   29.         ├─base::conditionMessage(cond)
   30.         └─rlang:::conditionMessage.rlang_message(cond)
   31.           └─rlang::cnd_message(c)
   32.             └─rlang:::cnd_message_format(cnd, ...)
   33.               └─rlang (local) cli_format(glue_escape(lines))
   34.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   35.                   └─cli::cli_format(x, .envir = emptyenv())
   36.                     └─cli:::fmt(...)
   37.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   38.                         ├─base::do.call(app[[msg$type]], msg$args)
   39.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-191", class = NULL)
   40.                           └─cli:::clii_bullets(app, text, id, class)
   41.                             └─base::lapply(...)
   42.                               └─cli (local) FUN(X[[i]], ...)
   43.                                 └─app$text(text[[i]])
   44.                                   └─cli:::clii_text(app, text)
   45.                                     └─app$xtext(text)
   46.                                       └─cli:::clii__xtext(...)
   47.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   48.                                           └─base::lapply(pars, ansi_trimws)
   49.                                             └─cli (local) FUN(X[[i]], ...)
  ── Failure (test-pairwise.R:42:3): there are no errors with balanced data ──────
  `pairwise(fitted)` threw an unexpected error.
  Message: number of characters is not computable in "bytes" encoding, element 1
  Class:   simpleError/error/condition
  Backtrace:
       ▆
    1. ├─testthat::expect_error(pairwise(fitted), NA) at test-pairwise.R:42:2
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. ├─supernova::pairwise(fitted)
    8. │ └─supernova::pairwise_tukey(fit, term = term, alpha = alpha)
    9. │   └─purrr::pmap(...)
   10. │     └─supernova (local) .f(...)
   11. │       └─supernova:::level_pairs(names(means))
   12. │         ├─... %>% lower_tri()
   13. │         └─purrr::map(levels, create_row)
   14. │           └─supernova (local) .f(.x[[i]], ...)
   15. │             └─... %>% suppressMessages()
   16. ├─supernova:::lower_tri(.)
   17. ├─base::as.matrix(.)
   18. ├─purrr::reduce(., vctrs::vec_c)
   19. │ └─purrr:::reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
   20. │   └─purrr:::reduce_init(.x, .init, left = left)
   21. │     └─rlang::is_empty(x)
   22. ├─base::suppressMessages(.)
   23. │ └─base::withCallingHandlers(...)
   24. ├─vctrs::vec_rbind(.)
   25. └─vctrs:::describe_repair(NULL, `<chr>`)
   26.   └─rlang::names_inform_repair(orig_names, names)
   27.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   28.       ├─base::withRestarts(...)
   29.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   30.       │   └─base (local) doWithOneRestart(return(expr), restart)
   31.       └─base::signalCondition(cnd)
   32.         ├─base::conditionMessage(cond)
   33.         └─rlang:::conditionMessage.rlang_message(cond)
   34.           └─rlang::cnd_message(c)
   35.             └─rlang:::cnd_message_format(cnd, ...)
   36.               └─rlang (local) cli_format(glue_escape(lines))
   37.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   38.                   └─cli::cli_format(x, .envir = emptyenv())
   39.                     └─cli:::fmt(...)
   40.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   41.                         ├─base::do.call(app[[msg$type]], msg$args)
   42.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-221", class = NULL)
   43.                           └─cli:::clii_bullets(app, text, id, class)
   44.                             └─base::lapply(...)
   45.                               └─cli (local) FUN(X[[i]], ...)
   46.                                 └─app$text(text[[i]])
   47.                                   └─cli:::clii_text(app, text)
   48.                                     └─app$xtext(text)
   49.                                       └─cli:::clii__xtext(...)
   50.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   51.                                           └─base::lapply(pars, ansi_trimws)
   52.                                             └─cli (local) FUN(X[[i]], ...)
  ── Error (test-pairwise.R:50:3): pairwise wraps pairwise_tukey ─────────────────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(pairwise(fit, "Tukey"), pairwise_tukey(fit)) at test-pairwise.R:50:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─supernova::pairwise(fit, "Tukey")
    5. │ └─supernova::pairwise_tukey(fit, term = term, alpha = alpha)
    6. │   └─purrr::pmap(...)
    7. │     └─supernova (local) .f(...)
    8. │       └─supernova:::level_pairs(names(means))
    9. │         ├─... %>% lower_tri()
   10. │         └─purrr::map(levels, create_row)
   11. │           └─supernova (local) .f(.x[[i]], ...)
   12. │             └─... %>% suppressMessages()
   13. ├─supernova:::lower_tri(.)
   14. ├─base::as.matrix(.)
   15. ├─purrr::reduce(., vctrs::vec_c)
   16. │ └─purrr:::reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
   17. │   └─purrr:::reduce_init(.x, .init, left = left)
   18. │     └─rlang::is_empty(x)
   19. ├─base::suppressMessages(.)
   20. │ └─base::withCallingHandlers(...)
   21. ├─vctrs::vec_rbind(.)
   22. └─vctrs:::describe_repair(NULL, `<chr>`)
   23.   └─rlang::names_inform_repair(orig_names, names)
   24.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   25.       ├─base::withRestarts(...)
   26.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   27.       │   └─base (local) doWithOneRestart(return(expr), restart)
   28.       └─base::signalCondition(cnd)
   29.         ├─base::conditionMessage(cond)
   30.         └─rlang:::conditionMessage.rlang_message(cond)
   31.           └─rlang::cnd_message(c)
   32.             └─rlang:::cnd_message_format(cnd, ...)
   33.               └─rlang (local) cli_format(glue_escape(lines))
   34.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   35.                   └─cli::cli_format(x, .envir = emptyenv())
   36.                     └─cli:::fmt(...)
   37.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   38.                         ├─base::do.call(app[[msg$type]], msg$args)
   39.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-251", class = NULL)
   40.                           └─cli:::clii_bullets(app, text, id, class)
   41.                             └─base::lapply(...)
   42.                               └─cli (local) FUN(X[[i]], ...)
   43.                                 └─app$text(text[[i]])
   44.                                   └─cli:::clii_text(app, text)
   45.                                     └─app$xtext(text)
   46.                                       └─cli:::clii__xtext(...)
   47.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   48.                                           └─base::lapply(pars, ansi_trimws)
   49.                                             └─cli (local) FUN(X[[i]], ...)
  ── Error (test-pairwise.R:55:3): pairwise_tukey tests have family-wise error-rate at alpha rate ──
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─supernova::pairwise_tukey(fit, alpha = 0.01) at test-pairwise.R:55:2
    2. │ └─purrr::pmap(...)
    3. │   └─supernova (local) .f(...)
    4. │     └─supernova:::level_pairs(names(means))
    5. │       ├─... %>% lower_tri()
    6. │       └─purrr::map(levels, create_row)
    7. │         └─supernova (local) .f(.x[[i]], ...)
    8. │           └─... %>% suppressMessages()
    9. ├─supernova:::lower_tri(.)
   10. ├─base::as.matrix(.)
   11. ├─purrr::reduce(., vctrs::vec_c)
   12. │ └─purrr:::reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
   13. │   └─purrr:::reduce_init(.x, .init, left = left)
   14. │     └─rlang::is_empty(x)
   15. ├─base::suppressMessages(.)
   16. │ └─base::withCallingHandlers(...)
   17. ├─vctrs::vec_rbind(.)
   18. └─vctrs:::describe_repair(NULL, `<chr>`)
   19.   └─rlang::names_inform_repair(orig_names, names)
   20.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   21.       ├─base::withRestarts(...)
   22.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   23.       │   └─base (local) doWithOneRestart(return(expr), restart)
   24.       └─base::signalCondition(cnd)
   25.         ├─base::conditionMessage(cond)
   26.         └─rlang:::conditionMessage.rlang_message(cond)
   27.           └─rlang::cnd_message(c)
   28.             └─rlang:::cnd_message_format(cnd, ...)
   29.               └─rlang (local) cli_format(glue_escape(lines))
   30.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   31.                   └─cli::cli_format(x, .envir = emptyenv())
   32.                     └─cli:::fmt(...)
   33.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   34.                         ├─base::do.call(app[[msg$type]], msg$args)
   35.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-293", class = NULL)
   36.                           └─cli:::clii_bullets(app, text, id, class)
   37.                             └─base::lapply(...)
   38.                               └─cli (local) FUN(X[[i]], ...)
   39.                                 └─app$text(text[[i]])
   40.                                   └─cli:::clii_text(app, text)
   41.                                     └─app$xtext(text)
   42.                                       └─cli:::clii__xtext(...)
   43.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   44.                                           └─base::lapply(pars, ansi_trimws)
   45.                                             └─cli (local) FUN(X[[i]], ...)
  ── Error (test-pairwise.R:64:3): pairwise_tukey outputs correct values for diff, lower, upper, and p ──
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─supernova::pairwise_tukey(fit) at test-pairwise.R:64:2
    2. │ └─purrr::pmap(...)
    3. │   └─supernova (local) .f(...)
    4. │     └─supernova:::level_pairs(names(means))
    5. │       ├─... %>% lower_tri()
    6. │       └─purrr::map(levels, create_row)
    7. │         └─supernova (local) .f(.x[[i]], ...)
    8. │           └─... %>% suppressMessages()
    9. ├─supernova:::lower_tri(.)
   10. ├─base::as.matrix(.)
   11. ├─purrr::reduce(., vctrs::vec_c)
   12. │ └─purrr:::reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
   13. │   └─purrr:::reduce_init(.x, .init, left = left)
   14. │     └─rlang::is_empty(x)
   15. ├─base::suppressMessages(.)
   16. │ └─base::withCallingHandlers(...)
   17. ├─vctrs::vec_rbind(.)
   18. └─vctrs:::describe_repair(NULL, `<chr>`)
   19.   └─rlang::names_inform_repair(orig_names, names)
   20.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   21.       ├─base::withRestarts(...)
   22.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   23.       │   └─base (local) doWithOneRestart(return(expr), restart)
   24.       └─base::signalCondition(cnd)
   25.         ├─base::conditionMessage(cond)
   26.         └─rlang:::conditionMessage.rlang_message(cond)
   27.           └─rlang::cnd_message(c)
   28.             └─rlang:::cnd_message_format(cnd, ...)
   29.               └─rlang (local) cli_format(glue_escape(lines))
   30.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   31.                   └─cli::cli_format(x, .envir = emptyenv())
   32.                     └─cli:::fmt(...)
   33.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   34.                         ├─base::do.call(app[[msg$type]], msg$args)
   35.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-335", class = NULL)
   36.                           └─cli:::clii_bullets(app, text, id, class)
   37.                             └─base::lapply(...)
   38.                               └─cli (local) FUN(X[[i]], ...)
   39.                                 └─app$text(text[[i]])
   40.                                   └─cli:::clii_text(app, text)
   41.                                     └─app$xtext(text)
   42.                                       └─cli:::clii__xtext(...)
   43.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   44.                                           └─base::lapply(pars, ansi_trimws)
   45.                                             └─cli (local) FUN(X[[i]], ...)
  ── Error (test-pairwise.R:78:3): pairwise_t matches relevant values from pairwise_tukey ──
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─supernova::pairwise_tukey(fit) at test-pairwise.R:78:2
    2. │ └─purrr::pmap(...)
    3. │   └─supernova (local) .f(...)
    4. │     └─supernova:::level_pairs(names(means))
    5. │       ├─... %>% lower_tri()
    6. │       └─purrr::map(levels, create_row)
    7. │         └─supernova (local) .f(.x[[i]], ...)
    8. │           └─... %>% suppressMessages()
    9. ├─supernova:::lower_tri(.)
   10. ├─base::as.matrix(.)
   11. ├─purrr::reduce(., vctrs::vec_c)
   12. │ └─purrr:::reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
   13. │   └─purrr:::reduce_init(.x, .init, left = left)
   14. │     └─rlang::is_empty(x)
   15. ├─base::suppressMessages(.)
   16. │ └─base::withCallingHandlers(...)
   17. ├─vctrs::vec_rbind(.)
   18. └─vctrs:::describe_repair(NULL, `<chr>`)
   19.   └─rlang::names_inform_repair(orig_names, names)
   20.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   21.       ├─base::withRestarts(...)
   22.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   23.       │   └─base (local) doWithOneRestart(return(expr), restart)
   24.       └─base::signalCondition(cnd)
   25.         ├─base::conditionMessage(cond)
   26.         └─rlang:::conditionMessage.rlang_message(cond)
   27.           └─rlang::cnd_message(c)
   28.             └─rlang:::cnd_message_format(cnd, ...)
   29.               └─rlang (local) cli_format(glue_escape(lines))
   30.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   31.                   └─cli::cli_format(x, .envir = emptyenv())
   32.                     └─cli:::fmt(...)
   33.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   34.                         ├─base::do.call(app[[msg$type]], msg$args)
   35.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-377", class = NULL)
   36.                           └─cli:::clii_bullets(app, text, id, class)
   37.                             └─base::lapply(...)
   38.                               └─cli (local) FUN(X[[i]], ...)
   39.                                 └─app$text(text[[i]])
   40.                                   └─cli:::clii_text(app, text)
   41.                                     └─app$xtext(text)
   42.                                       └─cli:::clii__xtext(...)
   43.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   44.                                           └─base::lapply(pars, ansi_trimws)
   45.                                             └─cli (local) FUN(X[[i]], ...)
  ── Error (test-pairwise.R:85:3): uncorrected t-test family-wise error-rate is larger than alpha when more than 2 tests ──
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─supernova::pairwise_t(fit, alpha = 0.01, correction = "none") at test-pairwise.R:85:2
    2. │ └─purrr::pmap(...)
    3. │   └─supernova (local) .f(...)
    4. │     └─supernova:::level_pairs(names(means))
    5. │       ├─... %>% lower_tri()
    6. │       └─purrr::map(levels, create_row)
    7. │         └─supernova (local) .f(.x[[i]], ...)
    8. │           └─... %>% suppressMessages()
    9. ├─supernova:::lower_tri(.)
   10. ├─base::as.matrix(.)
   11. ├─purrr::reduce(., vctrs::vec_c)
   12. │ └─purrr:::reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
   13. │   └─purrr:::reduce_init(.x, .init, left = left)
   14. │     └─rlang::is_empty(x)
   15. ├─base::suppressMessages(.)
   16. │ └─base::withCallingHandlers(...)
   17. ├─vctrs::vec_rbind(.)
   18. └─vctrs:::describe_repair(NULL, `<chr>`)
   19.   └─rlang::names_inform_repair(orig_names, names)
   20.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   21.       ├─base::withRestarts(...)
   22.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   23.       │   └─base (local) doWithOneRestart(return(expr), restart)
   24.       └─base::signalCondition(cnd)
   25.         ├─base::conditionMessage(cond)
   26.         └─rlang:::conditionMessage.rlang_message(cond)
   27.           └─rlang::cnd_message(c)
   28.             └─rlang:::cnd_message_format(cnd, ...)
   29.               └─rlang (local) cli_format(glue_escape(lines))
   30.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   31.                   └─cli::cli_format(x, .envir = emptyenv())
   32.                     └─cli:::fmt(...)
   33.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   34.                         ├─base::do.call(app[[msg$type]], msg$args)
   35.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-419", class = NULL)
   36.                           └─cli:::clii_bullets(app, text, id, class)
   37.                             └─base::lapply(...)
   38.                               └─cli (local) FUN(X[[i]], ...)
   39.                                 └─app$text(text[[i]])
   40.                                   └─cli:::clii_text(app, text)
   41.                                     └─app$xtext(text)
   42.                                       └─cli:::clii__xtext(...)
   43.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   44.                                           └─base::lapply(pars, ansi_trimws)
   45.                                             └─cli (local) FUN(X[[i]], ...)
  ── Error (test-pairwise.R:98:3): each type of comparisons object plots well ────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─ggplot2::autoplot(pairwise_tukey(fit)) at test-pairwise.R:98:2
    2. ├─supernova::pairwise_tukey(fit)
    3. │ └─purrr::pmap(...)
    4. │   └─supernova (local) .f(...)
    5. │     └─supernova:::level_pairs(names(means))
    6. │       ├─... %>% lower_tri()
    7. │       └─purrr::map(levels, create_row)
    8. │         └─supernova (local) .f(.x[[i]], ...)
    9. │           └─... %>% suppressMessages()
   10. ├─supernova:::lower_tri(.)
   11. ├─base::as.matrix(.)
   12. ├─purrr::reduce(., vctrs::vec_c)
   13. │ └─purrr:::reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
   14. │   └─purrr:::reduce_init(.x, .init, left = left)
   15. │     └─rlang::is_empty(x)
   16. ├─base::suppressMessages(.)
   17. │ └─base::withCallingHandlers(...)
   18. ├─vctrs::vec_rbind(.)
   19. └─vctrs:::describe_repair(NULL, `<chr>`)
   20.   └─rlang::names_inform_repair(orig_names, names)
   21.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   22.       ├─base::withRestarts(...)
   23.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   24.       │   └─base (local) doWithOneRestart(return(expr), restart)
   25.       └─base::signalCondition(cnd)
   26.         ├─base::conditionMessage(cond)
   27.         └─rlang:::conditionMessage.rlang_message(cond)
   28.           └─rlang::cnd_message(c)
   29.             └─rlang:::cnd_message_format(cnd, ...)
   30.               └─rlang (local) cli_format(glue_escape(lines))
   31.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   32.                   └─cli::cli_format(x, .envir = emptyenv())
   33.                     └─cli:::fmt(...)
   34.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   35.                         ├─base::do.call(app[[msg$type]], msg$args)
   36.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-461", class = NULL)
   37.                           └─cli:::clii_bullets(app, text, id, class)
   38.                             └─base::lapply(...)
   39.                               └─cli (local) FUN(X[[i]], ...)
   40.                                 └─app$text(text[[i]])
   41.                                   └─cli:::clii_text(app, text)
   42.                                     └─app$xtext(text)
   43.                                       └─cli:::clii__xtext(...)
   44.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   45.                                           └─base::lapply(pars, ansi_trimws)
   46.                                             └─cli (local) FUN(X[[i]], ...)
  ── Error (test-pairwise.R:110:3): a separate plot is created for each term in the model ──
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─ggplot2::autoplot(pairwise_tukey(fit)) at test-pairwise.R:110:2
    2. ├─supernova::pairwise_tukey(fit)
    3. │ └─purrr::pmap(...)
    4. │   └─supernova (local) .f(...)
    5. │     └─supernova:::level_pairs(names(means))
    6. │       ├─... %>% lower_tri()
    7. │       └─purrr::map(levels, create_row)
    8. │         └─supernova (local) .f(.x[[i]], ...)
    9. │           └─... %>% suppressMessages()
   10. ├─supernova:::lower_tri(.)
   11. ├─base::as.matrix(.)
   12. ├─purrr::reduce(., vctrs::vec_c)
   13. │ └─purrr:::reduce_impl(.x, .f, ..., .init = .init, .dir = .dir)
   14. │   └─purrr:::reduce_init(.x, .init, left = left)
   15. │     └─rlang::is_empty(x)
   16. ├─base::suppressMessages(.)
   17. │ └─base::withCallingHandlers(...)
   18. ├─vctrs::vec_rbind(.)
   19. └─vctrs:::describe_repair(NULL, `<chr>`)
   20.   └─rlang::names_inform_repair(orig_names, names)
   21.     └─rlang::inform(message = message, class = "rlib_message_name_repair")
   22.       ├─base::withRestarts(...)
   23.       │ └─base (local) withOneRestart(expr, restarts[[1L]])
   24.       │   └─base (local) doWithOneRestart(return(expr), restart)
   25.       └─base::signalCondition(cnd)
   26.         ├─base::conditionMessage(cond)
   27.         └─rlang:::conditionMessage.rlang_message(cond)
   28.           └─rlang::cnd_message(c)
   29.             └─rlang:::cnd_message_format(cnd, ...)
   30.               └─rlang (local) cli_format(glue_escape(lines))
   31.                 └─rlang:::.rlang_cli_format(x, cli::format_message)
   32.                   └─cli::cli_format(x, .envir = emptyenv())
   33.                     └─cli:::fmt(...)
   34.                       └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   35.                         ├─base::do.call(app[[msg$type]], msg$args)
   36.                         └─cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-503", class = NULL)
   37.                           └─cli:::clii_bullets(app, text, id, class)
   38.                             └─base::lapply(...)
   39.                               └─cli (local) FUN(X[[i]], ...)
   40.                                 └─app$text(text[[i]])
   41.                                   └─cli:::clii_text(app, text)
   42.                                     └─app$xtext(text)
   43.                                       └─cli:::clii__xtext(...)
   44.                                         └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   45.                                           └─base::lapply(pars, ansi_trimws)
   46.                                             └─cli (local) FUN(X[[i]], ...)
  
  [ FAIL 12 | WARN 0 | SKIP 9 | PASS 230 ]
  Deleting unused snapshots:
  • pairwise/bonferroni-one-variable.svg
  • pairwise/multiple-plots-term-factor-am.svg
  • pairwise/multiple-plots-term-factor-cyl-factor-am.svg
  • pairwise/multiple-plots-term-factor-cyl.svg
  • pairwise/t-test-one-variable.svg
  • pairwise/tukey-one-variable.svg
  Error: Test failures
  Execution halted