Running 'testthat.R' [13s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(EDIutils)
  > 
  > test_check("EDIutils")
  [ FAIL 51 | WARN 0 | SKIP 17 | PASS 27 ]
  
  ══ Skipped tests (17) ══════════════════════════════════════════════════════════
  • Not run when logged out. Login with 'login()'. (12):
    'test_check_status_create.R:19:3', 'test_create_data_package.R:4:3',
    'test_create_data_package_archive.R:17:3',
    'test_create_journal_citation.R:4:3', 'test_evaluate_data_package.R:4:3',
    'test_execute_event_subscription.R:13:3', 'test_get_audit_record.R:4:3',
    'test_get_event_subscription.R:18:3', 'test_get_recent_uploads.R:4:3',
    'test_list_recent_changes.R:4:3', 'test_read_data_package_from_doi.R:22:3',
    'test_update_data_package.R:4:3'
  • On CRAN (3): 'test_read_data_package_archive.R:6:3',
    'test_read_data_package_archive.R:22:3',
    'test_read_data_package_archive.R:39:3'
  • empty test (2): 'test_create_event_subscription.R:3:1', 'test_logout.R:3:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_check_status_create.R:8:5'): check_status_create() works ───────
  Error: 
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_check_status_create.R:7:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::check_status_create(transaction, wait = TRUE, env = "staging") at test_check_status_create.R:8:5
   4.   └─EDIutils::read_data_package_error(transaction, env)
  ── Error ('test_check_status_evaluate.R:6:5'): check_status_evaluate() works ───
  Error: 
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_check_status_evaluate.R:5:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::check_status_evaluate(transaction, wait = FALSE, env = "staging") at test_check_status_evaluate.R:6:5
   4.   └─EDIutils::read_data_package_error(transaction, env)
  ── Error ('test_check_status_update.R:7:5'): check_status_update() works ───────
  Error: 
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_check_status_update.R:6:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::check_status_update(transaction, wait = FALSE, env = "staging") at test_check_status_update.R:7:5
   4.   └─EDIutils::read_data_package_error(transaction, env)
  ── Error ('test_create_reservation.R:9:5'): create_reservation() works ─────────
  <http_400/http_error/error/condition>
  Error in `delete_reservation("edi", identifier, env = "staging")`: Bad Request (HTTP 400). Failed to 400: Authentication token could not be decoded or verified.
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_create_reservation.R:8:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::delete_reservation("edi", identifier, env = "staging") at test_create_reservation.R:9:5
   4.   └─httr::stop_for_status(resp, res)
  ── Error ('test_evaluate_report_summary.R:6:5'): evaluate_report_summary() works ──
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
       ▆
    1. ├─vcr::use_cassette(...) at test_evaluate_report_summary.R:5:3
    2. │ └─cassette$call_block(...)
    3. ├─testthat::expect_message(...) at test_evaluate_report_summary.R:6:5
    4. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
    5. │   ├─testthat (local) .capture(...)
    6. │   │ └─base::withCallingHandlers(...)
    7. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    8. └─EDIutils::read_evaluate_report_summary(transaction, env = "staging")
    9.   └─EDIutils::read_evaluate_report(transaction, env = env)
   10.     ├─xml2::read_xml(res)
   11.     └─xml2:::read_xml.character(res)
   12.       └─xml2:::path_to_connection(x)
   13.         └─xml2:::check_path(path)
   14.           └─cli::cli_abort(msg, call = call)
   15.             └─rlang::abort(...)
  ── Error ('test_get_audit_report.R:6:5'): get_audit_report() works ─────────────
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_get_audit_report.R:5:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::get_audit_report(query, as = "xml") at test_get_audit_report.R:6:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_get_docid_reads.R:5:5'): get_docid_reads() works ───────────────
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_get_docid_reads.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::get_docid_reads("knb-lter-sgs", "817", as = "xml") at test_get_docid_reads.R:5:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_get_event_subscription.R:7:5'): get_event_subscription() works (mock test) ──
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_get_event_subscription.R:6:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::get_event_subscription(...) at test_get_event_subscription.R:7:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_get_event_subscription_schema.R:5:5'): get_event_subscription_schema() works ──
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_get_event_subscription_schema.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::get_event_subscription_schema() at test_get_event_subscription_schema.R:5:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_get_journal_citation.R:5:5'): get_journal_citation() works  ────
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_get_journal_citation.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::list_data_package_citations(...) at test_get_journal_citation.R:5:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_get_packageid_reads.R:5:5'): get_packageid_reads() works ───────
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_get_packageid_reads.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::get_packageid_reads("knb-lter-sgs.817.17", as = "xml") at test_get_packageid_reads.R:5:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_get_provenance_metadata.R:5:5'): get_provenance_metadata() works (mocked test) ──
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_get_provenance_metadata.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::get_provenance_metadata("knb-lter-pal.309.1") at test_get_provenance_metadata.R:5:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_list_active_reservations.R:5:5'): list_active_reservations() works ──
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_list_active_reservations.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::list_active_reservations("staging", as = "xml") at test_list_active_reservations.R:5:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_list_data_descendants.R:5:5'): list_data_descendants() works ───
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_list_data_descendants.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::list_data_descendants("knb-lter-bnz.501.17", as = "xml") at test_list_data_descendants.R:5:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_list_data_package_citations.R:5:5'): list_data_package_citations() works ──
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_list_data_package_citations.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::list_data_package_citations("edi.845.1", as = "xml") at test_list_data_package_citations.R:5:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_list_data_package_identifiers.R:5:5'): list_data_package_identifiers() works ──
  Error in `read.table(file = file, header = header, sep = sep, quote = quote, 
      dec = dec, fill = fill, comment.char = comment.char, ...)`: no lines available in input
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_list_data_package_identifiers.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::list_data_package_identifiers("knb-lter-ble") at test_list_data_package_identifiers.R:5:5
   4.   └─EDIutils:::text2char(res)
   5.     └─utils::read.csv(...)
   6.       └─utils::read.table(...)
  ── Error ('test_list_data_package_revisions.R:6:5'): list_data_package_revisions() works ──
  Error in `read.table(file = file, header = header, sep = sep, quote = quote, 
      dec = dec, fill = fill, comment.char = comment.char, ...)`: no lines available in input
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_list_data_package_revisions.R:5:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::list_data_package_revisions("edi", "275") at test_list_data_package_revisions.R:6:5
   4.   └─EDIutils:::text2char(res)
   5.     └─utils::read.csv(...)
   6.       └─utils::read.table(...)
  ── Error ('test_list_data_package_scopes.R:5:5'): list_data_package_scopes() works ──
  Error in `read.table(file = file, header = header, sep = sep, quote = quote, 
      dec = dec, fill = fill, comment.char = comment.char, ...)`: no lines available in input
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_list_data_package_scopes.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::list_data_package_scopes("staging") at test_list_data_package_scopes.R:5:5
   4.   └─EDIutils:::text2char(res)
   5.     └─utils::read.csv(...)
   6.       └─utils::read.table(...)
  ── Error ('test_list_data_sources.R:5:5'): list_data_sources() works ───────────
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_list_data_sources.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::list_data_sources("edi.275.4", as = "xml") at test_list_data_sources.R:5:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_list_deleted_data_packages.R:5:5'): list_deleted_data_packages() works ──
  Error in `read.table(file = file, header = header, sep = sep, quote = quote, 
      dec = dec, fill = fill, comment.char = comment.char, ...)`: no lines available in input
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_list_deleted_data_packages.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::list_deleted_data_packages() at test_list_deleted_data_packages.R:5:5
   4.   └─EDIutils:::text2char(res)
   5.     └─utils::read.csv(...)
   6.       └─utils::read.table(...)
  ── Error ('test_list_principal_owner_citations.R:6:5'): list_principal_owner_citations() works ──
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_list_principal_owner_citations.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::list_principal_owner_citations(principalOwner, as = "xml") at test_list_principal_owner_citations.R:6:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_list_recent_uploads.R:5:5'): list_recent_uploads() works ───────
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_list_recent_uploads.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::list_recent_uploads(type = "update", limit = 5, as = "xml") at test_list_recent_uploads.R:5:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_list_reservation_identifiers.R:5:5'): list_reservation_identifiers() works ──
  Error in `read.table(file = file, header = header, sep = sep, quote = quote, 
      dec = dec, fill = fill, comment.char = comment.char, ...)`: no lines available in input
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_list_reservation_identifiers.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::list_reservation_identifiers("edi") at test_list_reservation_identifiers.R:5:5
   4.   └─EDIutils:::text2char(res)
   5.     └─utils::read.csv(...)
   6.       └─utils::read.table(...)
  ── Error ('test_list_service_methods.R:5:5'): list_service_methods() works ─────
  Error in `read.table(file = file, header = header, sep = sep, quote = quote, 
      dec = dec, fill = fill, comment.char = comment.char, ...)`: no lines available in input
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_list_service_methods.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::list_service_methods() at test_list_service_methods.R:5:5
   4.   └─EDIutils:::text2char(res)
   5.     └─utils::read.csv(...)
   6.       └─utils::read.table(...)
  ── Error ('test_list_user_data_packages.R:5:5'): list_user_data_packages() works ──
  Error in `read.table(file = file, header = header, sep = sep, quote = quote, 
      dec = dec, fill = fill, comment.char = comment.char, ...)`: no lines available in input
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_list_user_data_packages.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::list_user_data_packages(...) at test_list_user_data_packages.R:5:5
   4.   └─EDIutils:::text2char(res)
   5.     └─utils::read.csv(...)
   6.       └─utils::read.table(...)
  ── Error ('test_list_working_on.R:5:5'): list_working_on() works ───────────────
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_list_working_on.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::list_working_on(as = "xml", "staging") at test_list_working_on.R:5:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_query_event_subscriptions.R:5:5'): query_event_subscriptions() works ──
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_query_event_subscriptions.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::query_event_subscriptions(...) at test_query_event_subscriptions.R:5:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_read_data_entity_name.R:7:5'): read_data_entity_name() works ───
  Error in `read.table(file = file, header = header, sep = sep, quote = quote, 
      dec = dec, fill = fill, comment.char = comment.char, ...)`: no lines available in input
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_read_data_entity_name.R:6:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::read_data_entity_name(packageId, entityId) at test_read_data_entity_name.R:7:5
   4.   └─EDIutils:::text2char(res)
   5.     └─utils::read.csv(...)
   6.       └─utils::read.table(...)
  ── Error ('test_read_data_entity_names.R:6:5'): read_data_entity_names() works ──
  Error in `names(df) <- c("entityId", "entityName")`: 'names' attribute [2] must be the same length as the vector [0]
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_read_data_entity_names.R:5:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::read_data_entity_names(packageId) at test_read_data_entity_names.R:6:5
  ── Error ('test_read_data_entity_resource_metadata.R:7:5'): read_data_entity_resource_metadata() works ──
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_read_data_entity_resource_metadata.R:6:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::read_data_entity_resource_metadata(...) at test_read_data_entity_resource_metadata.R:7:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_read_data_entity_size.R:7:5'): read_data_entity_size() works ───
  Error in `read.table(file = file, header = header, sep = sep, quote = quote, 
      dec = dec, fill = fill, comment.char = comment.char, ...)`: no lines available in input
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_read_data_entity_size.R:6:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::read_data_entity_size(packageId, entityId) at test_read_data_entity_size.R:7:5
   4.   └─EDIutils:::text2char(res)
   5.     └─utils::read.csv(...)
   6.       └─utils::read.table(...)
  ── Error ('test_read_data_entity_sizes.R:6:5'): read_data_entity_sizes() works ──
  Error in `read.table(file = file, header = header, sep = sep, quote = quote, 
      dec = dec, fill = fill, comment.char = comment.char, ...)`: no lines available in input
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_read_data_entity_sizes.R:5:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::read_data_entity_sizes(packageId) at test_read_data_entity_sizes.R:6:5
   4.   └─utils::read.csv(text = res, as.is = TRUE, header = FALSE)
   5.     └─utils::read.table(...)
  ── Error ('test_read_data_package.R:5:5'): read_data_package() works ───────────
  Error in `read.table(file = file, header = header, sep = sep, quote = quote, 
      dec = dec, fill = fill, comment.char = comment.char, ...)`: no lines available in input
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_read_data_package.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::read_data_package("knb-lter-cwt.5026.13") at test_read_data_package.R:5:5
   4.   └─EDIutils:::text2char(res)
   5.     └─utils::read.csv(...)
   6.       └─utils::read.table(...)
  ── Error ('test_read_data_package.R:13:5'): read_data_package(..., ore = TRUE) works ──
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_read_data_package.R:12:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::read_data_package("knb-lter-cwt.5026.13", ore = TRUE) at test_read_data_package.R:13:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_read_data_package_citation.R:12:5'): read_data_package_citation() works ──
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
       ▆
    1. ├─vcr::use_cassette(...) at test_read_data_package_citation.R:11:3
    2. │ └─cassette$call_block(...)
    3. └─EDIutils::read_data_package_citation(packageId, as = "html") at test_read_data_package_citation.R:12:5
    4.   ├─xml2::read_html(res)
    5.   └─xml2:::read_html.default(res)
    6.     ├─base::suppressWarnings(...)
    7.     │ └─base::withCallingHandlers(...)
    8.     ├─xml2::read_xml(x, encoding = encoding, ..., as_html = TRUE, options = options)
    9.     └─xml2:::read_xml.character(...)
   10.       └─xml2:::path_to_connection(x)
   11.         └─xml2:::check_path(path)
   12.           └─cli::cli_abort(msg, call = call)
   13.             └─rlang::abort(...)
  ── Error ('test_read_data_package_doi.R:5:5'): read_data_package_doi() works ───
  Error in `read.table(file = file, header = header, sep = sep, quote = quote, 
      dec = dec, fill = fill, comment.char = comment.char, ...)`: no lines available in input
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_read_data_package_doi.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::read_data_package_doi("knb-lter-jrn.210548103.15") at test_read_data_package_doi.R:5:5
   4.   └─EDIutils:::text2char(res)
   5.     └─utils::read.csv(...)
   6.       └─utils::read.table(...)
  ── Error ('test_read_data_package_error.R:6:5'): read_data_package_error() works ──
  Error: 
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_read_data_package_error.R:5:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::read_data_package_error(transaction) at test_read_data_package_error.R:6:5
  ── Error ('test_read_data_package_from_doi.R:7:5'): read_data_package_from_doi() works ──
  Error in `read.table(file = file, header = header, sep = sep, quote = quote, 
      dec = dec, fill = fill, comment.char = comment.char, ...)`: no lines available in input
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_read_data_package_from_doi.R:6:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::read_data_package_from_doi(doi = "doi:10.6073/pasta/b202c11db7c64943f6b4ed9f8c17fb25") at test_read_data_package_from_doi.R:7:5
   4.   └─EDIutils:::text2char(res)
   5.     └─utils::read.csv(...)
   6.       └─utils::read.table(...)
  ── Error ('test_read_data_package_report.R:6:5'): read_data_package_report() works ──
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_read_data_package_report.R:5:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::read_data_package_report("knb-lter-knz.260.4") at test_read_data_package_report.R:6:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_read_data_package_report_resource_metadata.R:5:5'): read_data_package_report_resource_metadata() works ──
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_read_data_package_report_resource_metadata.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::read_data_package_report_resource_metadata(...) at test_read_data_package_report_resource_metadata.R:5:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_read_data_package_report_summary.R:6:5'): read_data_package_report_summary() works ──
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
       ▆
    1. ├─vcr::use_cassette(...) at test_read_data_package_report_summary.R:5:3
    2. │ └─cassette$call_block(...)
    3. ├─testthat::expect_message(...) at test_read_data_package_report_summary.R:6:5
    4. │ └─testthat:::quasi_capture(enquo(object), label, capture_messages)
    5. │   ├─testthat (local) .capture(...)
    6. │   │ └─base::withCallingHandlers(...)
    7. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    8. └─EDIutils::read_data_package_report_summary(...)
    9.   └─EDIutils::read_data_package_report(packageId, env = env)
   10.     ├─xml2::read_xml(res)
   11.     └─xml2:::read_xml.character(res)
   12.       └─xml2:::path_to_connection(x)
   13.         └─xml2:::check_path(path)
   14.           └─cli::cli_abort(msg, call = call)
   15.             └─rlang::abort(...)
  ── Error ('test_read_data_package_resource_metadata.R:6:5'): read_data_package_resource_metadata() works ──
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_read_data_package_resource_metadata.R:5:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::read_data_package_resource_metadata(packageId, as = "xml") at test_read_data_package_resource_metadata.R:6:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_read_evaluate_report.R:7:5'): read_evaluate_report() works ─────
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_read_evaluate_report.R:6:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::read_evaluate_report(transaction, env = "staging") at test_read_evaluate_report.R:7:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_read_metadata.R:5:5'): read_metadata() works ───────────────────
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_read_metadata.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::read_metadata("edi.100.1") at test_read_metadata.R:5:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_read_metadata_entity.R:7:5'): read_metadata_entity() works ─────
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
       ▆
    1. ├─vcr::use_cassette(...) at test_read_metadata_entity.R:6:3
    2. │ └─cassette$call_block(...)
    3. └─EDIutils::read_metadata_entity(packageId, entityId) at test_read_metadata_entity.R:7:5
    4.   └─EDIutils::read_metadata(packageId, env)
    5.     ├─xml2::read_xml(res)
    6.     └─xml2:::read_xml.character(res)
    7.       └─xml2:::path_to_connection(x)
    8.         └─xml2:::check_path(path)
    9.           └─cli::cli_abort(msg, call = call)
   10.             └─rlang::abort(...)
  ── Error ('test_read_metadata_format.R:5:5'): read_metadata_format() works ─────
  Error in `read.table(file = file, header = header, sep = sep, quote = quote, 
      dec = dec, fill = fill, comment.char = comment.char, ...)`: no lines available in input
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_read_metadata_format.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::read_metadata_format("knb-lter-nwt.930.1") at test_read_metadata_format.R:5:5
   4.   └─EDIutils:::text2char(res)
   5.     └─utils::read.csv(...)
   6.       └─utils::read.table(...)
  ── Error ('test_read_metadata_resource_metadata.R:5:5'): read_metadata_resource_metadata() works ──
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_read_metadata_resource_metadata.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::read_metadata_resource_metadata(...) at test_read_metadata_resource_metadata.R:5:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_read_metdata_dublin_core.R:5:5'): read_metadata_dublin_core() works ──
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_read_metdata_dublin_core.R:4:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::read_metadata_dublin_core("knb-lter-nes.10.1") at test_read_metdata_dublin_core.R:5:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_search_data_packages.R:6:5'): search_data_packages() works ─────
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_search_data_packages.R:5:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::search_data_packages(query, as = "xml") at test_search_data_packages.R:6:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_utilities.R:67:5'): report2char() works ────────────────────────
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_utilities.R:66:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::read_evaluate_report(transaction, env = "staging") at test_utilities.R:67:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  ── Error ('test_utilities.R:92:5'): xml2df() works ─────────────────────────────
  Error in `path_to_connection(x)`: '' does not exist in current working directory
  ('d:/Rcompile/CRANpkg/local/4.5/EDIutils.Rcheck/tests/testthat').
  Backtrace:
      ▆
   1. ├─vcr::use_cassette(...) at test_utilities.R:91:3
   2. │ └─cassette$call_block(...)
   3. └─EDIutils::read_data_package_report_resource_metadata(...) at test_utilities.R:92:5
   4.   ├─xml2::read_xml(res)
   5.   └─xml2:::read_xml.character(res)
   6.     └─xml2:::path_to_connection(x)
   7.       └─xml2:::check_path(path)
   8.         └─cli::cli_abort(msg, call = call)
   9.           └─rlang::abort(...)
  
  [ FAIL 51 | WARN 0 | SKIP 17 | PASS 27 ]
  Error: Test failures
  Execution halted