CRAN Package Check Results for Package cdcfluview

Last updated on 2023-01-25 04:51:32 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9.4 8.33 81.94 90.27 OK
r-devel-linux-x86_64-debian-gcc 0.9.4 6.75 60.60 67.35 OK
r-devel-linux-x86_64-fedora-clang 0.9.4 109.06 OK
r-devel-linux-x86_64-fedora-gcc 0.9.4 108.07 OK
r-devel-windows-x86_64 0.9.4 28.00 123.00 151.00 OK
r-patched-linux-x86_64 0.9.4 8.01 80.29 88.30 OK
r-release-linux-x86_64 0.9.4 7.65 79.06 86.71 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 39.00 124.00 163.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 23.00 106.00 129.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