CRAN Package Check Results for Package vcr

Last updated on 2025-07-23 17:51:03 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.7.0 21.86 86.89 108.75 ERROR
r-devel-linux-x86_64-debian-gcc 1.7.0 13.13 64.46 77.59 ERROR
r-devel-linux-x86_64-fedora-clang 2.0.0 139.87 OK
r-devel-linux-x86_64-fedora-gcc 2.0.0 155.14 ERROR
r-devel-windows-x86_64 1.7.0 24.00 118.00 142.00 ERROR
r-patched-linux-x86_64 1.7.0 24.49 82.33 106.82 OK
r-release-linux-x86_64 1.7.0 21.78 81.68 103.46 OK
r-release-macos-arm64 1.7.0 86.00 OK
r-release-macos-x86_64 2.0.0 101.00 ERROR
r-release-windows-x86_64 1.7.0 22.00 118.00 140.00 OK
r-oldrel-macos-arm64 1.7.0 218.00 NOTE
r-oldrel-macos-x86_64 2.0.0 107.00 ERROR
r-oldrel-windows-x86_64 1.7.0 32.00 143.00 175.00 NOTE

Additional issues

M1mac

Check Details

Version: 1.7.0
Check: DESCRIPTION meta-information
Result: NOTE Author field differs from that derived from Authors@R Author: ‘Scott Chamberlain [aut, cre] (<https://orcid.org/0000-0003-1444-9135>), Aaron Wolen [aut] (<https://orcid.org/0000-0003-2542-2202>), Maëlle Salmon [aut] (<https://orcid.org/0000-0002-2815-0399>), Daniel Possenriede [aut] (<https://orcid.org/0000-0002-6738-9845>), rOpenSci [fnd] (019jywm96)’ Authors@R: ‘Scott Chamberlain [aut, cre] (ORCID: <https://orcid.org/0000-0003-1444-9135>), Aaron Wolen [aut] (ORCID: <https://orcid.org/0000-0003-2542-2202>), Maëlle Salmon [aut] (ORCID: <https://orcid.org/0000-0002-2815-0399>), Daniel Possenriede [aut] (ORCID: <https://orcid.org/0000-0002-6738-9845>), rOpenSci [fnd] (ROR: <https://ror.org/019jywm96>)’ Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.7.0
Check: tests
Result: ERROR Running ‘test-all.R’ [10s/16s] Running the tests in ‘tests/test-all.R’ failed. Complete output: > library("testthat") > library('vcr') > test_check("vcr") using base url for tests: https://hb.cran.dev [ FAIL 1 | WARN 10 | SKIP 50 | PASS 501 ] ══ 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-localhost_port.R:25:3'): testing against localhost port works ── Error in `readLines(con, warn = readLines.warn)`: cannot open the connection Backtrace: ▆ 1. └─yaml::yaml.load_file(path) at test-localhost_port.R:25:3 2. ├─yaml::yaml.load(...) 3. │ └─base::paste(string, collapse = "\n") 4. └─base::readLines(con, warn = readLines.warn) [ FAIL 1 | WARN 10 | SKIP 50 | PASS 501 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.7.0
Check: tests
Result: ERROR Running ‘test-all.R’ [6s/13s] Running the tests in ‘tests/test-all.R’ failed. Complete output: > library("testthat") > library('vcr') > test_check("vcr") using base url for tests: https://hb.cran.dev [ FAIL 1 | WARN 10 | SKIP 50 | PASS 501 ] ══ 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-localhost_port.R:25:3'): testing against localhost port works ── Error in `readLines(con, warn = readLines.warn)`: cannot open the connection Backtrace: ▆ 1. └─yaml::yaml.load_file(path) at test-localhost_port.R:25:3 2. ├─yaml::yaml.load(...) 3. │ └─base::paste(string, collapse = "\n") 4. └─base::readLines(con, warn = readLines.warn) [ FAIL 1 | WARN 10 | SKIP 50 | PASS 501 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 2.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [40s/50s] 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(vcr) > > test_check("vcr") Starting 2 test processes [ FAIL 28 | WARN 42 | SKIP 35 | PASS 346 ] ══ Skipped tests (35) ══════════════════════════════════════════════════════════ • On CRAN (35): 'test-cassette_class.R:2:3', 'test-cassette_class.R:6:3', 'test-cassette_class.R:44:3', 'test-cassettes.R:17:3', 'test-check_cassette_names.R:3:3', 'test-check_cassette_names.R:30:3', 'test-configuration.R:2:3', 'test-configuration.R:50:3', 'test-knitr.R:4:3', 'test-logger.R:25:3', 'test-lightswitch.R:4:3', 'test-lightswitch.R:16:5', 'test-lightswitch.R:35:3', 'test-lightswitch.R:88:3', 'test-request_handler-httr.R:1:1', 'test-request_handler.R:5:3', 'test-request_ignorer.R:2:3', 'test-request_handler-httr2.R:163:3', 'test-request_handler-httr2.R:191:3', 'test-request_handler-httr2.R:243:3', 'test-request_response.R:9:3', 'test-request_response.R:26:3', 'test-serialize-body.R:94:3', 'test-request_matcher.R:22:3', 'test-request_matcher.R:36:3', 'test-request_matcher.R:152:3', 'test-request_matcher.R:168:3', 'test-serializer.R:14:3', 'test-serializer.R:166:3', 'test-serializer.R:229:3', 'test-use_cassette.R:23:3', 'test-use_cassette.R:36:3', 'test-vcr_setup.R:3:3', 'test-vcr_setup.R:36:3', 'test-vcr_setup.R:45:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ause_cassette_re_record.R:13:3'): use_cassette options: re_record_interval ── Error in `read_yaml(file.path(the$config$dir, name))`: '/tmp/RtmpaHrhOD/working_dir/RtmpMB8O7B/file261ad27e509344/test.yml' does not exist. Backtrace: ▆ 1. └─vcr:::read_cassette("test.yml") at test-ause_cassette_re_record.R:13:3 2. └─vcr:::read_yaml(file.path(the$config$dir, name)) at tests/testthat/helper-vcr.R:92:3 3. └─cli::cli_abort("{.path {path}} does not exist.") at tests/testthat/helper-vcr.R:96:5 4. └─rlang::abort(...) ── Failure ('test-ause_cassette_record_modes.R:11:3'): record mode: once ─────── one$new_interactions (`actual`) not equal to TRUE (`expected`). `actual`: FALSE `expected`: TRUE ── Failure ('test-ause_cassette_record_modes.R:12:3'): record mode: once ─────── one$http_interactions$length() (`actual`) not equal to 1 (`expected`). `actual`: 0.0 `expected`: 1.0 ── Failure ('test-ause_cassette_record_modes.R:19:3'): record mode: once ─────── two$http_interactions$length() (`actual`) not equal to 1 (`expected`). `actual`: 0.0 `expected`: 1.0 ── Failure ('test-ause_cassette_record_modes.R:29:3'): record mode: once ─────── `use_cassette("test", conn$get("get", query = list(foo = "bar")))` did not throw a error with class <vcr_unhandled>. ── Failure ('test-ause_cassette_record_modes.R:50:3'): record mode: none ─────── `use_cassette("test", conn$get("get", query = list(foo = "bar")))` did not throw a error with class <vcr_unhandled>. ── Failure ('test-ause_cassette_record_modes.R:78:3'): record mode: new_episodes ── one$new_interactions (`actual`) not equal to TRUE (`expected`). `actual`: FALSE `expected`: TRUE ── Failure ('test-ause_cassette_record_modes.R:79:3'): record mode: new_episodes ── one$http_interactions$length() (`actual`) not equal to 1 (`expected`). `actual`: 0.0 `expected`: 1.0 ── Failure ('test-ause_cassette_record_modes.R:84:3'): record mode: new_episodes ── one_replay$http_interactions$length() (`actual`) not equal to 1 (`expected`). `actual`: 0.0 `expected`: 1.0 ── Failure ('test-ause_cassette_record_modes.R:89:3'): record mode: new_episodes ── two$new_interactions (`actual`) not equal to TRUE (`expected`). `actual`: FALSE `expected`: TRUE ── Failure ('test-ause_cassette_record_modes.R:90:3'): record mode: new_episodes ── two$http_interactions$length() (`actual`) not equal to 2 (`expected`). `actual`: 0.0 `expected`: 2.0 ── Failure ('test-ause_cassette_record_modes.R:98:3'): record mode: new_episodes ── two_replay$http_interactions$length() (`actual`) not equal to 2 (`expected`). `actual`: 0.0 `expected`: 2.0 ── Failure ('test-ause_cassette_record_modes.R:112:3'): record mode: all ─────── one$new_interactions (`actual`) not equal to TRUE (`expected`). `actual`: FALSE `expected`: TRUE ── Failure ('test-ause_cassette_record_modes.R:113:3'): record mode: all ─────── one$http_interactions$length() (`actual`) not equal to 1 (`expected`). `actual`: 0.0 `expected`: 1.0 ── Failure ('test-ause_cassette_record_modes.R:122:3'): record mode: all ─────── two$new_interactions (`actual`) not equal to TRUE (`expected`). `actual`: FALSE `expected`: TRUE ── Failure ('test-ause_cassette_record_modes.R:123:3'): record mode: all ─────── two$http_interactions$length() (`actual`) not equal to 1 (`expected`). `actual`: 0.0 `expected`: 1.0 ── Error ('test-ause_cassette_record_modes.R:127:3'): record mode: all ───────── <subscriptOutOfBoundsError/error/condition> Error in `interactions_1[[1]]`: subscript out of bounds Backtrace: ▆ 1. └─testthat::expect_lt(interactions_1[[1]]$recorded_at, interactions_2[[1]]$recorded_at) at test-ause_cassette_record_modes.R:127:3 2. └─testthat::quasi_label(enquo(object), label, arg = "object") 3. └─rlang::eval_bare(expr, quo_get_env(quo)) ── Error ('test-request_handler-crul.R:11:3'): crul POST requests works ──────── Error: Argument 'txt' must be a JSON string, URL or file. Backtrace: ▆ 1. └─jsonlite::fromJSON(vcr_last_response()$body$string) at test-request_handler-crul.R:11:3 2. └─jsonlite:::stop("Argument 'txt' must be a JSON string, URL or file.") ── Error ('test-request_handler-crul.R:91:3'): JSON-encoded body ─────────────── Error in `read_yaml(x$file())`: '/tmp/RtmpaHrhOD/working_dir/RtmpMB8O7B/file261ad22b816047/testing1.yml' does not exist. Backtrace: ▆ 1. ├─testthat::expect_identical(recorded_at(aa), recorded_at(bb)) at test-request_handler-crul.R:91:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─vcr:::recorded_at(aa) 5. └─vcr:::read_yaml(x$file()) at tests/testthat/helper-vcr.R:89:3 6. └─cli::cli_abort("{.path {path}} does not exist.") at tests/testthat/helper-vcr.R:96:5 7. └─rlang::abort(...) ── Failure ('test-request_handler-crul.R:144:3'): can write files to disk ────── out$content (`actual`) not equal to file.path(write_path, "test.png") (`expected`). `actual`: "/tmp/RtmpaHrhOD/working_dir/RtmpMB8O7B/file261ad2753cbc23/test.png" `expected`: "/tmp/RtmpaHrhOD/working_dir/RtmpMB8O7B/file261ad22ffd8878/test.png" ── Failure ('test-request_handler-crul.R:147:3'): can write files to disk ────── out2$content (`actual`) not equal to file.path(write_path, "test.png") (`expected`). `actual`: "/tmp/RtmpaHrhOD/working_dir/RtmpMB8O7B/file261ad2753cbc23/test.png" `expected`: "/tmp/RtmpaHrhOD/working_dir/RtmpMB8O7B/file261ad22ffd8878/test.png" ── Error ('test-request_handler-crul.R:173:3'): match_requests_on - body works ── Error in `read_yaml(x$file())`: '/tmp/RtmpaHrhOD/working_dir/RtmpMB8O7B/file261ad23d6f7f1a/testing1.yml' does not exist. Backtrace: ▆ 1. ├─testthat::expect_identical(recorded_at(aa), recorded_at(bb)) at test-request_handler-crul.R:173:3 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─vcr:::recorded_at(aa) 5. └─vcr:::read_yaml(x$file()) at tests/testthat/helper-vcr.R:89:3 6. └─cli::cli_abort("{.path {path}} does not exist.") at tests/testthat/helper-vcr.R:96:5 7. └─rlang::abort(...) ── Failure ('test-serialize-uri.R:49:3'): query param is not recorded on disk ── vcr_last_request()$uri (`actual`) not equal to hb("/get?y=Y") (`expected`). `actual`: "http://127.0.0.1:34521/get?update=2022-01-01T00%3A00%3A00&p2=ok" `expected`: "http://127.0.0.1:34521/get?y=Y" ── Failure ('test-serialize-headers.R:38:3'): can replace headers on disk ────── vcr_last_request()$headers$x (`actual`) not equal to "ondisk" (`expected`). `actual` is NULL `expected` is a character vector ('ondisk') ── Failure ('test-serialize-headers.R:78:3'): filter_headers/response/remove ─── res2$response_headers$foo (`actual`) not equal to NULL (`expected`). `actual` is a character vector ('bar') `expected` is NULL ── Failure ('test-serialize-headers.R:92:3'): filter_headers/response/replace ── vcr_last_response()$headers$foo (`actual`) not equal to "foo" (`expected`). `actual` is NULL `expected` is a character vector ('foo') ── Failure ('test-serialize-headers.R:96:3'): filter_headers/response/replace ── res2$response_headers$foo (`actual`) not equal to "foo" (`expected`). `actual`: "bar" `expected`: "foo" ── Error ('test-serializer.R:179:3'): JSON usage ─────────────────────────────── Error: lexical error: invalid char in json text. /tmp/RtmpaHrhOD/working_dir/Rtmp (right here) ------^ Backtrace: ▆ 1. ├─testthat::expect_length(...) at test-serializer.R:179:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─jsonlite::fromJSON(aa$file(), FALSE) 5. └─jsonlite:::parse_and_simplify(...) 6. └─jsonlite:::parseJSON(txt, bigint_as_char) 7. └─jsonlite:::parse_string(txt, bigint_as_char) [ FAIL 28 | WARN 42 | SKIP 35 | PASS 346 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.7.0
Check: tests
Result: ERROR Running 'test-all.R' [12s] Running the tests in 'tests/test-all.R' failed. Complete output: > library("testthat") > library('vcr') > test_check("vcr") using base url for tests: https://hb.cran.dev [ FAIL 1 | WARN 10 | SKIP 50 | PASS 501 ] ══ 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-localhost_port.R:25:3'): testing against localhost port works ── Error in `readLines(con, warn = readLines.warn)`: cannot open the connection Backtrace: ▆ 1. └─yaml::yaml.load_file(path) at test-localhost_port.R:25:3 2. ├─yaml::yaml.load(...) 3. │ └─base::paste(string, collapse = "\n") 4. └─base::readLines(con, warn = readLines.warn) [ FAIL 1 | WARN 10 | SKIP 50 | PASS 501 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64

Version: 2.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [15s/14s] 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(vcr) > > test_check("vcr") Starting 2 test processes [ FAIL 29 | WARN 10 | SKIP 35 | PASS 308 ] ══ Skipped tests (35) ══════════════════════════════════════════════════════════ • On CRAN (35): 'test-cassette_class.R:2:3', 'test-cassette_class.R:6:3', 'test-cassette_class.R:44:3', 'test-cassettes.R:17:3', 'test-check_cassette_names.R:3:3', 'test-check_cassette_names.R:30:3', 'test-configuration.R:2:3', 'test-configuration.R:50:3', 'test-knitr.R:4:3', 'test-logger.R:25:3', 'test-lightswitch.R:4:3', 'test-lightswitch.R:16:5', 'test-lightswitch.R:35:3', 'test-lightswitch.R:88:3', 'test-request_handler-httr.R:1:1', 'test-request_handler.R:5:3', 'test-request_ignorer.R:2:3', 'test-request_handler-httr2.R:163:3', 'test-request_handler-httr2.R:191:3', 'test-request_handler-httr2.R:243:3', 'test-request_matcher.R:22:3', 'test-request_matcher.R:36:3', 'test-request_matcher.R:152:3', 'test-request_matcher.R:168:3', 'test-request_response.R:9:3', 'test-request_response.R:26:3', 'test-serialize-body.R:94:3', 'test-serializer.R:14:3', 'test-serializer.R:166:3', 'test-serializer.R:229:3', 'test-use_cassette.R:23:3', 'test-use_cassette.R:36:3', 'test-vcr_setup.R:3:3', 'test-vcr_setup.R:36:3', 'test-vcr_setup.R:45:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ause_cassette_re_record.R:13:3'): use_cassette options: re_record_interval ── Error in `read_yaml(file.path(the$config$dir, name))`: '/var/folders/2b/t0kwbtmn3p7brv2mvx39c9cr0000gn/T//Rtmpe1qY21/file129d5250e80df/test.yml' does not exist. Backtrace: ▆ 1. └─vcr:::read_cassette("test.yml") at test-ause_cassette_re_record.R:13:3 2. └─vcr:::read_yaml(file.path(the$config$dir, name)) at tests/testthat/helper-vcr.R:92:3 3. └─cli::cli_abort("{.path {path}} does not exist.") at tests/testthat/helper-vcr.R:96:5 4. └─rlang::abort(...) ── Failure ('test-ause_cassette_record_modes.R:11:3'): record mode: once ─────── one$new_interactions (`actual`) not equal to TRUE (`expected`). `actual`: FALSE `expected`: TRUE ── Failure ('test-ause_cassette_record_modes.R:12:3'): record mode: once ─────── one$http_interactions$length() (`actual`) not equal to 1 (`expected`). `actual`: 0.0 `expected`: 1.0 ── Error ('test-ause_cassette_record_modes.R:17:3'): record mode: once ───────── <curl_error_operation_timedout/curl_error/error/condition> Error in `curl::curl_fetch_memory(x$url$url, handle = x$url$handle)`: Timeout was reached [127.0.0.1]: Operation timed out after 1 milliseconds with 0 bytes received Backtrace: ▆ 1. ├─vcr::use_cassette("test", res2 <- conn$get("get", timeout_ms = 1)) at test-ause_cassette_record_modes.R:17:3 2. │ └─base::withCallingHandlers(...) 3. ├─conn$get("get", timeout_ms = 1) 4. │ └─private$make_request(rr) 5. │ └─crul:::crul_fetch(opts) 6. │ └─curl::curl_fetch_memory(x$url$url, handle = x$url$handle) 7. └─curl:::raise_libcurl_error(...) ── Failure ('test-ause_cassette_record_modes.R:50:3'): record mode: none ─────── `use_cassette("test", conn$get("get", query = list(foo = "bar")))` did not throw a error with class <vcr_unhandled>. ── Failure ('test-ause_cassette_record_modes.R:78:3'): record mode: new_episodes ── one$new_interactions (`actual`) not equal to TRUE (`expected`). `actual`: FALSE `expected`: TRUE ── Failure ('test-ause_cassette_record_modes.R:79:3'): record mode: new_episodes ── one$http_interactions$length() (`actual`) not equal to 1 (`expected`). `actual`: 0.0 `expected`: 1.0 ── Failure ('test-ause_cassette_record_modes.R:84:3'): record mode: new_episodes ── one_replay$http_interactions$length() (`actual`) not equal to 1 (`expected`). `actual`: 0.0 `expected`: 1.0 ── Failure ('test-ause_cassette_record_modes.R:89:3'): record mode: new_episodes ── two$new_interactions (`actual`) not equal to TRUE (`expected`). `actual`: FALSE `expected`: TRUE ── Failure ('test-ause_cassette_record_modes.R:90:3'): record mode: new_episodes ── two$http_interactions$length() (`actual`) not equal to 2 (`expected`). `actual`: 0.0 `expected`: 2.0 ── Failure ('test-ause_cassette_record_modes.R:98:3'): record mode: new_episodes ── two_replay$http_interactions$length() (`actual`) not equal to 2 (`expected`). `actual`: 0.0 `expected`: 2.0 ── Failure ('test-ause_cassette_record_modes.R:112:3'): record mode: all ─────── one$new_interactions (`actual`) not equal to TRUE (`expected`). `actual`: FALSE `expected`: TRUE ── Failure ('test-ause_cassette_record_modes.R:113:3'): record mode: all ─────── one$http_interactions$length() (`actual`) not equal to 1 (`expected`). `actual`: 0.0 `expected`: 1.0 ── Error ('test-ause_cassette_record_modes.R:121:3'): record mode: all ───────── <packageNotFoundError/error/condition> Error in `utils::packageVersion("crul")`: there is no package called 'crul' Backtrace: ▆ 1. ├─vcr::use_cassette("test", res2 <- conn$get("get")) at test-ause_cassette_record_modes.R:121:3 2. │ └─base::withCallingHandlers(...) 3. └─conn$get("get") 4. └─crul:::make_ua() 5. └─utils::packageVersion("crul") ── Error ('test-request_handler-crul.R:7:5'): crul POST requests works ───────── <packageNotFoundError/error/condition> Error in `utils::packageVersion("crul")`: there is no package called 'crul' Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-request_handler-crul.R:6:3 2. │ └─base::withCallingHandlers(...) 3. └─crul::HttpClient$new(hb("/post"))$post(body = list(foo = "bar")) at test-request_handler-crul.R:7:5 4. └─crul:::prep_opts("post", url, self, opts, ...) 5. └─crul:::make_ua() 6. └─utils::packageVersion("crul") ── Error ('test-request_handler-crul.R:77:3'): JSON-encoded body ─────────────── <packageNotFoundError/error/condition> Error in `utils::packageVersion("crul")`: there is no package called 'crul' Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-request_handler-crul.R:77:3 2. │ └─base::withCallingHandlers(...) 3. └─cli$post("post", body = list(foo = "bar"), encode = "json") 4. └─crul:::prep_opts("post", url, self, opts, ...) 5. └─crul:::make_ua() 6. └─utils::packageVersion("crul") ── Error ('test-request_handler-crul.R:136:5'): can write files to disk ──────── <packageNotFoundError/error/condition> Error in `utils::packageVersion("crul")`: there is no package called 'crul' Backtrace: ▆ 1. ├─vcr::use_cassette("test3", out <- download_image()) at test-request_handler-crul.R:143:3 2. │ └─base::withCallingHandlers(...) 3. └─vcr (local) download_image() 4. └─crul::HttpClient$new(url = hb("/image"), headers = list(Accept = "image/png"))$get(disk = path) at test-request_handler-crul.R:136:5 5. └─crul:::make_ua() 6. └─utils::packageVersion("crul") ── Error ('test-request_handler-crul.R:159:3'): match_requests_on - body works ── <packageNotFoundError/error/condition> Error in `utils::packageVersion("crul")`: there is no package called 'crul' Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-request_handler-crul.R:159:3 2. │ └─base::withCallingHandlers(...) 3. └─cli$post("post", body = list(foo = "bar")) 4. └─crul:::prep_opts("post", url, self, opts, ...) 5. └─crul:::make_ua() 6. └─utils::packageVersion("crul") ── Error ('test-request_matcher.R:117:3'): can match empty bodies ────────────── <packageNotFoundError/error/condition> Error in `utils::packageVersion("crul")`: there is no package called 'crul' Backtrace: ▆ 1. ├─vcr::use_cassette("test", res1 <- cli$post("post")) at test-request_matcher.R:117:3 2. │ └─base::withCallingHandlers(...) 3. └─cli$post("post") 4. └─crul:::prep_opts("post", url, self, opts, ...) 5. └─crul:::make_ua() 6. └─utils::packageVersion("crul") ── Error ('test-request_matcher.R:181:3'): request matching is not sensitive to escaping special characters ── <packageNotFoundError/error/condition> Error in `utils::packageVersion("crul")`: there is no package called 'crul' Backtrace: ▆ 1. ├─vcr::use_cassette("test", res <- crul::HttpClient$new(url)$get()) at test-request_matcher.R:181:3 2. │ └─base::withCallingHandlers(...) 3. └─crul::HttpClient$new(url)$get() 4. └─crul:::make_ua() 5. └─utils::packageVersion("crul") ── Error ('test-serialize-headers.R:20:3'): can remove headers on disk ───────── <packageNotFoundError/error/condition> Error in `utils::packageVersion("crul")`: there is no package called 'crul' Backtrace: ▆ 1. ├─vcr::use_cassette("test", res1 <- con$get()) at test-serialize-headers.R:20:3 2. │ └─base::withCallingHandlers(...) 3. └─con$get() 4. └─crul:::make_ua() 5. └─utils::packageVersion("crul") ── Error ('test-serialize-headers.R:36:3'): can replace headers on disk ──────── <packageNotFoundError/error/condition> Error in `utils::packageVersion("crul")`: there is no package called 'crul' Backtrace: ▆ 1. ├─vcr::use_cassette("test", res1 <- con$get()) at test-serialize-headers.R:36:3 2. │ └─base::withCallingHandlers(...) 3. └─con$get() 4. └─crul:::make_ua() 5. └─utils::packageVersion("crul") ── Error ('test-serialize-headers.R:53:3'): filter_headers doesn't add a header that doesn't exist ── <packageNotFoundError/error/condition> Error in `utils::packageVersion("crul")`: there is no package called 'crul' Backtrace: ▆ 1. ├─vcr::use_cassette("test", res <- con1$get()) at test-serialize-headers.R:53:3 2. │ └─base::withCallingHandlers(...) 3. └─con1$get() 4. └─crul:::make_ua() 5. └─utils::packageVersion("crul") ── Error ('test-serialize-headers.R:70:3'): filter_headers/response/remove ───── <packageNotFoundError/error/condition> Error in `utils::packageVersion("crul")`: there is no package called 'crul' Backtrace: ▆ 1. ├─vcr::use_cassette("test", res1 <- con$get()) at test-serialize-headers.R:70:3 2. │ └─base::withCallingHandlers(...) 3. └─con$get() 4. └─crul:::make_ua() 5. └─utils::packageVersion("crul") ── Error ('test-serialize-headers.R:88:3'): filter_headers/response/replace ──── <packageNotFoundError/error/condition> Error in `utils::packageVersion("crul")`: there is no package called 'crul' Backtrace: ▆ 1. ├─vcr::use_cassette("test", res1 <- con$get()) at test-serialize-headers.R:88:3 2. │ └─base::withCallingHandlers(...) 3. └─con$get() 4. └─crul:::make_ua() 5. └─utils::packageVersion("crul") ── Error ('test-serialize-uri.R:47:3'): query param is not recorded on disk ──── <packageNotFoundError/error/condition> Error in `utils::packageVersion("crul")`: there is no package called 'crul' Backtrace: ▆ 1. ├─vcr::use_cassette("test", con$get(query = list(x = "x", y = "y"))) at test-serialize-uri.R:47:3 2. │ └─base::withCallingHandlers(...) 3. └─con$get(query = list(x = "x", y = "y")) 4. └─crul:::make_ua() 5. └─utils::packageVersion("crul") ── Error ('test-serializer.R:20:3'): you can record a new cassette of same name with different serializer ── <packageNotFoundError/error/condition> Error in `utils::packageVersion("crul")`: there is no package called 'crul' Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-serializer.R:20:3 2. │ └─base::withCallingHandlers(...) 3. └─crul::HttpClient$new(hb("/get"))$get() 4. └─crul:::make_ua() 5. └─utils::packageVersion("crul") ── Error ('test-serializer.R:103:5'): use_cassette w/ with images: crul ──────── <packageNotFoundError/error/condition> Error in `utils::packageVersion("crul")`: there is no package called 'crul' Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-serializer.R:102:3 2. │ └─base::withCallingHandlers(...) 3. └─crul::HttpClient$new(url)$get() at test-serializer.R:103:5 4. └─crul:::make_ua() 5. └─utils::packageVersion("crul") ── Error ('test-serializer.R:173:3'): JSON usage ─────────────────────────────── <packageNotFoundError/error/condition> Error in `utils::packageVersion("crul")`: there is no package called 'crul' Backtrace: ▆ 1. ├─vcr::use_cassette("testing2", res <- crul::HttpClient$new(hb("/get"))$get()) at test-serializer.R:173:3 2. │ └─base::withCallingHandlers(...) 3. └─crul::HttpClient$new(hb("/get"))$get() 4. └─crul:::make_ua() 5. └─utils::packageVersion("crul") [ FAIL 29 | WARN 10 | SKIP 35 | PASS 308 ] Error: Test failures Execution halted Flavor: r-release-macos-x86_64

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

