Running ‘testthat.R’ [21s/32s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(EDIutils)
  > 
  > test_check("EDIutils")
  [ FAIL 4 | WARN 0 | SKIP 15 | PASS 146 ]
  
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  • Not run when logged out. Login with 'login()'. (12)
  • empty test (3)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_list_data_entities.R:5:3): list_data_entities() works ───────────
  Error in `substring(gsub("\n", " ", resp, useBytes = TRUE), 1, 80)`: invalid multibyte string, element 1
  Backtrace:
       ▆
    1. └─vcr::use_cassette(...) at test_list_data_entities.R:5:2
    2.   └─vcr::insert_cassette(...)
    3.     └─Cassette$new(...)
    4.       └─vcr initialize(...)
    5.         └─self$http_interactions()
    6.           └─HTTPInteractionList$new(...)
    7.             └─vcr initialize(...)
    8.               └─base::vapply(...)
    9.                 └─vcr FUN(X[[i]], ...)
   10.                   ├─base::sprintf(...)
   11.                   └─vcr::response_summary(VcrResponse$new()$from_hash(x$response))
   12.                     ├─base::sprintf(...)
   13.                     └─base::substring(gsub("\n", " ", resp, useBytes = TRUE), 1, 80)
  ── Error (test_read_data_entity_checksum.R:6:3): read_data_entity_checksum() works ──
  Error in `doTryCatch(return(expr), name, parentenv, handler)`: invalid multibyte string at '<db>f<f5><f3><dd>=<e5><b7>=k^<ba>s=<d5><ef>4o<ae><db>ٮ<b7><e9><e6><9e><eb>F<b8>'
  Backtrace:
       ▆
    1. └─vcr::use_cassette(...) at test_read_data_entity_checksum.R:6:2
    2.   └─vcr::insert_cassette(...)
    3.     └─Cassette$new(...)
    4.       └─vcr initialize(...)
    5.         └─self$http_interactions()
    6.           └─HTTPInteractionList$new(...)
    7.             └─vcr initialize(...)
    8.               └─base::vapply(...)
    9.                 └─vcr FUN(X[[i]], ...)
   10.                   ├─base::sprintf(...)
   11.                   ├─vcr::response_summary(VcrResponse$new()$from_hash(x$response))
   12.                   │ └─base::stopifnot(inherits(response, "VcrResponse"))
   13.                   └─VcrResponse$new()$from_hash(x$response)
   14.                     ├─VcrResponse$new(...)
   15.                     │ └─vcr initialize(...)
   16.                     │   └─base::inherits(body, "list")
   17.                     └─vcr:::body_from(hash[["body"]])
   18.                       └─vcr:::is_base64(x)
   19.                         └─base::tryCatch(as.numeric(x), warning = function(w) w)
   20.                           └─base tryCatchList(expr, classes, parentenv, handlers)
   21.                             └─base tryCatchOne(expr, names, parentenv, handlers[[1L]])
   22.                               └─base doTryCatch(return(expr), name, parentenv, handler)
  ── Error (test_read_data_package_report_checksum.R:4:3): read_data_package_report_checksum() works ──
  Error in `doTryCatch(return(expr), name, parentenv, handler)`: invalid multibyte string at '<f7><cd>m<fd><df><dd><c7><5b><ef><7f><79><f7><7d><db><ef><5d><5b><d3><4e><7b><db><6d><37><dd><b7>\w]<9f>'
  Backtrace:
       ▆
    1. └─vcr::use_cassette(...) at test_read_data_package_report_checksum.R:4:2
    2.   └─vcr::insert_cassette(...)
    3.     └─Cassette$new(...)
    4.       └─vcr initialize(...)
    5.         └─self$http_interactions()
    6.           └─HTTPInteractionList$new(...)
    7.             └─vcr initialize(...)
    8.               └─base::vapply(...)
    9.                 └─vcr FUN(X[[i]], ...)
   10.                   ├─base::sprintf(...)
   11.                   ├─vcr::response_summary(VcrResponse$new()$from_hash(x$response))
   12.                   │ └─base::stopifnot(inherits(response, "VcrResponse"))
   13.                   └─VcrResponse$new()$from_hash(x$response)
   14.                     ├─VcrResponse$new(...)
   15.                     │ └─vcr initialize(...)
   16.                     │   └─base::inherits(body, "list")
   17.                     └─vcr:::body_from(hash[["body"]])
   18.                       └─vcr:::is_base64(x)
   19.                         └─base::tryCatch(as.numeric(x), warning = function(w) w)
   20.                           └─base tryCatchList(expr, classes, parentenv, handlers)
   21.                             └─base tryCatchOne(expr, names, parentenv, handlers[[1L]])
   22.                               └─base doTryCatch(return(expr), name, parentenv, handler)
  ── Error (test_read_metadata_checksum.R:4:3): read_metadata_checksum() works ───
  Error in `substring(gsub("\n", " ", resp, useBytes = TRUE), 1, 80)`: invalid multibyte string, element 1
  Backtrace:
       ▆
    1. └─vcr::use_cassette(...) at test_read_metadata_checksum.R:4:2
    2.   └─vcr::insert_cassette(...)
    3.     └─Cassette$new(...)
    4.       └─vcr initialize(...)
    5.         └─self$http_interactions()
    6.           └─HTTPInteractionList$new(...)
    7.             └─vcr initialize(...)
    8.               └─base::vapply(...)
    9.                 └─vcr FUN(X[[i]], ...)
   10.                   ├─base::sprintf(...)
   11.                   └─vcr::response_summary(VcrResponse$new()$from_hash(x$response))
   12.                     ├─base::sprintf(...)
   13.                     └─base::substring(gsub("\n", " ", resp, useBytes = TRUE), 1, 80)
  
  [ FAIL 4 | WARN 0 | SKIP 15 | PASS 146 ]
  Error: Test failures
  Execution halted