- using R Under development (unstable) (2025-11-13 r89015)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- 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 ... [4s/13s] OK
See the install log for details.
- 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 ... [6s/16s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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 ... [4s/12s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [7s/22s] ERROR
Running ‘spelling.R’
Running ‘testthat.R’ [6s/20s]
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) ═══════════════════════════════════════════════════════════
• On CRAN (1): 'test-browser.R:3: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 ... [22s/58s] OK
- checking PDF version of manual ... [7s/27s] OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR