CRAN Package Check Results for Package fredr

Last updated on 2019-08-22 22:46:55 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 2.70 35.38 38.08 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 2.22 28.47 30.69 OK
r-devel-linux-x86_64-fedora-clang 1.0.0 48.58 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0.0 46.76 NOTE
r-devel-windows-ix86+x86_64 1.0.0 13.00 75.00 88.00 OK
r-patched-linux-x86_64 1.0.0 2.79 35.47 38.26 OK
r-patched-solaris-x86 1.0.0 63.30 NOTE
r-release-linux-x86_64 1.0.0 2.61 35.17 37.78 OK
r-release-windows-ix86+x86_64 1.0.0 10.00 97.00 107.00 ERROR
r-release-osx-x86_64 1.0.0 NOTE
r-oldrel-windows-ix86+x86_64 1.0.0 6.00 65.00 71.00 OK
r-oldrel-osx-x86_64 1.0.0 NOTE

Check Details

Version: 1.0.0
Check: data for non-ASCII characters
Result: NOTE
     Note: found 1 marked UTF-8 string
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-osx-x86_64, r-oldrel-osx-x86_64

Version: 1.0.0
Check: tests
Result: ERROR
     Running 'testthat.R' [24s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(fredr)
     >
     > test_check("fredr")
     -- 1. Error: fredr_docs throws errors on invalid endpoints (@test_docs.R#15) --
     Bad endpoint: https://api.stlouisfed.org/docs/fred/series.html#Parameters
     1: expect_silent(fredr_docs(endpoint = "series", params = TRUE)) at testthat/test_docs.R:15
     2: quasi_capture(enquo(object), NULL, evaluate_promise)
     3: .capture(act$val <- eval_bare(get_expr(.quo), get_env(.quo)), ...)
     4: withr::with_output_sink(temp, withCallingHandlers(withVisible(code), warning = handle_warning,
     message = handle_message))
     5: force(code)
     6: withCallingHandlers(withVisible(code), warning = handle_warning, message = handle_message)
     7: withVisible(code)
     8: eval_bare(get_expr(.quo), get_env(.quo))
     9: fredr_docs(endpoint = "series", params = TRUE)
     10: stop(paste("Bad endpoint:", url))
    
     == testthat results ===========================================================
     [ OK: 66 | SKIPPED: 38 | WARNINGS: 0 | FAILED: 1 ]
     1. Error: fredr_docs throws errors on invalid endpoints (@test_docs.R#15)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-windows-ix86+x86_64