CRAN Package Check Results for Package cdcfluview

Last updated on 2023-03-28 00:51:44 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9.4 9.27 83.03 92.30 OK
r-devel-linux-x86_64-debian-gcc 0.9.4 6.93 61.64 68.57 OK
r-devel-linux-x86_64-fedora-clang 0.9.4 111.21 OK
r-devel-linux-x86_64-fedora-gcc 0.9.4 114.06 OK
r-devel-windows-x86_64 0.9.4 40.00 126.00 166.00 OK
r-patched-linux-x86_64 0.9.4 9.74 77.82 87.56 OK
r-release-linux-x86_64 0.9.4 8.28 78.94 87.22 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 32.00 129.00 161.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 20.00 129.00 149.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' [4s]
    Running the tests in 'tests/test-all.R' failed.
    Complete output:
     > library(testthat)
     > test_check("cdcfluview")
     Loading required package: cdcfluview
     Initiating curl with CURL_SSL_BACKEND: openssl
     [ FAIL 1 | WARN 1 | SKIP 1 | PASS 1 ]
    
     == Skipped tests ===============================================================
     * On CRAN (1)
    
     == Failed tests ================================================================
     -- Error ('test-cdcfluview.R:7:3'): 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