CRAN Package Check Results for Package vcr

Last updated on 2024-08-24 02:49:58 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.6.0 22.87 82.70 105.57 OK
r-devel-linux-x86_64-debian-gcc 1.6.0 13.27 61.00 74.27 ERROR
r-devel-linux-x86_64-fedora-clang 1.6.0 175.64 NOTE
r-devel-linux-x86_64-fedora-gcc 1.6.0 182.26 OK
r-devel-windows-x86_64 1.6.0 23.00 121.00 144.00 NOTE
r-patched-linux-x86_64 1.6.0 22.56 79.90 102.46 OK
r-release-linux-x86_64 1.6.0 20.93 79.09 100.02 OK
r-release-macos-arm64 1.6.0 77.00 NOTE
r-release-macos-x86_64 1.6.0 176.00 NOTE
r-release-windows-x86_64 1.6.0 23.00 122.00 145.00 NOTE
r-oldrel-macos-arm64 1.6.0 102.00 ERROR
r-oldrel-macos-x86_64 1.6.0 140.00 ERROR
r-oldrel-windows-x86_64 1.6.0 29.00 138.00 167.00 NOTE

Check Details

Version: 1.6.0
Check: tests
Result: ERROR Running ‘test-all.R’ [6s/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 10001 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 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) ── Error ('test-HttpInteractionList.R:9:3'): HTTPInteractionList ─────────────── Error in `curl::curl_fetch_memory(x$url$url, handle = x$url$handle)`: 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) ── Error ('test-issues.R:3:5'): issue 249 is correctly handled. ──────────────── Error in `curl::curl_fetch_memory(url, handle = handle)`: 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) ── Error ('test-lightswitch.R:140:5'): turned_off ────────────────────────────── Error in `curl::curl_fetch_memory(x$url$url, handle = x$url$handle)`: 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) ── Error ('test-quiet.R:11:3'): quiet works ──────────────────────────────────── Error in `curl::curl_fetch_memory(x$url$url, handle = x$url$handle)`: 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) ── 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 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) [ FAIL 6 | WARN 2 | SKIP 50 | PASS 450 ] Error: Test failures Execution halted Ran 68/68 deferred expressions Flavor: r-devel-linux-x86_64-debian-gcc

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-devel-linux-x86_64-fedora-clang, r-devel-windows-x86_64, 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: running R code from vignettes
Result: ERROR Errors in running code in vignettes: when running code in ‘cassette-manual-editing.Rmd’ ... Warning in file(con, "r") : cannot open file './../man/rmdhunks/cassette-editing-vignette.Rmd': No such file or directory Quitting from lines 23-23 [unnamed-chunk-2] (cassette-manual-editing.Rmd) When tangling ‘cassette-manual-editing.Rmd’: Error: cannot open the connection Execution halted when running code in ‘configuration.Rmd’ ... Warning in file(con, "r") : cannot open file './../man/rmdhunks/configuration-vignette.Rmd': No such file or directory Quitting from lines 36-36 [unnamed-chunk-3] (configuration.Rmd) When tangling ‘configuration.Rmd’: Error: cannot open the connection Execution halted when running code in ‘debugging.Rmd’ ... Warning in file(con, "r") : cannot open file './../man/rmdhunks/debugging-vignette.Rmd': No such file or directory Quitting from lines 27-27 [unnamed-chunk-2] (debugging.Rmd) When tangling ‘debugging.Rmd’: Error: cannot open the connection Execution halted when running code in ‘design.Rmd’ ... Warning in file(con, "r") : cannot open file './../man/rmdhunks/vcr-design.Rmd': No such file or directory Quitting from lines 18-18 [unnamed-chunk-2] (design.Rmd) When tangling ‘design.Rmd’: Error: cannot open the connection Execution halted when running code in ‘internals.Rmd’ ... Warning in file(con, "r") : cannot open file './../man/rmdhunks/internals-vignette.Rmd': No such file or directory Quitting from lines 22-22 [unnamed-chunk-2] (internals.Rmd) When tangling ‘internals.Rmd’: Error: cannot open the connection Execution halted when running code in ‘lightswitch.Rmd’ ... Warning in file(con, "r") : cannot open file './../man/rmdhunks/lightswitch.Rmd': No such file or directory Quitting from lines 27-27 [unnamed-chunk-2] (lightswitch.Rmd) When tangling ‘lightswitch.Rmd’: Error: cannot open the connection Execution halted when running code in ‘record-modes.Rmd’ ... Warning in file(con, "r") : cannot open file './../man/rmdhunks/record-modes.Rmd': No such file or directory Quitting from lines 29-29 [unnamed-chunk-2] (record-modes.Rmd) When tangling ‘record-modes.Rmd’: Error: cannot open the connection Execution halted when running code in ‘request_matching.Rmd’ ... Warning in file(con, "r") : cannot open file './../man/rmdhunks/request-matching-vignette.Rmd': No such file or directory Quitting from lines 29-29 [unnamed-chunk-2] (request_matching.Rmd) When tangling ‘request_matching.Rmd’: Error: cannot open the connection Execution halted when running code in ‘vcr.Rmd’ ... Warning in file(con, "r") : cannot open file './../man/rmdhunks/elevator-pitch.Rmd': No such file or directory Quitting from lines 42-42 [unnamed-chunk-2] (vcr.Rmd) When tangling ‘vcr.Rmd’: Error: cannot open the connection Execution halted when running code in ‘write-to-disk.Rmd’ ... Warning in file(con, "r") : cannot open file './../man/rmdhunks/write-to-disk.Rmd': No such file or directory Quitting from lines 33-33 [unnamed-chunk-2] (write-to-disk.Rmd) When tangling ‘write-to-disk.Rmd’: Error: cannot open the connection Execution halted ‘cassette-manual-editing.Rmd’ using ‘UTF-8’... failed ‘configuration.Rmd’ using ‘UTF-8’... failed ‘debugging.Rmd’ using ‘UTF-8’... failed ‘design.Rmd’ using ‘UTF-8’... failed ‘internals.Rmd’ using ‘UTF-8’... failed ‘lightswitch.Rmd’ using ‘UTF-8’... failed ‘record-modes.Rmd’ using ‘UTF-8’... failed ‘request_matching.Rmd’ using ‘UTF-8’... failed ‘vcr.Rmd’ using ‘UTF-8’... failed ‘write-to-disk.Rmd’ using ‘UTF-8’... failed Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64