Running 'testthat.R' [3s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(rhymer)
  > 
  > test_check("rhymer")
  -- 1. Error: get_rhyme returns dataframe of words (@test_rhymer.R#8)  ----------
  API did not return json
  1: get_rhyme(WORD_TO_TEST, limit = 10) at testthat/test_rhymer.R:8
  2: get_content(paste0("/words?rel_rhy=", word), return_type, limit)
  3: datamuse_api(full_path, limit)
  4: stop("API did not return json", call. = FALSE)
  
  -- 2. Error: get_rhyme with syllable argument works (@test_rhymer.R#19)  -------
  API did not return json
  1: get_rhyme(WORD_TO_TEST, limit = 10, num_syl = 3) at testthat/test_rhymer.R:19
  2: get_content(paste0("/words?rel_rhy=", word), return_type = "df", 100)
  3: datamuse_api(full_path, limit)
  4: stop("API did not return json", call. = FALSE)
  
  -- 3. Error: get_means_like returns dataframe of words (@test_rhymer.R#33)  ----
  API did not return json
  1: get_means_like(WORD_TO_TEST, limit = 10) at testthat/test_rhymer.R:33
  2: get_content(paste0("/words?ml=", word), return_type, limit)
  3: datamuse_api(full_path, limit)
  4: stop("API did not return json", call. = FALSE)
  
  -- 4. Error: get_sounds_like returns dataframe of words (@test_rhymer.R#44)  ---
  API did not return json
  1: get_sounds_like(WORD_TO_TEST, limit = 10) at testthat/test_rhymer.R:44
  2: get_content(paste0("/words?sl=", word), return_type, limit)
  3: datamuse_api(full_path, limit)
  4: stop("API did not return json", call. = FALSE)
  
  -- 5. Error: get_spelled_like returns dataframe of words (@test_rhymer.R#55)  --
  API did not return json
  1: get_spelled_like(WORD_TO_TEST, limit = 10) at testthat/test_rhymer.R:55
  2: get_content(paste0("/words?sp=", word), return_type, limit)
  3: datamuse_api(full_path, limit)
  4: stop("API did not return json", call. = FALSE)
  
  -- 6. Error: get_other_related returns dataframe of words (@test_rhymer.R#66)  -
  API did not return json
  1: get_other_related(WORD_TO_TEST, code = "spc", limit = 10) at testthat/test_rhymer.R:66
  2: get_content(paste0("/words?rel_", code, "=", word), return_type, limit)
  3: datamuse_api(full_path, limit)
  4: stop("API did not return json", call. = FALSE)
  
  -- 7. Error: get_content sends warning if no results (@test_rhymer.R#81)  ------
  API did not return json
  1: expect_warning(get_content("words?rel_rhy=giberishhh"), "No results found") at testthat/test_rhymer.R:81
  2: quasi_capture(enquo(object), label, capture_warnings)
  3: .capture(act$val <- eval_bare(get_expr(.quo), get_env(.quo)), ...)
  4: withCallingHandlers(code, warning = function(condition) {
         out$push(condition)
         invokeRestart("muffleWarning")
     })
  5: eval_bare(get_expr(.quo), get_env(.quo))
  6: get_content("words?rel_rhy=giberishhh")
  7: datamuse_api(full_path, limit)
  8: stop("API did not return json", call. = FALSE)
  
  -- 8. Error: return_content returns correct type (@test_rhymer.R#85)  ----------
  API did not return json
  1: expect_is(get_content("words?rel_rhy=test", return_type = "df"), "data.frame") at testthat/test_rhymer.R:85
  2: quasi_label(enquo(object), label, arg = "object")
  3: eval_bare(get_expr(quo), get_env(quo))
  4: get_content("words?rel_rhy=test", return_type = "df")
  5: datamuse_api(full_path, limit)
  6: stop("API did not return json", call. = FALSE)
  
  == testthat results  ===========================================================
  [ OK: 1 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 8 ]
  1. Error: get_rhyme returns dataframe of words (@test_rhymer.R#8) 
  2. Error: get_rhyme with syllable argument works (@test_rhymer.R#19) 
  3. Error: get_means_like returns dataframe of words (@test_rhymer.R#33) 
  4. Error: get_sounds_like returns dataframe of words (@test_rhymer.R#44) 
  5. Error: get_spelled_like returns dataframe of words (@test_rhymer.R#55) 
  6. Error: get_other_related returns dataframe of words (@test_rhymer.R#66) 
  7. Error: get_content sends warning if no results (@test_rhymer.R#81) 
  8. Error: return_content returns correct type (@test_rhymer.R#85) 
  
  Error: testthat unit tests failed
  Execution halted