Running 'spelling.R' [0s]
  Running 'testthat.R' [13s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > test_check("httptest2")
  Loading required package: httptest2
  [ FAIL 1 | WARN 2 | SKIP 10 | PASS 215 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • On CRAN (8)
  • TODO: handle URL escaping (1)
  • TODO: prettify when simplify=FALSE (1)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-expect-request.R:41:5): expect_VERB when no request is made ─────
  Error in `nchar(xs)`: number of characters is not computable in "bytes" encoding, element 1
  Backtrace:
       ▆
    1. ├─base::suppressWarnings(...) at test-expect-request.R:41:4
    2. │ └─base::withCallingHandlers(...)
    3. ├─testthat::expect_failure(expect_POST("just a string"), "No request was made") at test-expect-request.R:43:6
    4. │ └─testthat::capture_expectation(expr)
    5. │   └─base::tryCatch(...)
    6. │     └─base (local) tryCatchList(expr, classes, parentenv, handlers)
    7. │       └─base (local) tryCatchOne(expr, names, parentenv, handlers[[1L]])
    8. │         └─base (local) doTryCatch(return(expr), name, parentenv, handler)
    9. ├─httptest2::expect_POST("just a string")
   10. │ └─httptest2:::expect_request(object, "POST ", url, " ", ...)
   11. │   ├─base::withCallingHandlers(...)
   12. │   └─testthat::expect_error(...)
   13. │     └─testthat:::expect_condition_matching(...)
   14. │       └─rlang (local) `<fn>`()
   15. │         └─rlang:::check_dots(env, error, action, call)
   16. │           └─rlang:::action_dots(...)
   17. │             ├─base (local) try_dots(...)
   18. │             └─rlang (local) action(...)
   19. │               └─base::warning(cnd)
   20. │                 ├─base::conditionMessage(cond)
   21. │                 └─rlang:::conditionMessage.rlang_warning(cond)
   22. │                   └─rlang::cnd_message(c)
   23. │                     └─rlang:::cnd_message_format(cnd, ...)
   24. │                       └─rlang (local) cli_format(glue_escape(lines))
   25. │                         └─rlang:::.rlang_cli_format(x, cli::format_warning)
   26. │                           └─cli::cli_format(x, .envir = emptyenv())
   27. │                             └─cli:::fmt(...)
   28. │                               └─cli:::cli__fmt(rec, collapse, strip_newline, app)
   29. │                                 ├─base::do.call(app[[msg$type]], msg$args)
   30. │                                 └─cli (local) `<fn>`(text = `<named list>`, id = "cli-24140-3", class = NULL)
   31. │                                   └─cli:::clii_bullets(app, text, id, class)
   32. │                                     └─base::lapply(...)
   33. │                                       └─cli (local) FUN(X[[i]], ...)
   34. │                                         └─app$text(text[[i]])
   35. │                                           └─cli:::clii_text(app, text)
   36. │                                             └─app$xtext(text)
   37. │                                               └─cli:::clii__xtext(...)
   38. │                                                 └─cli::ansi_strwrap(text, exdent = exdent, width = app$get_width(extra = padding))
   39. │                                                   └─base::lapply(pars, ansi_trimws)
   40. │                                                     └─cli (local) FUN(X[[i]], ...)
   41. └─base::.handleSimpleError(...)
   42.   └─httptest2 (local) h(simpleError(msg, call))
  
  [ FAIL 1 | WARN 2 | SKIP 10 | PASS 215 ]
  Error: Test failures
  Execution halted