CRAN Package Check Results for Maintainer ‘Scott Chamberlain <sckott at protonmail.com>’

Last updated on 2024-12-18 19:49:46 CET.

Package ERROR NOTE OK
handlr 13
vcr 1 5 7

Package handlr

Current CRAN status: OK: 13

Package vcr

Current CRAN status: ERROR: 1, NOTE: 5, OK: 7

Version: 1.6.0
Check: installed package size
Result: NOTE installed size is 8.6Mb sub-directories of 1Mb or more: doc 7.5Mb Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64

Version: 1.6.0
Check: tests
Result: ERROR Running 'test-all.R' [20s] 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 10013 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 ─────────────────────── <curl_error_url_malformat/curl_error/error/condition> 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 ─────────────── <curl_error_url_malformat/curl_error/error/condition> 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. ──────────────── <curl_error_url_malformat/curl_error/error/condition> 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 ────────────────────────────── <curl_error_url_malformat/curl_error/error/condition> 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 ──────────────────────────────────── <curl_error_url_malformat/curl_error/error/condition> 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 ── <curl_error_url_malformat/curl_error/error/condition> 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 Flavor: r-oldrel-windows-x86_64