* using log directory ‘/Users/ripley/R/packages/tests-devel/cookiemonster.Rcheck’ * using R Under development (unstable) (2025-11-13 r89016) * using platform: aarch64-apple-darwin25.1.0 * R was compiled by Apple clang version 17.0.0 (clang-1700.4.4.1) GNU Fortran (GCC) 14.2.0 * running under: macOS Tahoe 26.1 * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘cookiemonster/DESCRIPTION’ ... OK * this is package ‘cookiemonster’ version ‘0.0.5’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘cookiemonster’ can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking R/sysdata.rda ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... Running ‘spelling.R’ Running ‘testthat.R’ ERROR 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 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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... OK * checking PDF version of manual ... OK * checking HTML version of manual ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/Users/ripley/R/packages/tests-devel/cookiemonster.Rcheck/00check.log’ for details. 25.52 real 16.37 user 6.14 sys