CRAN Package Check Results for Package cdcfluview

Last updated on 2022-11-27 09:53:24 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9.4 9.14 84.69 93.83 OK
r-devel-linux-x86_64-debian-gcc 0.9.4 6.25 62.90 69.15 OK
r-devel-linux-x86_64-fedora-clang 0.9.4 130.41 OK
r-devel-linux-x86_64-fedora-gcc 0.9.4 121.00 OK
r-devel-windows-x86_64 0.9.4 37.00 129.00 166.00 OK
r-patched-linux-x86_64 0.9.4 8.68 79.28 87.96 OK
r-release-linux-x86_64 0.9.4 8.27 79.26 87.53 OK
r-release-macos-arm64 0.9.4 64.00 OK
r-release-macos-x86_64 0.9.4 89.00 OK
r-release-windows-x86_64 0.9.4 36.00 126.00 162.00 OK
r-oldrel-macos-arm64 0.9.4 61.00 OK
r-oldrel-macos-x86_64 0.9.4 78.00 OK
r-oldrel-windows-ix86+x86_64 0.9.4 21.00 107.00 128.00 ERROR

Check Details

Version: 0.9.4
Check: examples
Result: ERROR
    Running examples in 'cdcfluview-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: hospitalizations
    > ### Title: Laboratory-Confirmed Influenza Hospitalizations
    > ### Aliases: hospitalizations
    >
    > ### ** Examples
    >
    > hosp_fs <- hospitalizations("flusurv", years=2015)
    Warning in open.connection(con, "rb") :
     InternetOpenUrl failed: 'Die Serververbindung konnte nicht hergestellt werden.'
    Error in open.connection(con, "rb") : cannot open the connection
    Calls: hospitalizations ... parse_and_simplify -> parseJSON -> parse_con -> open -> open.connection
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64

Version: 0.9.4
Check: tests
Result: ERROR
     Running 'test-all.R' [5s]
    Running the tests in 'tests/test-all.R' failed.
    Complete output:
     > library(testthat)
     > test_check("cdcfluview")
     Loading required package: cdcfluview
     [ FAIL 1 | WARN 1 | SKIP 1 | PASS 1 ]
    
     == Skipped tests ===============================================================
     * On CRAN (1)
    
     == Failed tests ================================================================
     -- Error ('test-cdcfluview.R:7'): New API works --------------------------------
     Error in `open.connection(con, "rb")`: cannot open the connection
     Backtrace:
     x
     1. +-testthat::expect_that(geographic_spread(years = 2017), is_a("data.frame")) at test-cdcfluview.R:7:2
     2. | \-testthat (local) condition(object)
     3. | \-testthat::expect_is(x, class)
     4. | \-testthat::quasi_label(enquo(object), label, arg = "object")
     5. | \-rlang::eval_bare(expr, quo_get_env(quo))
     6. \-cdcfluview::geographic_spread(years = 2017)
     7. \-jsonlite::fromJSON("https://gis.cdc.gov/grasp/Flu8/GetPhase08InitApp?appVersion=Public")
     8. \-jsonlite:::parse_and_simplify(...)
     9. \-jsonlite:::parseJSON(txt, bigint_as_char)
     10. \-jsonlite:::parse_con(txt, bigint_as_char)
     11. +-base::open(con, "rb")
     12. \-base::open.connection(con, "rb")
    
     [ FAIL 1 | WARN 1 | SKIP 1 | PASS 1 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64