CRAN Package Check Results for Package rhymer

Last updated on 2020-01-18 22:48:43 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 2.09 23.91 26.00 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 1.59 19.31 20.90 OK
r-devel-linux-x86_64-fedora-clang 1.0.0 32.54 OK
r-devel-linux-x86_64-fedora-gcc 1.0.0 31.50 OK
r-devel-windows-ix86+x86_64 1.0.0 9.00 55.00 64.00 OK
r-devel-windows-ix86+x86_64-gcc8 1.0.0 7.00 52.00 59.00 OK
r-patched-linux-x86_64 1.0.0 1.30 22.10 23.40 OK
r-patched-solaris-x86 1.0.0 43.30 OK
r-release-linux-x86_64 1.0.0 1.68 22.46 24.14 OK
r-release-windows-ix86+x86_64 1.0.0 9.00 39.00 48.00 OK
r-release-osx-x86_64 1.0.0 OK
r-oldrel-windows-ix86+x86_64 1.0.0 4.00 37.00 41.00 ERROR
r-oldrel-osx-x86_64 1.0.0 OK

Check Details

Version: 1.0.0
Check: examples
Result: ERROR
    Running examples in 'rhymer-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: datamuse_api
    > ### Title: Call Datamuse API and return data.
    > ### Aliases: datamuse_api
    >
    > ### ** Examples
    >
    > datamuse_api("/words?rel_rhy=test")
    Error: API did not return json
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 1.0.0
Check: tests
Result: ERROR
     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
     Backtrace:
     1. rhymer::get_rhyme(WORD_TO_TEST, limit = 10)
     2. rhymer::get_content(...)
     3. rhymer::datamuse_api(full_path, limit)
    
     -- 2. Error: get_rhyme with syllable argument works (@test_rhymer.R#19) -------
     API did not return json
     Backtrace:
     1. rhymer::get_rhyme(WORD_TO_TEST, limit = 10, num_syl = 3)
     2. rhymer::get_content(...)
     3. rhymer::datamuse_api(full_path, limit)
    
     -- 3. Error: get_means_like returns dataframe of words (@test_rhymer.R#33) ----
     API did not return json
     Backtrace:
     1. rhymer::get_means_like(WORD_TO_TEST, limit = 10)
     2. rhymer::get_content(...)
     3. rhymer::datamuse_api(full_path, limit)
    
     -- 4. Error: get_sounds_like returns dataframe of words (@test_rhymer.R#44) ---
     API did not return json
     Backtrace:
     1. rhymer::get_sounds_like(WORD_TO_TEST, limit = 10)
     2. rhymer::get_content(...)
     3. rhymer::datamuse_api(full_path, limit)
    
     -- 5. Error: get_spelled_like returns dataframe of words (@test_rhymer.R#55) --
     API did not return json
     Backtrace:
     1. rhymer::get_spelled_like(WORD_TO_TEST, limit = 10)
     2. rhymer::get_content(...)
     3. rhymer::datamuse_api(full_path, limit)
    
     -- 6. Error: get_other_related returns dataframe of words (@test_rhymer.R#66) -
     API did not return json
     Backtrace:
     1. rhymer::get_other_related(WORD_TO_TEST, code = "spc", limit = 10)
     2. rhymer::get_content(...)
     3. rhymer::datamuse_api(full_path, limit)
    
     -- 7. Error: get_content sends warning if no results (@test_rhymer.R#81) ------
     API did not return json
     Backtrace:
     1. testthat::expect_warning(...)
     6. rhymer::get_content("words?rel_rhy=giberishhh")
     7. rhymer::datamuse_api(full_path, limit)
    
     -- 8. Error: return_content returns correct type (@test_rhymer.R#85) ----------
     API did not return json
     Backtrace:
     1. testthat::expect_is(...)
     4. rhymer::get_content("words?rel_rhy=test", return_type = "df")
     5. rhymer::datamuse_api(full_path, limit)
    
     == 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
Flavor: r-oldrel-windows-ix86+x86_64

Version: 1.0.0
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    Quitting from lines 37-38 (intro-to-rhymer.Rmd)
    Error: processing vignette 'intro-to-rhymer.Rmd' failed with diagnostics:
    API did not return json
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64