Running ‘test-all.R’ [4s/10s]
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. Error: One Shot: Bad Uri -Not HTTPS (@test-read-errors.R#9)  ─────────────
  server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
    1. testthat::expect_message(...)
    6. REDCapR::redcap_read_oneshot(...)
    7. REDCapR:::kernel_api(redcap_uri, post_body, config_options)
    8. httr::POST(url = redcap_uri, body = post_body, config = config_options)
    9. httr:::request_perform(req, hu$handle$handle)
   11. httr:::request_fetch.write_memory(req$output, req$url, handle)
   12. curl::curl_fetch_memory(url, handle = handle)
  
  ── 2. Error: One Shot: Bad Uri -wrong address (@test-read-errors.R#29)  ────────
  server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
    1. testthat::expect_message(...)
    6. REDCapR::redcap_read_oneshot(...)
    7. REDCapR:::kernel_api(redcap_uri, post_body, config_options)
    8. httr::POST(url = redcap_uri, body = post_body, config = config_options)
    9. httr:::request_perform(req, hu$handle$handle)
   11. httr:::request_fetch.write_memory(req$output, req$url, handle)
   12. curl::curl_fetch_memory(url, handle = handle)
  
  ── 3. Error: Batch: Bad Uri -Not HTTPS (@test-read-errors.R#48)  ───────────────
  server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
    1. testthat::expect_message(...)
    6. REDCapR::redcap_read(...)
    7. REDCapR::redcap_metadata_read(...)
    8. REDCapR:::kernel_api(redcap_uri, post_body, config_options)
    9. httr::POST(url = redcap_uri, body = post_body, config = config_options)
   10. httr:::request_perform(req, hu$handle$handle)
   12. httr:::request_fetch.write_memory(req$output, req$url, handle)
   13. curl::curl_fetch_memory(url, handle = handle)
  
  ── 4. Error: Batch: Bad Uri -wrong address (@test-read-errors.R#67)  ───────────
  server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
    1. testthat::expect_message(...)
    6. REDCapR::redcap_read(...)
    7. REDCapR::redcap_metadata_read(...)
    8. REDCapR:::kernel_api(redcap_uri, post_body, config_options)
    9. httr::POST(url = redcap_uri, body = post_body, config = config_options)
   10. httr:::request_perform(req, hu$handle$handle)
   12. httr:::request_fetch.write_memory(req$output, req$url, handle)
   13. curl::curl_fetch_memory(url, handle = handle)
  
  ── 5. Error: guess_max deprecated -warn (@test-read-errors.R#96)  ──────────────
  server certificate verification failed. CAfile: none CRLfile: none
  Backtrace:
    1. testthat::expect_warning(...)
    6. REDCapR::redcap_read(...)
    7. REDCapR::redcap_metadata_read(...)
    8. REDCapR:::kernel_api(redcap_uri, post_body, config_options)
    9. httr::POST(url = redcap_uri, body = post_body, config = config_options)
   10. httr:::request_perform(req, hu$handle$handle)
   12. httr:::request_fetch.write_memory(req$output, req$url, handle)
   13. curl::curl_fetch_memory(url, handle = handle)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 105 | SKIPPED: 99 | WARNINGS: 0 | FAILED: 5 ]
  1. Error: One Shot: Bad Uri -Not HTTPS (@test-read-errors.R#9) 
  2. Error: One Shot: Bad Uri -wrong address (@test-read-errors.R#29) 
  3. Error: Batch: Bad Uri -Not HTTPS (@test-read-errors.R#48) 
  4. Error: Batch: Bad Uri -wrong address (@test-read-errors.R#67) 
  5. Error: guess_max deprecated -warn (@test-read-errors.R#96) 
  
  Error: testthat unit tests failed
  Execution halted