- using R Under development (unstable) (2026-06-06 r90114)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-16 (Debian 16.1.0-1) 16.1.0
GNU Fortran (Debian 16.1.0-1) 16.1.0
- running under: Debian GNU/Linux forky/sid
- using session charset: UTF-8
* current time: 2026-06-07 13:01:49 UTC
- checking for file ‘httptest/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘httptest’ version ‘4.2.3’
- package encoding: UTF-8
- checking CRAN incoming feasibility ... [2s/2s] OK
- 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 ‘httptest’ can be installed ... OK
See the install log for details.
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [0s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/1s] OK
- checking loading without being on the library search path ... [0s/1s] 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 ... [4s/5s] OK
- checking Rd files ... [0s/0s] 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [2s/2s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [9s/10s] ERROR
Running ‘spelling.R’ [0s/0s]
Running ‘testthat.R’ [8s/10s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> test_check("httptest")
Loading required package: httptest
Saving _problems/test-find-redactor-76.R
Saving _problems/test-find-redactor-80.R
Saving _problems/test-find-redactor-100.R
Using request.R from "testpkg"
[ FAIL 3 | WARN 0 | SKIP 13 | PASS 285 ]
══ Skipped tests (13) ══════════════════════════════════════════════════════════
• On CRAN (8): 'test-capture-requests.R:6:3', 'test-capture-requests.R:51:3',
'test-capture-requests.R:103:3', 'test-expect-header.R:111:5',
'test-mock-dir.R:26:5', 'test-offline.R:12:7', 'test-offline.R:19:9',
'test-without-internet.R:3:5'
• TODO: handle URL escaping (1): 'test-redact.R:249:5'
• TODO: prettify when simplify=FALSE (1): 'test-capture-requests.R:189:5'
• third_edition is TRUE (2): 'test-expect-header.R:64:7',
'test-without-internet.R:73:7'
• {testpkg} is not installed. (1): 'test-find-redactor.R:55:13'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-find-redactor.R:73:5'): Request preprocessing via package inst/httptest/request.R ──
Error: GET http://pythong.org/api/object1/ (pythong.org/api/object1.json)
Backtrace:
▆
1. ├─testthat::expect_identical(...) at test-find-redactor.R:73:5
2. │ └─testthat::quasi_label(enquo(object), label)
3. │ └─rlang::eval_bare(expr, quo_get_env(quo))
4. ├─httr::content(GET("http://pythong.org/api/object1/"))
5. │ ├─base::stopifnot(is.response(x))
6. │ └─httr:::is.response(x)
7. └─httr::GET("http://pythong.org/api/object1/")
8. └─httr:::request_perform(req, hu$handle$handle)
9. └─httr:::request_fetch(req$output, req$url, handle)
10. └─httptest (local) `<fn>`(req)
11. └─httptest:::stop_request(req)
── Failure ('test-find-redactor.R:80:5'): set_redactor(NULL) to override default (and loaded packages) ──
Expected `"testpkg" %in% names(sessionInfo()$otherPkgs)` to be TRUE.
Differences:
`actual`: FALSE
`expected`: TRUE
── Error ('test-find-redactor.R:79:3'): set_redactor(NULL) to override default (and loaded packages) ──
Error in `detach("package:testpkg", unload = TRUE)`: invalid 'name' argument
Backtrace:
▆
1. └─base::detach("package:testpkg", unload = TRUE)
[ FAIL 3 | WARN 0 | SKIP 13 | PASS 285 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [5s/7s] OK
- checking PDF version of manual ... [3s/4s] OK
- checking HTML version of manual ... [1s/2s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR