Running ‘testthat.R’ [2s/28s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(educationdata)
  > 
  > test_check("educationdata")
  [ FAIL 8 | WARN 0 | SKIP 0 | PASS 16 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-api.R:7:3): api returns consistent results ──────────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: GnuTLS recv error (-9): Error decoding the received TLS packet.
  Backtrace:
      ▆
   1. └─educationdata::get_education_data(...) at test-api.R:7:2
   2.   └─educationdata:::get_education_data_json(...)
   3.     └─educationdata:::validate_function_args(...)
   4.       └─educationdata:::get_endpoint_info(url_path)
   5.         └─httr::GET(url)
   6.           └─httr:::request_perform(req, hu$handle$handle)
   7.             ├─httr:::request_fetch(req$output, req$url, handle)
   8.             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   9.               └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test-csv.R:4:3): csv returns same results as api ─────────────────────
  Error in `curl::curl_fetch_memory(url, handle = handle)`: GnuTLS recv error (-9): Error decoding the received TLS packet.
  Backtrace:
      ▆
   1. └─educationdata::get_education_data(...) at test-csv.R:4:2
   2.   └─educationdata:::get_education_data_json(...)
   3.     └─educationdata:::validate_function_args(...)
   4.       └─educationdata:::get_endpoint_info(url_path)
   5.         └─httr::GET(url)
   6.           └─httr:::request_perform(req, hu$handle$handle)
   7.             ├─httr:::request_fetch(req$output, req$url, handle)
   8.             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   9.               └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test-csv.R:30:3): ipeds filters properly parsed when pulling from csv ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: GnuTLS recv error (-9): Error decoding the received TLS packet.
  Backtrace:
      ▆
   1. └─educationdata::get_education_data(...) at test-csv.R:30:2
   2.   └─educationdata:::get_education_data_csv(...)
   3.     └─educationdata:::validate_function_args(...)
   4.       └─educationdata:::get_endpoint_info(url_path)
   5.         └─httr::GET(url)
   6.           └─httr:::request_perform(req, hu$handle$handle)
   7.             ├─httr:::request_fetch(req$output, req$url, handle)
   8.             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   9.               └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test-csv.R:57:3): ccd filters properly parsed when pulling from csv ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: GnuTLS recv error (-9): Error decoding the received TLS packet.
  Backtrace:
      ▆
   1. └─educationdata::get_education_data(...) at test-csv.R:57:2
   2.   └─educationdata:::get_education_data_json(...)
   3.     └─educationdata:::validate_function_args(...)
   4.       └─educationdata:::get_endpoint_info(url_path)
   5.         └─httr::GET(url)
   6.           └─httr:::request_perform(req, hu$handle$handle)
   7.             ├─httr:::request_fetch(req$output, req$url, handle)
   8.             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   9.               └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test-csv.R:82:3): edfacts filters properly parsed when pulling from csv ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: GnuTLS recv error (-9): Error decoding the received TLS packet.
  Backtrace:
      ▆
   1. └─educationdata::get_education_data(...) at test-csv.R:82:2
   2.   └─educationdata:::get_education_data_json(...)
   3.     └─educationdata:::validate_function_args(...)
   4.       └─educationdata:::get_endpoint_info(url_path)
   5.         └─httr::GET(url)
   6.           └─httr:::request_perform(req, hu$handle$handle)
   7.             ├─httr:::request_fetch(req$output, req$url, handle)
   8.             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   9.               └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test-summary-endpoints.R:5:3): basic summary endpoints function call returns results ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: GnuTLS recv error (-9): Error decoding the received TLS packet.
  Backtrace:
      ▆
   1. └─educationdata::get_education_data_summary(...) at test-summary-endpoints.R:5:2
   2.   └─httr::GET(url)
   3.     └─httr:::request_perform(req, hu$handle$handle)
   4.       ├─httr:::request_fetch(req$output, req$url, handle)
   5.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   6.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test-summary-endpoints.R:42:3): summary endpoints function handles multiple group_by vars ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: GnuTLS recv error (-9): Error decoding the received TLS packet.
  Backtrace:
      ▆
   1. └─educationdata::get_education_data_summary(...) at test-summary-endpoints.R:42:2
   2.   └─httr::GET(url)
   3.     └─httr:::request_perform(req, hu$handle$handle)
   4.       ├─httr:::request_fetch(req$output, req$url, handle)
   5.       └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   6.         └─curl::curl_fetch_memory(url, handle = handle)
  ── Error (test-validation.R:25:3): invalid api arguments return an error message ──
  Error in `curl::curl_fetch_memory(url, handle = handle)`: GnuTLS recv error (-9): Error decoding the received TLS packet.
  Backtrace:
       ▆
    1. ├─testthat::expect_warning(...) at test-validation.R:25:2
    2. │ └─testthat:::quasi_capture(enquo(object), label, capture_warnings)
    3. │   ├─testthat .capture(...)
    4. │   │ └─base::withCallingHandlers(...)
    5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    6. └─educationdata::get_education_data(...)
    7.   └─educationdata:::get_education_data_json(...)
    8.     └─educationdata:::validate_function_args(...)
    9.       └─educationdata:::get_endpoint_info(url_path)
   10.         └─httr::GET(url)
   11.           └─httr:::request_perform(req, hu$handle$handle)
   12.             ├─httr:::request_fetch(req$output, req$url, handle)
   13.             └─httr:::request_fetch.write_memory(req$output, req$url, handle)
   14.               └─curl::curl_fetch_memory(url, handle = handle)
  
  [ FAIL 8 | WARN 0 | SKIP 0 | PASS 16 ]
  Error: Test failures
  Execution halted