Running ‘spelling.R’ [0s/0s]
  Running ‘testthat.R’ [1s/1s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > library(cookiemonster)
  > 
  > test_check("cookiemonster")
  v Cookies for create.com put in the jar!
  v Cookies for tests.com put in the jar!
  v Cookies for tests.com put in the jar!
  # A tibble: 2 x 2
    domain    name   
    <chr>     <chr>  
  1 tests.com test   
  2 tests.com success
  v Cookies deleted.
  v Cookies for tests.com put in the jar!
  v Cookies for tests.com put in the jar!
  v Cookies for more.tests.com put in the jar!
  v Cookies for more.tests.com put in the jar!
  v Cookies for more.tests.com put in the jar!
  v Cookies for tests.com put in the jar!
  v Cookies for tests.com put in the jar!
  v Cookies for tests_nl.com put in the jar!
  v Cookies for tests_nl.com put in the jar!
  v Cookies for tests_nl.com put in the jar!
  v Cookies for tests_nl.com put in the jar!
  v Cookies for 127.0.0.1 put in the jar!
  Saving _problems/test-req_cookiemonster_set-11.R
  v Cookies for hb.cran.dev put in the jar!
  v Cookies for hb.cran.dev put in the jar!
  v Cookies for tests.com put in the jar!
  v Cookies for tests.com put in the jar!
  v Cookies for tests.com put in the jar!
  [ FAIL 1 | WARN 1 | SKIP 1 | PASS 31 ]
  
  ══ Skipped tests (1) ═══════════════════════════════════════════════════════════
  • length(find_cookiejar("Firefox")) == 0L is TRUE (1): 'test-browser.R:2:3'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-req_cookiemonster_set.R:7:5'): setting cookies works ───────────
  Error in `example_url()`: could not find function "example_url"
  Backtrace:
       ▆
    1. ├─testthat::expect_equal(...) at test-req_cookiemonster_set.R:4:3
    2. │ └─testthat::quasi_label(enquo(object), label)
    3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
    4. ├─httr2::resp_body_json(...) at test-req_cookiemonster_set.R:7:5
    5. │ └─httr2:::check_response(resp)
    6. │   └─httr2:::is_response(resp)
    7. ├─httr2::req_perform(...)
    8. │ └─httr2:::check_request(req)
    9. │   └─httr2:::is_request(req)
   10. ├─cookiemonster::req_cookiemonster_set(...)
   11. │ └─httr2::req_options(req, cookie = get_cookies(url$hostname, as = "string"))
   12. │   └─httr2:::check_request(.req)
   13. │     └─httr2:::is_request(req)
   14. ├─httr2::req_url_path(httr2::request(example_url()), "/cookies/set")
   15. │ └─httr2:::check_request(req)
   16. │   └─httr2:::is_request(req)
   17. └─httr2::request(example_url())
   18.   └─httr2:::new_request(base_url)
   19.     └─httr2:::check_string(url, call = error_call)
   20.       └─httr2:::.rlang_check_is_string(...)
   21.         └─rlang::is_string(x)
  
  [ FAIL 1 | WARN 1 | SKIP 1 | PASS 31 ]
  Error:
  ! Test failures.
  Execution halted