Running ‘testthat.R’ [1s/3s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(rhymer)
  > 
  > test_check("rhymer")
  [ FAIL 8 | WARN 0 | SKIP 0 | PASS 1 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_rhymer.R:8:3'): get_rhyme returns dataframe of words ───────────
  Error: Datamuse API request failed [502]
  Backtrace:
      ▆
   1. └─rhymer::get_rhyme(WORD_TO_TEST, limit = 10) at test_rhymer.R:8:3
   2.   └─rhymer::get_content(...)
   3.     └─rhymer::datamuse_api(full_path, limit)
  ── Error ('test_rhymer.R:19:3'): get_rhyme with syllable argument works ────────
  Error: Datamuse API request failed [502]
  Backtrace:
      ▆
   1. └─rhymer::get_rhyme(WORD_TO_TEST, limit = 10, num_syl = 3) at test_rhymer.R:19:3
   2.   └─rhymer::get_content(...)
   3.     └─rhymer::datamuse_api(full_path, limit)
  ── Error ('test_rhymer.R:31:3'): get_means_like returns dataframe of words ─────
  Error: Datamuse API request failed [502]
  Backtrace:
      ▆
   1. └─rhymer::get_means_like(WORD_TO_TEST, limit = 10) at test_rhymer.R:31:3
   2.   └─rhymer::get_content(...)
   3.     └─rhymer::datamuse_api(full_path, limit)
  ── Error ('test_rhymer.R:42:3'): get_sounds_like returns dataframe of words ────
  Error: Datamuse API request failed [502]
  Backtrace:
      ▆
   1. └─rhymer::get_sounds_like(WORD_TO_TEST, limit = 10) at test_rhymer.R:42:3
   2.   └─rhymer::get_content(...)
   3.     └─rhymer::datamuse_api(full_path, limit)
  ── Error ('test_rhymer.R:58:3'): get_spelled_like returns dataframe of words ───
  Error: Datamuse API request failed [502]
  Backtrace:
      ▆
   1. └─rhymer::get_spelled_like(WORD_TO_TEST, limit = 10) at test_rhymer.R:58:3
   2.   └─rhymer::get_content(...)
   3.     └─rhymer::datamuse_api(full_path, limit)
  ── Error ('test_rhymer.R:69:3'): get_other_related returns dataframe of words ──
  Error: Datamuse API request failed [502]
  Backtrace:
      ▆
   1. └─rhymer::get_other_related(WORD_TO_TEST, code = "spc", limit = 10) at test_rhymer.R:69:3
   2.   └─rhymer::get_content(...)
   3.     └─rhymer::datamuse_api(full_path, limit)
  ── Error ('test_rhymer.R:84:3'): get_content sends warning if no results ───────
  Error: Datamuse API request failed [502]
  Backtrace:
      ▆
   1. ├─testthat::expect_warning(...) at test_rhymer.R:84:3
   2. │ └─testthat:::quasi_capture(...)
   3. │   ├─testthat (local) .capture(...)
   4. │   │ └─base::withCallingHandlers(...)
   5. │   └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
   6. └─rhymer::get_content("words?rel_rhy=giberishhh")
   7.   └─rhymer::datamuse_api(full_path, limit)
  ── Error ('test_rhymer.R:88:3'): return_content returns correct type ───────────
  Error: Datamuse API request failed [502]
  Backtrace:
      ▆
   1. ├─testthat::expect_is(...) at test_rhymer.R:88:3
   2. │ └─testthat::quasi_label(enquo(object), label, arg = "object")
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─rhymer::get_content("words?rel_rhy=test", return_type = "df")
   5.   └─rhymer::datamuse_api(full_path, limit)
  
  [ FAIL 8 | WARN 0 | SKIP 0 | PASS 1 ]
  Error: Test failures
  Execution halted