* using log directory 'd:/Rcompile/CRANpkg/local/4.3/vcr.Rcheck' * using R version 4.3.3 (2024-02-29 ucrt) * using platform: x86_64-w64-mingw32 (64-bit) * R was compiled by gcc.exe (GCC) 12.3.0 GNU Fortran (GCC) 12.3.0 * running under: Windows Server 2022 x64 (build 20348) * using session charset: UTF-8 * checking for file 'vcr/DESCRIPTION' ... OK * this is package 'vcr' version '1.6.0' * 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 hidden files and directories ... OK * checking for portable file names ... OK * checking whether package 'vcr' can be installed ... OK * checking installed package size ... NOTE installed size is 8.5Mb sub-directories of 1Mb or more: doc 7.4Mb * 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 R files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... [1s] OK * checking whether the package can be loaded with stated dependencies ... [1s] OK * checking whether the package can be unloaded cleanly ... [1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s] OK * checking whether the namespace can be unloaded cleanly ... [1s] OK * checking loading without being on the library search path ... [1s] OK * checking startup messages can be suppressed ... [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 ... [8s] OK * checking Rd files ... [2s] 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 contents of 'data' directory ... OK * checking data for non-ASCII characters ... [0s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from 'inst/doc' ... OK * checking files in 'vignettes' ... OK * checking examples ... [4s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [22s] ERROR Running 'test-all.R' [21s] Running the tests in 'tests/test-all.R' failed. Complete output: > library("testthat") > library('vcr') > test_check("vcr") Timeout was reached [nghttp2.org]: Operation timed out after 10005 milliseconds with 0 bytes received [ FAIL 6 | WARN 2 | SKIP 50 | PASS 450 ] ══ Skipped tests (50) ══════════════════════════════════════════════════════════ • Did not find: '../../man/vcr_configure.Rd' (1): 'test-configuration.R:53:3' • On CRAN (49): 'test-RequestHandler.R:1:1', 'test-RequestIgnorer.R:41:3', 'test-RequestIgnorer.R:83:3', 'test-ause_cassette.R:6:3', 'test-ause_cassette_match_body_empty_body.R:2:3', 'test-ause_cassette_match_query.R:11:3', 'test-ause_cassette_match_requests_on.R:2:3', 'test-ause_cassette_match_requests_on.R:129:3', 'test-ause_cassette_match_requests_on_json.R:6:3', 'test-ause_cassette_match_requests_on_json.R:63:3', 'test-ause_cassette_re_record.R:15:3', 'test-ause_cassette_record_modes.R:13:3', 'test-ause_cassette_record_modes.R:54:3', 'test-ause_cassette_record_modes.R:80:3', 'test-ause_cassette_record_modes.R:126:3', 'test-ause_cassette_write_to_disk.R:8:3', 'test-ause_cassette_write_to_disk.R:39:3', 'test-ause_cassette_write_to_disk.R:67:3', 'test-ause_cassette_write_to_disk_binary_files.R:7:3', 'test-ause_cassette_write_to_disk_binary_files.R:42:3', 'test-ause_cassette_write_to_disk_binary_files.R:104:3', 'test-binary_images.R:7:3', 'test-binary_images.R:57:3', 'test-check_cassette_names.R:2:3', 'test-crul.R:1:1', 'test-filter-sensitive-strings.R:1:1', 'test-filter_headers.R:4:3', 'test-filter_headers.R:61:3', 'test-filter_headers.R:106:3', 'test-filter_headers.R:138:3', 'test-filter_headers.R:185:3', 'test-filter_headers.R:233:3', 'test-filter_query_parameters.R:10:3', 'test-filter_query_parameters.R:57:3', 'test-filter_query_parameters.R:104:3', 'test-filter_query_parameters.R:154:3', 'test-filter_query_parameters.R:199:3', 'test-httr.R:1:1', 'test-httr2.R:1:1', 'test-request_summary.R:10:3', 'test-response_summary.R:13:3', 'test-response_summary.R:29:3', 'test-response_summary.R:47:3', 'test-serializers_json.R:22:3', 'test-use_vcr.R:4:3', 'test-vcr_test_path.R:2:3', 'test-vcr_test_path.R:24:3', 'test-vcr_test_path.R:46:3', 'test-write_disk_path_package_context.R:4:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-HttpInteraction.R:9:3'): HttpInteraction ─────────────────────── Error in `curl::curl_fetch_memory(x$url$url, handle = x$url$handle)`: URL using bad/illegal format or missing URL: URL rejected: No host part in the URL Backtrace: ▆ 1. ├─cli$post(body = body) at test-HttpInteraction.R:9:3 2. │ └─private$make_request(rr) 3. │ └─crul:::crul_fetch(opts) 4. │ └─curl::curl_fetch_memory(x$url$url, handle = x$url$handle) 5. └─curl:::raise_libcurl_error(...) ── Error ('test-HttpInteractionList.R:9:3'): HTTPInteractionList ─────────────── Error in `curl::curl_fetch_memory(x$url$url, handle = x$url$handle)`: URL using bad/illegal format or missing URL: URL rejected: No host part in the URL Backtrace: ▆ 1. ├─cli$post(body = body) at test-HttpInteractionList.R:9:3 2. │ └─private$make_request(rr) 3. │ └─crul:::crul_fetch(opts) 4. │ └─curl::curl_fetch_memory(x$url$url, handle = x$url$handle) 5. └─curl:::raise_libcurl_error(...) ── Error ('test-issues.R:3:5'): issue 249 is correctly handled. ──────────────── Error in `curl::curl_fetch_memory(url, handle = handle)`: URL using bad/illegal format or missing URL: URL rejected: Port number was not a decimal number between 0 and 65535 Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-issues.R:2:3 2. │ └─cassette$call_block(...) 3. ├─httr::GET(hb("/status/401")) at test-issues.R:3:5 4. │ └─httr:::request_perform(req, hu$handle$handle) 5. │ └─httr:::perform_callback("request", req = req) 6. │ └─webmockr (local) callback(...) 7. │ └─webmockr::HttrAdapter$new()$handle_request(req) 8. │ └─private$request_handler(req)$handle() 9. │ └─eval(parse(text = req_type_fun))(self$request) 10. │ └─eval(parse(text = paste0("httr::", self$request_original$method)))(...) 11. │ └─httr:::request_perform(req, hu$handle$handle) 12. │ ├─httr:::request_fetch(req$output, req$url, handle) 13. │ └─httr:::request_fetch.write_memory(req$output, req$url, handle) 14. │ └─curl::curl_fetch_memory(url, handle = handle) 15. └─curl:::raise_libcurl_error(...) ── Error ('test-lightswitch.R:140:5'): turned_off ────────────────────────────── Error in `curl::curl_fetch_memory(x$url$url, handle = x$url$handle)`: URL using bad/illegal format or missing URL: URL rejected: No host part in the URL Backtrace: ▆ 1. ├─base::suppressMessages(...) at test-lightswitch.R:139:3 2. │ └─base::withCallingHandlers(...) 3. ├─vcr::turned_off(...) 4. │ └─base::force(...) 5. ├─crul::HttpClient$new(url = hb("/get"))$get() at test-lightswitch.R:140:5 6. │ └─private$make_request(rr) 7. │ └─crul:::crul_fetch(opts) 8. │ └─curl::curl_fetch_memory(x$url$url, handle = x$url$handle) 9. └─curl:::raise_libcurl_error(...) ── Error ('test-quiet.R:11:3'): quiet works ──────────────────────────────────── Error in `curl::curl_fetch_memory(x$url$url, handle = x$url$handle)`: URL using bad/illegal format or missing URL: URL rejected: No host part in the URL Backtrace: ▆ 1. ├─testthat::expect_message(...) at test-quiet.R:11:3 2. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. ├─vcr::use_cassette("foo3", con$get("get")) 7. │ └─cassette$call_block(...) 8. ├─con$get("get") 9. │ └─private$make_request(rr) 10. │ └─adap$handle_request(opts) 11. │ └─private$request_handler(req)$handle() 12. │ └─eval(parse(text = req_type_fun))(self$request) 13. │ └─webmockr::webmockr_crul_fetch(self$request_original) 14. │ └─curl::curl_fetch_memory(x$url$url, handle = x$url$handle) 15. └─curl:::raise_libcurl_error(...) ── Error ('test-serializers.R:22:5'): you can record a new cassette of same name with different serializer ── Error in `curl::curl_fetch_memory(x$url$url, handle = x$url$handle)`: URL using bad/illegal format or missing URL: URL rejected: No host part in the URL Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-serializers.R:21:3 2. │ └─cassette$call_block(...) 3. ├─crul::HttpClient$new(hb("/get"))$get() at test-serializers.R:22:5 4. │ └─private$make_request(rr) 5. │ └─adap$handle_request(opts) 6. │ └─private$request_handler(req)$handle() 7. │ └─eval(parse(text = req_type_fun))(self$request) 8. │ └─webmockr::webmockr_crul_fetch(self$request_original) 9. │ └─curl::curl_fetch_memory(x$url$url, handle = x$url$handle) 10. └─curl:::raise_libcurl_error(...) [ FAIL 6 | WARN 2 | SKIP 50 | PASS 450 ] Error: Test failures Execution halted Ran 68/68 deferred expressions * checking for unstated dependencies in vignettes ... OK * checking package vignettes in 'inst/doc' ... OK * checking re-building of vignette outputs ... [32s] OK * checking PDF version of manual ... [21s] OK * checking HTML version of manual ... [12s] OK * DONE Status: 1 ERROR, 1 NOTE