Running 'testthat.R' [13s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(purrr)
  
  Attaching package: 'purrr'
  
  The following object is masked from 'package:testthat':
  
      is_null
  
  > 
  > test_check("purrr")
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 768 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-map.R:70:3): row and column binding work ────────────────────────
  Error in `dplyr::bind_cols(res)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─testthat::expect_length(mtcar_mod %>% map_dfc(f_coef), 6) at test-map.R:70:2
    2. │ └─testthat::quasi_label(enquo(object), arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─mtcar_mod %>% map_dfc(f_coef)
    5. ├─purrr::map_dfc(., f_coef)
    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. ├─vctrs:::describe_repair(`<chr>`, `<chr>`)
   11. │ └─rlang::names_inform_repair(orig_names, names)
   12. │   └─rlang::inform(message = message, class = "rlib_message_name_repair")
   13. │     ├─base::withRestarts(...)
   14. │     │ └─base (local) withOneRestart(expr, restarts[[1L]])
   15. │     │   └─base (local) doWithOneRestart(return(expr), restart)
   16. │     └─base::signalCondition(cnd)
   17. │       ├─base::conditionMessage(cond)
   18. │       └─rlang:::conditionMessage.rlang_message(cond)
   19. │         └─rlang::cnd_message(c)
   20. │           └─rlang:::cnd_message_format(cnd, ...)
   21. │             └─rlang (local) cli_format(glue_escape(lines))
   22. │               └─rlang:::.rlang_cli_format(x, cli::format_message)
   23. │                 └─cli::cli_format(x, .envir = emptyenv())
   24. │                   └─cli:::fmt(...)
   25. │                     └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   26. │                       ├─base::do.call(app[[msg$type]], msg$args)
   27. │                       └─cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-672", class = NULL)
   28. │                         └─cli:::clii_bullets(app, text, id, class)
   29. │                           └─base::lapply(...)
   30. │                             └─cli (local) FUN(X[[i]], ...)
   31. │                               └─app$text(text[[i]])
   32. │                                 └─cli:::clii_text(app, text)
   33. │                                   └─app$xtext(text)
   34. │                                     └─cli:::clii__xtext(...)
   35. │                                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   36. │                                         └─base::lapply(pars, ansi_trimws)
   37. │                                           └─cli (local) FUN(X[[i]], ...)
   38. └─base::.handleSimpleError(...)
   39.   └─dplyr (local) h(simpleError(msg, call))
   40.     └─rlang::cnd_signal(cnd)
  ── Error (test-map_n.R:56:3): outputs are suffixes have correct type for data frames ──
  Error in `dplyr::bind_cols(res)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─testthat::expect_is(pmap_dfc(list(x), as.data.frame), "data.frame") at test-map_n.R:56:2
    2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─purrr::pmap_dfc(list(x), as.data.frame)
    5. │ └─dplyr::bind_cols(res)
    6. │   ├─dplyr:::fix_call(vec_cbind(!!!dots, .name_repair = .name_repair))
    7. │   │ └─base::withCallingHandlers(...)
    8. │   └─vctrs::vec_cbind(!!!dots, .name_repair = .name_repair)
    9. ├─vctrs:::describe_repair(`<chr>`, `<chr>`)
   10. │ └─rlang::names_inform_repair(orig_names, names)
   11. │   └─rlang::inform(message = message, class = "rlib_message_name_repair")
   12. │     ├─base::withRestarts(...)
   13. │     │ └─base (local) withOneRestart(expr, restarts[[1L]])
   14. │     │   └─base (local) doWithOneRestart(return(expr), restart)
   15. │     └─base::signalCondition(cnd)
   16. │       ├─base::conditionMessage(cond)
   17. │       └─rlang:::conditionMessage.rlang_message(cond)
   18. │         └─rlang::cnd_message(c)
   19. │           └─rlang:::cnd_message_format(cnd, ...)
   20. │             └─rlang (local) cli_format(glue_escape(lines))
   21. │               └─rlang:::.rlang_cli_format(x, cli::format_message)
   22. │                 └─cli::cli_format(x, .envir = emptyenv())
   23. │                   └─cli:::fmt(...)
   24. │                     └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   25. │                       ├─base::do.call(app[[msg$type]], msg$args)
   26. │                       └─cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-840", class = NULL)
   27. │                         └─cli:::clii_bullets(app, text, id, class)
   28. │                           └─base::lapply(...)
   29. │                             └─cli (local) FUN(X[[i]], ...)
   30. │                               └─app$text(text[[i]])
   31. │                                 └─cli:::clii_text(app, text)
   32. │                                   └─app$xtext(text)
   33. │                                     └─cli:::clii__xtext(...)
   34. │                                       └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   35. │                                         └─base::lapply(pars, ansi_trimws)
   36. │                                           └─cli (local) FUN(X[[i]], ...)
   37. └─base::.handleSimpleError(...)
   38.   └─dplyr (local) h(simpleError(msg, call))
   39.     └─rlang::cnd_signal(cnd)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 768 ]
  Error: Test failures
  In addition: Warning message:
  In Sys.setlocale("LC_MESSAGES", "C") :
    LC_MESSAGES does not exist on Windows
  Execution halted