Running 'testthat.R' [17s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library("testthat")
  > test_check("magmaR")
  Loading required package: magmaR
  Data recieved:
                 tube_name cell_number fraction
  1  EXAMPLE-HS10-WB1-RSQ1       50000   Tcells
  2  EXAMPLE-HS11-WB1-RSQ1       50000   Tcells
  3  EXAMPLE-HS12-WB1-RSQ1       50000   Tcells
  4   EXAMPLE-HS1-WB1-RSQ1       50000   Tcells
  5   EXAMPLE-HS2-WB1-RSQ1       50000   Tcells
  6   EXAMPLE-HS3-WB1-RSQ1       50000   Tcells
  7   EXAMPLE-HS4-WB1-RSQ1       50000   Tcells
  8   EXAMPLE-HS5-WB1-RSQ1       50000   Tcells
  9   EXAMPLE-HS6-WB1-RSQ1       50000   Tcells
  10  EXAMPLE-HS7-WB1-RSQ1       50000   Tcells
  11  EXAMPLE-HS8-WB1-RSQ1       50000   Tcells
  12  EXAMPLE-HS9-WB1-RSQ1       50000   Tcells
  Data recieved:
                 tube_name cell_number fraction
  1  EXAMPLE-HS10-WB1-RSQ1       50000   Tcells
  2  EXAMPLE-HS11-WB1-RSQ1       50000   Tcells
  3  EXAMPLE-HS12-WB1-RSQ1       50000   Tcells
  4   EXAMPLE-HS1-WB1-RSQ1       50000   Tcells
  5   EXAMPLE-HS2-WB1-RSQ1       50000   Tcells
  6   EXAMPLE-HS3-WB1-RSQ1       50000   Tcells
  7   EXAMPLE-HS4-WB1-RSQ1       50000   Tcells
  8   EXAMPLE-HS5-WB1-RSQ1       50000   Tcells
  9   EXAMPLE-HS6-WB1-RSQ1       50000   Tcells
  10  EXAMPLE-HS7-WB1-RSQ1       50000   Tcells
  11  EXAMPLE-HS8-WB1-RSQ1       50000   Tcells
  12  EXAMPLE-HS9-WB1-RSQ1       50000   Tcells
  Data recieved:
                 tube_name cell_number fraction
  1  EXAMPLE-HS10-WB1-RSQ1       50000   Tcells
  2  EXAMPLE-HS11-WB1-RSQ1       50000   Tcells
  3  EXAMPLE-HS12-WB1-RSQ1       50000   Tcells
  4   EXAMPLE-HS1-WB1-RSQ1       50000   Tcells
  5   EXAMPLE-HS2-WB1-RSQ1       50000   Tcells
  6   EXAMPLE-HS3-WB1-RSQ1       50000   Tcells
  7   EXAMPLE-HS4-WB1-RSQ1       50000   Tcells
  8   EXAMPLE-HS5-WB1-RSQ1       50000   Tcells
  9   EXAMPLE-HS6-WB1-RSQ1       50000   Tcells
  10  EXAMPLE-HS7-WB1-RSQ1       50000   Tcells
  11  EXAMPLE-HS8-WB1-RSQ1       50000   Tcells
  12  EXAMPLE-HS9-WB1-RSQ1       50000   Tcells
  Data recieved:
                        id cell_number fraction
  1  EXAMPLE-HS10-WB1-RSQ1       50000   Tcells
  2  EXAMPLE-HS11-WB1-RSQ1       50000   Tcells
  3  EXAMPLE-HS12-WB1-RSQ1       50000   Tcells
  4   EXAMPLE-HS1-WB1-RSQ1       50000   Tcells
  5   EXAMPLE-HS2-WB1-RSQ1       50000   Tcells
  6   EXAMPLE-HS3-WB1-RSQ1       50000   Tcells
  7   EXAMPLE-HS4-WB1-RSQ1       50000   Tcells
  8   EXAMPLE-HS5-WB1-RSQ1       50000   Tcells
  9   EXAMPLE-HS6-WB1-RSQ1       50000   Tcells
  10  EXAMPLE-HS7-WB1-RSQ1       50000   Tcells
  11  EXAMPLE-HS8-WB1-RSQ1       50000   Tcells
  12  EXAMPLE-HS9-WB1-RSQ1       50000   Tcells
  For model "rna_seq", this update() will update 12 records:
      EXAMPLE-HS10-WB1-RSQ1
      EXAMPLE-HS11-WB1-RSQ1
      EXAMPLE-HS12-WB1-RSQ1
      EXAMPLE-HS1-WB1-RSQ1
      EXAMPLE-HS2-WB1-RSQ1
      EXAMPLE-HS3-WB1-RSQ1
      EXAMPLE-HS4-WB1-RSQ1
      EXAMPLE-HS5-WB1-RSQ1
      EXAMPLE-HS6-WB1-RSQ1
      EXAMPLE-HS7-WB1-RSQ1
      EXAMPLE-HS8-WB1-RSQ1
      EXAMPLE-HS9-WB1-RSQ1
  Proceed, Y/n? 
  Data recieved:
                 tube_name cell_number fraction
  1  EXAMPLE-HS10-WB1-RSQ1       50000   Tcells
  2  EXAMPLE-HS11-WB1-RSQ1       50000   Tcells
  3  EXAMPLE-HS12-WB1-RSQ1       50000   Tcells
  4   EXAMPLE-HS1-WB1-RSQ1       50000   Tcells
  5   EXAMPLE-HS2-WB1-RSQ1       50000   Tcells
  6   EXAMPLE-HS3-WB1-RSQ1       50000   Tcells
  7   EXAMPLE-HS4-WB1-RSQ1       50000   Tcells
  8   EXAMPLE-HS5-WB1-RSQ1       50000   Tcells
  9   EXAMPLE-HS6-WB1-RSQ1       50000   Tcells
  10  EXAMPLE-HS7-WB1-RSQ1       50000   Tcells
  11  EXAMPLE-HS8-WB1-RSQ1       50000   Tcells
  12  EXAMPLE-HS9-WB1-RSQ1       50000   Tcells
  For model "rna_seq", this update() will update 12 records:
      EXAMPLE-HS10-WB1-RSQ1
      EXAMPLE-HS11-WB1-RSQ1
      EXAMPLE-HS12-WB1-RSQ1
      EXAMPLE-HS1-WB1-RSQ1
      EXAMPLE-HS2-WB1-RSQ1
      EXAMPLE-HS3-WB1-RSQ1
      EXAMPLE-HS4-WB1-RSQ1
      EXAMPLE-HS5-WB1-RSQ1
      EXAMPLE-HS6-WB1-RSQ1
      EXAMPLE-HS7-WB1-RSQ1
      EXAMPLE-HS8-WB1-RSQ1
      EXAMPLE-HS9-WB1-RSQ1
  Proceed, Y/n? 
  For model "rna_seq", this update() will update 12 records:
      EXAMPLE-HS10-WB1-RSQ1
      EXAMPLE-HS11-WB1-RSQ1
      EXAMPLE-HS12-WB1-RSQ1
      EXAMPLE-HS1-WB1-RSQ1
      EXAMPLE-HS2-WB1-RSQ1
      EXAMPLE-HS3-WB1-RSQ1
      EXAMPLE-HS4-WB1-RSQ1
      EXAMPLE-HS5-WB1-RSQ1
      EXAMPLE-HS6-WB1-RSQ1
      EXAMPLE-HS7-WB1-RSQ1
      EXAMPLE-HS8-WB1-RSQ1
      EXAMPLE-HS9-WB1-RSQ1
  Proceed, Y/n? 
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 57 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-token-url.R:32'): (code run outside of `test_that()`) ──────────
  Error in `vapply(interactions, function(x) {
      sprintf("%s => %s", request_summary(Request$new()$from_hash(x$request)), 
          response_summary(VcrResponse$new()$from_hash(x$response)))
  }, "")`: values must be length 1,
   but FUN(X[[1]]) result is length 0
  Backtrace:
      ▆
   1. └─vcr::use_cassette(...) at test-token-url.R:32:0
   2.   └─vcr::insert_cassette(...)
   3.     └─Cassette$new(...)
   4.       └─vcr (local) initialize(...)
   5.         └─self$http_interactions()
   6.           └─HTTPInteractionList$new(...)
   7.             └─vcr (local) initialize(...)
   8.               └─base::vapply(...)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 57 ]
  Error: Test failures
  Execution halted