Version: 2.0.0
Check: tests
Result: ERROR Running ‘testthat.R’ [15s/18s] 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(vcr) > > test_check("vcr") Starting 2 test processes [ FAIL 5 | WARN 0 | SKIP 35 | PASS 407 ] ══ Skipped tests (35) ══════════════════════════════════════════════════════════ • On CRAN (35): 'test-cassettes.R:17:3', 'test-check_cassette_names.R:3:3', 'test-check_cassette_names.R:30:3', 'test-cassette_class.R:2:3', 'test-cassette_class.R:6:3', 'test-cassette_class.R:44:3', 'test-configuration.R:2:3', 'test-configuration.R:50:3', 'test-knitr.R:4:3', 'test-logger.R:25:3', 'test-lightswitch.R:4:3', 'test-lightswitch.R:16:5', 'test-lightswitch.R:35:3', 'test-lightswitch.R:88:3', 'test-request_handler-httr.R:1:1', 'test-request_handler-httr2.R:163:3', 'test-request_handler-httr2.R:191:3', 'test-request_handler-httr2.R:243:3', 'test-request_handler.R:5:3', 'test-request_ignorer.R:2:3', 'test-request_matcher.R:22:3', 'test-request_matcher.R:36:3', 'test-request_matcher.R:152:3', 'test-request_matcher.R:168:3', 'test-request_response.R:9:3', 'test-request_response.R:26:3', 'test-serialize-body.R:94:3', 'test-serializer.R:14:3', 'test-serializer.R:166:3', 'test-serializer.R:229:3', 'test-use_cassette.R:23:3', 'test-use_cassette.R:36:3', 'test-vcr_setup.R:3:3', 'test-vcr_setup.R:36:3', 'test-vcr_setup.R:45:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ause_cassette_re_record.R:10:5'): use_cassette options: re_record_interval ── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'crul' Backtrace: ▆ 1. ├─vcr::use_cassette(...) at test-ause_cassette_re_record.R:9:3 2. │ └─base::withCallingHandlers(...) 3. └─base::loadNamespace(x) at test-ause_cassette_re_record.R:10:5 4. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 5. └─base (local) withOneRestart(expr, restarts[[1L]]) 6. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-ause_cassette_record_modes.R:7:3'): record mode: once ────────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'crul' Backtrace: ▆ 1. └─base::loadNamespace(x) at test-ause_cassette_record_modes.R:7:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-ause_cassette_record_modes.R:40:3'): record mode: none ───────── <packageNotFoundError/error/condition> Error in `loadNamespace(x)`: there is no package called 'crul' Backtrace: ▆ 1. └─base::loadNamespace(x) at test-ause_cassette_record_modes.R:40:3 2. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 3. └─base (local) withOneRestart(expr, restarts[[1L]]) 4. └─base (local) doWithOneRestart(return(expr), restart) ── Error ('test-ause_cassette_record_modes.R:77:3'): record mode: new_episodes ── <packageNotFoundError/error/condition> Error in `utils::packageVersion("crul")`: there is no package called 'crul' Backtrace: ▆ 1. ├─vcr::use_cassette("test", res1 <- conn$get("get")) at test-ause_cassette_record_modes.R:77:3 2. │ └─base::withCallingHandlers(...) 3. └─conn$get("get") 4. └─crul:::make_ua() 5. └─utils::packageVersion("crul") ── Error ('test-ause_cassette_record_modes.R:111:3'): record mode: all ───────── <packageNotFoundError/error/condition> Error in `utils::packageVersion("crul")`: there is no package called 'crul' Backtrace: ▆ 1. ├─vcr::use_cassette("test", res1 <- conn$get("get")) at test-ause_cassette_record_modes.R:111:3 2. │ └─base::withCallingHandlers(...) 3. └─conn$get("get") 4. └─crul:::make_ua() 5. └─utils::packageVersion("crul") [ FAIL 5 | WARN 0 | SKIP 35 | PASS 407 ] Error: Test failures Execution halted Flavor: r-oldrel-macos-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.