Running ‘test-all.R’ [3s/14s]
Running the tests in ‘tests/test-all.R’ failed.
Complete output:
  > #Modeled after the R6 testing structure: https://github.com/wch/R6/blob/master/tests/testthat.R
  > library(testthat)
  > library(REDCapR)
  > 
  > testthat::test_check("REDCapR")
  ── 1. Failure: One Shot: Bad Uri -Not HTTPS (@test-read-errors.R#18)  ──────────
  An empty data.frame should be returned. not equal to data.frame().
  names for target but not for current
  Attributes: < Component "row.names": Numeric: lengths (21, 0) differ >
  Length mismatch: comparison on first 0 components
  
  ── 2. Failure: One Shot: Bad Uri -Not HTTPS (@test-read-errors.R#19)  ──────────
  returned_object$status_code %in% c(411L, 501L) isn't true.
  
  ── 3. Failure: One Shot: Bad Uri -Not HTTPS (@test-read-errors.R#20)  ──────────
  returned_object$raw_text %in% c(expected_message_411, expected_message_501) isn't true.
  
  ── 4. Failure: One Shot: Bad Uri -Not HTTPS (@test-read-errors.R#24)  ──────────
  returned_object$success isn't false.
  
  ── 5. Failure: Batch: Bad Uri -Not HTTPS (@test-read-errors.R#61)  ─────────────
  An empty data.frame should be returned. not equal to data.frame().
  names for target but not for current
  Attributes: < Component "row.names": Numeric: lengths (21, 0) differ >
  Length mismatch: comparison on first 0 components
  
  ── 6. Failure: Batch: Bad Uri -Not HTTPS (@test-read-errors.R#62)  ─────────────
  returned_object$status_code %in% c(411L, 501L) isn't true.
  
  ── 7. Failure: Batch: Bad Uri -Not HTTPS (@test-read-errors.R#63)  ─────────────
  returned_object$records_collapsed not equal to "failed in initial batch call".
  1/1 mismatches
  x[1]: ""
  y[1]: "failed in initial batch call"
  
  ── 8. Failure: Batch: Bad Uri -Not HTTPS (@test-read-errors.R#64)  ─────────────
  returned_object$fields_collapsed not equal to "failed in initial batch call".
  1/1 mismatches
  x[1]: ""
  y[1]: "failed in initial batch call"
  
  ── 9. Failure: Batch: Bad Uri -Not HTTPS (@test-read-errors.R#65)  ─────────────
  returned_object\$outcome_messages does not match "The initial call failed with the code: (411|501).".
  Actual value: "21 records and 1 columns were read from REDCap in 1\.8 seconds\.  The http status code was 200\."
  
  ── 10. Failure: Batch: Bad Uri -Not HTTPS (@test-read-errors.R#66)  ────────────
  returned_object$success isn't false.
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 111 SKIPPED: 48 WARNINGS: 0 FAILED: 10
  1.  Failure: One Shot: Bad Uri -Not HTTPS (@test-read-errors.R#18) 
  2.  Failure: One Shot: Bad Uri -Not HTTPS (@test-read-errors.R#19) 
  3.  Failure: One Shot: Bad Uri -Not HTTPS (@test-read-errors.R#20) 
  4.  Failure: One Shot: Bad Uri -Not HTTPS (@test-read-errors.R#24) 
  5.  Failure: Batch: Bad Uri -Not HTTPS (@test-read-errors.R#61) 
  6.  Failure: Batch: Bad Uri -Not HTTPS (@test-read-errors.R#62) 
  7.  Failure: Batch: Bad Uri -Not HTTPS (@test-read-errors.R#63) 
  8.  Failure: Batch: Bad Uri -Not HTTPS (@test-read-errors.R#64) 
  9.  Failure: Batch: Bad Uri -Not HTTPS (@test-read-errors.R#65) 
  10. Failure: Batch: Bad Uri -Not HTTPS (@test-read-errors.R#66) 
  
  Error: testthat unit tests failed
  Execution halted