CRAN Package Check Results for Package vcr

Last updated on 2025-07-23 20:51:01 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.60 64.86 78.46 ERROR
r-devel-linux-x86_64-fedora-clang 2.0.0 139.87 OK
r-devel-linux-x86_64-fedora-gcc 2.0.0 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 133.00 OK
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 109.00 OK
r-oldrel-windows-x86_64 1.7.0 32.00 143.00 175.00 NOTE

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/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-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: 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