Running 'testthat.R' [18s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(grafify)
  Loading required package: ggplot2
  > library(rlang)
  
  Attaching package: 'rlang'
  
  The following objects are masked from 'package:testthat':
  
      is_false, is_null, is_true
  
  > library(dplyr)
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  > library(tidyr)
  
  Attaching package: 'tidyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  > library(lme4)
  Loading required package: Matrix
  
  Attaching package: 'Matrix'
  
  The following objects are masked from 'package:tidyr':
  
      expand, pack, unpack
  
  > 
  > test_check("grafify")
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  boundary (singular) fit: see help('isSingular')
  [ FAIL 4 | WARN 13 | SKIP 0 | PASS 321 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-make_1way_data.R:2:3): make 1w data functions ───────────────────
  Error in `dplyr::bind_cols(res)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─grafify::make_1way_data(c(10, 20, 15), 25, 2) at test-make_1way_data.R:2:2
    2. │ ├─base::suppressMessages(...)
    3. │ │ └─base::withCallingHandlers(...)
    4. │ ├─... %>% ...
    5. │ └─purrr::pmap_dfc(...)
    6. │   └─dplyr::bind_cols(res)
    7. │     ├─dplyr:::fix_call(vec_cbind(!!!dots, .name_repair = .name_repair))
    8. │     │ └─base::withCallingHandlers(...)
    9. │     └─vctrs::vec_cbind(!!!dots, .name_repair = .name_repair)
   10. ├─rlang::set_names(., paste0("Lev_", rep(1:length(Group_means))))
   11. ├─vctrs:::describe_repair(`<chr>`, `<chr>`)
   12. │ └─rlang::names_inform_repair(orig_names, names)
   13. │   └─rlang::inform(message = message, class = "rlib_message_name_repair")
   14. │     ├─base::withRestarts(...)
   15. │     │ └─base (local) withOneRestart(expr, restarts[[1L]])
   16. │     │   └─base (local) doWithOneRestart(return(expr), restart)
   17. │     └─base::signalCondition(cnd)
   18. │       ├─base::conditionMessage(cond)
   19. │       └─rlang:::conditionMessage.rlang_message(cond)
   20. │         └─rlang::cnd_message(c)
   21. │           └─rlang:::cnd_message_format(cnd, ...)
   22. │             └─rlang (local) cli_format(glue_escape(lines))
   23. │               └─rlang:::.rlang_cli_format(x, cli::format_message)
   24. │                 └─cli::cli_format(x, .envir = emptyenv())
   25. │                   └─cli:::fmt(...)
   26. │                     └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   27. │                       ├─base::do.call(app[[msg$type]], msg$args)
   28. │                       └─cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-42", class = NULL)
   29. │                         └─cli:::clii_bullets(app, text, id, class)
   30. │                           └─base::lapply(...)
   31. │                             └─cli (local) FUN(X[[i]], ...)
   32. │                               └─app$text(text[[i]])
   33. │                                 └─cli:::clii_text(app, text)
   34. │                                   └─app$xtext(text)
   35. │                                     └─cli:::clii__xtext(...)
   36. │                                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   37. │                                         └─base::lapply(pars, ansi_trimws)
   38. │                                           └─cli (local) FUN(X[[i]], ...)
   39. └─base::.handleSimpleError(...)
   40.   └─dplyr (local) h(simpleError(msg, call))
   41.     └─rlang::cnd_signal(cnd)
  ── Error (test-make_1way_data.R:16:3): make 1w RB data functions ───────────────
  Error in `dplyr::bind_cols(res)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─grafify::make_1way_rb_data(c(10, 20, 15), 25, 25, 5) at test-make_1way_data.R:16:2
    2. │ ├─base::suppressMessages(...)
    3. │ │ └─base::withCallingHandlers(...)
    4. │ ├─... %>% ...
    5. │ └─purrr::map_dfc(...)
    6. │   └─dplyr::bind_cols(res)
    7. │     ├─dplyr:::fix_call(vec_cbind(!!!dots, .name_repair = .name_repair))
    8. │     │ └─base::withCallingHandlers(...)
    9. │     └─vctrs::vec_cbind(!!!dots, .name_repair = .name_repair)
   10. ├─rlang::set_names(., paste0("Lev_", rep(1:length(Group_means))))
   11. ├─vctrs:::describe_repair(`<chr>`, `<chr>`)
   12. │ └─rlang::names_inform_repair(orig_names, names)
   13. │   └─rlang::inform(message = message, class = "rlib_message_name_repair")
   14. │     ├─base::withRestarts(...)
   15. │     │ └─base (local) withOneRestart(expr, restarts[[1L]])
   16. │     │   └─base (local) doWithOneRestart(return(expr), restart)
   17. │     └─base::signalCondition(cnd)
   18. │       ├─base::conditionMessage(cond)
   19. │       └─rlang:::conditionMessage.rlang_message(cond)
   20. │         └─rlang::cnd_message(c)
   21. │           └─rlang:::cnd_message_format(cnd, ...)
   22. │             └─rlang (local) cli_format(glue_escape(lines))
   23. │               └─rlang:::.rlang_cli_format(x, cli::format_message)
   24. │                 └─cli::cli_format(x, .envir = emptyenv())
   25. │                   └─cli:::fmt(...)
   26. │                     └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   27. │                       ├─base::do.call(app[[msg$type]], msg$args)
   28. │                       └─cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-84", class = NULL)
   29. │                         └─cli:::clii_bullets(app, text, id, class)
   30. │                           └─base::lapply(...)
   31. │                             └─cli (local) FUN(X[[i]], ...)
   32. │                               └─app$text(text[[i]])
   33. │                                 └─cli:::clii_text(app, text)
   34. │                                   └─app$xtext(text)
   35. │                                     └─cli:::clii__xtext(...)
   36. │                                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   37. │                                         └─base::lapply(pars, ansi_trimws)
   38. │                                           └─cli (local) FUN(X[[i]], ...)
   39. └─base::.handleSimpleError(...)
   40.   └─dplyr (local) h(simpleError(msg, call))
   41.     └─rlang::cnd_signal(cnd)
  ── Error (test-make_2way_data.R:2:3): make 2w data functions ───────────────────
  Error in `dplyr::bind_cols(res)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─grafify::make_2way_data(c(10, 20), c(30, 40), 50, 5) at test-make_2way_data.R:2:2
    2. │ ├─base::suppressMessages(...)
    3. │ │ └─base::withCallingHandlers(...)
    4. │ ├─... %>% ...
    5. │ └─purrr::map_dfc(...)
    6. │   └─dplyr::bind_cols(res)
    7. │     ├─dplyr:::fix_call(vec_cbind(!!!dots, .name_repair = .name_repair))
    8. │     │ └─base::withCallingHandlers(...)
    9. │     └─vctrs::vec_cbind(!!!dots, .name_repair = .name_repair)
   10. ├─tidyr::pivot_longer(...)
   11. ├─rlang::set_names(...)
   12. ├─vctrs:::describe_repair(`<chr>`, `<chr>`)
   13. │ └─rlang::names_inform_repair(orig_names, names)
   14. │   └─rlang::inform(message = message, class = "rlib_message_name_repair")
   15. │     ├─base::withRestarts(...)
   16. │     │ └─base (local) withOneRestart(expr, restarts[[1L]])
   17. │     │   └─base (local) doWithOneRestart(return(expr), restart)
   18. │     └─base::signalCondition(cnd)
   19. │       ├─base::conditionMessage(cond)
   20. │       └─rlang:::conditionMessage.rlang_message(cond)
   21. │         └─rlang::cnd_message(c)
   22. │           └─rlang:::cnd_message_format(cnd, ...)
   23. │             └─rlang (local) cli_format(glue_escape(lines))
   24. │               └─rlang:::.rlang_cli_format(x, cli::format_message)
   25. │                 └─cli::cli_format(x, .envir = emptyenv())
   26. │                   └─cli:::fmt(...)
   27. │                     └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   28. │                       ├─base::do.call(app[[msg$type]], msg$args)
   29. │                       └─cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-138", class = NULL)
   30. │                         └─cli:::clii_bullets(app, text, id, class)
   31. │                           └─base::lapply(...)
   32. │                             └─cli (local) FUN(X[[i]], ...)
   33. │                               └─app$text(text[[i]])
   34. │                                 └─cli:::clii_text(app, text)
   35. │                                   └─app$xtext(text)
   36. │                                     └─cli:::clii__xtext(...)
   37. │                                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   38. │                                         └─base::lapply(pars, ansi_trimws)
   39. │                                           └─cli (local) FUN(X[[i]], ...)
   40. └─base::.handleSimpleError(...)
   41.   └─dplyr (local) h(simpleError(msg, call))
   42.     └─rlang::cnd_signal(cnd)
  ── Error (test-make_2way_data.R:19:3): make 2w rb data functions ───────────────
  Error in `dplyr::bind_cols(res)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─grafify::make_2way_rb_data(c(10, 20), c(30, 40), 50, 25, 5) at test-make_2way_data.R:19:2
    2. │ ├─base::suppressMessages(...)
    3. │ │ └─base::withCallingHandlers(...)
    4. │ ├─... %>% ...
    5. │ └─purrr::map_dfc(...)
    6. │   └─dplyr::bind_cols(res)
    7. │     ├─dplyr:::fix_call(vec_cbind(!!!dots, .name_repair = .name_repair))
    8. │     │ └─base::withCallingHandlers(...)
    9. │     └─vctrs::vec_cbind(!!!dots, .name_repair = .name_repair)
   10. ├─rlang::set_names(...)
   11. ├─vctrs:::describe_repair(`<chr>`, `<chr>`)
   12. │ └─rlang::names_inform_repair(orig_names, names)
   13. │   └─rlang::inform(message = message, class = "rlib_message_name_repair")
   14. │     ├─base::withRestarts(...)
   15. │     │ └─base (local) withOneRestart(expr, restarts[[1L]])
   16. │     │   └─base (local) doWithOneRestart(return(expr), restart)
   17. │     └─base::signalCondition(cnd)
   18. │       ├─base::conditionMessage(cond)
   19. │       └─rlang:::conditionMessage.rlang_message(cond)
   20. │         └─rlang::cnd_message(c)
   21. │           └─rlang:::cnd_message_format(cnd, ...)
   22. │             └─rlang (local) cli_format(glue_escape(lines))
   23. │               └─rlang:::.rlang_cli_format(x, cli::format_message)
   24. │                 └─cli::cli_format(x, .envir = emptyenv())
   25. │                   └─cli:::fmt(...)
   26. │                     └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   27. │                       ├─base::do.call(app[[msg$type]], msg$args)
   28. │                       └─cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-192", class = NULL)
   29. │                         └─cli:::clii_bullets(app, text, id, class)
   30. │                           └─base::lapply(...)
   31. │                             └─cli (local) FUN(X[[i]], ...)
   32. │                               └─app$text(text[[i]])
   33. │                                 └─cli:::clii_text(app, text)
   34. │                                   └─app$xtext(text)
   35. │                                     └─cli:::clii__xtext(...)
   36. │                                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   37. │                                         └─base::lapply(pars, ansi_trimws)
   38. │                                           └─cli (local) FUN(X[[i]], ...)
   39. └─base::.handleSimpleError(...)
   40.   └─dplyr (local) h(simpleError(msg, call))
   41.     └─rlang::cnd_signal(cnd)
  
  [ FAIL 4 | WARN 13 | SKIP 0 | PASS 321 ]
  Error: Test failures
  Execution halted