Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(educationdata)
  > 
  > test_check("educationdata")
  [ FAIL 10 | WARN 0 | SKIP 0 | PASS 9 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-api.R:7:3): api returns consistent results ──────────────────────
  Error: API currently unavailable. Please try again later.
  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)
  ── Error (test-csv.R:4:3): csv returns same results as api ─────────────────────
  Error: API currently unavailable. Please try again later.
  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)
  ── Error (test-csv.R:30:3): ipeds filters properly parsed when pulling from csv ──
  Error: API currently unavailable. Please try again later.
  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)
  ── Error (test-csv.R:57:3): ccd filters properly parsed when pulling from csv ──
  Error: API currently unavailable. Please try again later.
  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)
  ── Error (test-csv.R:82:3): edfacts filters properly parsed when pulling from csv ──
  Error: API currently unavailable. Please try again later.
  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)
  ── Error (test-summary-endpoints.R:5:3): basic summary endpoints function call returns results ──
  Error in `get_education_data_summary(level = "schools", source = "ccd", 
      topic = "enrollment", stat = "sum", var = "enrollment", by = "fips")`: Sorry, but there was an error processing your request.
  Backtrace:
      ▆
   1. └─educationdata::get_education_data_summary(...) at test-summary-endpoints.R:5:2
  ── Error (test-summary-endpoints.R:22:3): summary endpoints function call handles subtopics ──
  Error in `get_education_data_summary(level = "schools", source = "crdc", 
      topic = "harassment-or-bullying", subtopic = "allegations", 
      stat = "sum", var = "allegations_harass_sex", by = "fips")`: Sorry, but there was an error processing your request.
  Backtrace:
      ▆
   1. └─educationdata::get_education_data_summary(...) at test-summary-endpoints.R:22:2
  ── Error (test-summary-endpoints.R:42:3): summary endpoints function handles multiple group_by vars ──
  Error in `get_education_data_summary(level = "schools", source = "ccd", 
      topic = "enrollment", stat = "sum", var = "enrollment", by = by)`: Sorry, but there was an error processing your request.
  Backtrace:
      ▆
   1. └─educationdata::get_education_data_summary(...) at test-summary-endpoints.R:42:2
  ── Error (test-summary-endpoints.R:65:3): summary endpoints function handles filters correctly ──
  Error in `get_education_data_summary(level = "schools", source = "ccd", 
      topic = "enrollment", stat = "sum", var = "enrollment", by = "fips", 
      filters = filters)`: Sorry, but there was an error processing your request.
  Backtrace:
      ▆
   1. └─educationdata::get_education_data_summary(...) at test-summary-endpoints.R:65:2
  ── Error (test-validation.R:29:3): invalid api arguments return an error message ──
  Error: API currently unavailable. Please try again later.
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(...) at test-validation.R:29:2
   2. │ └─testthat:::quasi_capture(enquo(object), label, capture_warnings)
   3. │   ├─testthat (local) .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)
  
  [ FAIL 10 | WARN 0 | SKIP 0 | PASS 9 ]
  Error: Test failures
  Execution halted