CRAN Package Check Results for Package cdcfluview

Last updated on 2019-03-27 00:47:48 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9.0 6.33 52.28 58.61 OK
r-devel-linux-x86_64-debian-gcc 0.9.0 5.92 44.92 50.84 OK
r-devel-linux-x86_64-fedora-clang 0.9.0 73.24 OK
r-devel-linux-x86_64-fedora-gcc 0.9.0 68.93 OK
r-devel-windows-ix86+x86_64 0.9.0 13.00 95.00 108.00 OK
r-patched-linux-x86_64 0.9.0 4.75 50.66 55.41 OK
r-patched-solaris-x86 0.9.0 102.50 ERROR
r-release-linux-x86_64 0.9.0 4.60 51.04 55.64 OK
r-release-windows-ix86+x86_64 0.9.0 12.00 92.00 104.00 OK
r-release-osx-x86_64 0.9.0 OK
r-oldrel-windows-ix86+x86_64 0.9.0 8.00 102.00 110.00 OK
r-oldrel-osx-x86_64 0.9.0 OK

Check Details

Version: 0.9.0
Check: examples
Result: ERROR
    Running examples in ‘cdcfluview-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: age_group_distribution
    > ### Title: Age Group Distribution of Influenza Positive Tests Reported by
    > ### Public Health Laboratories
    > ### Aliases: age_group_distribution
    >
    > ### ** Examples
    >
    > agd <- age_group_distribution(years=2015)
    Error in curl::curl_fetch_memory(url, handle = handle) :
     Timeout was reached: Operation timed out after 10000 milliseconds with 0 out of 0 bytes received
    Calls: age_group_distribution ... request_fetch -> request_fetch.write_memory -> <Anonymous>
    Execution halted
Flavor: r-patched-solaris-x86

Version: 0.9.0
Check: tests
Result: ERROR
     Running ‘test-all.R’ [4s/19s]
    Running the tests in ‘tests/test-all.R’ failed.
    Complete output:
     > library(testthat)
     > test_check("cdcfluview")
     Loading required package: cdcfluview
     ── 1. Error: New API works (@test-cdcfluview.R#5) ─────────────────────────────
     Timeout was reached: Operation timed out after 10000 milliseconds with 0 out of 0 bytes received
     1: expect_that(age_group_distribution(years = 2017), is_a("data.frame")) at testthat/test-cdcfluview.R:5
     2: condition(object)
     3: expect_is(x, class)
     4: quasi_label(enquo(object), label)
     5: eval_bare(get_expr(quo), get_env(quo))
     6: age_group_distribution(years = 2017)
     7: httr::GET(url = "https://gis.cdc.gov/grasp/fluView6/GetFlu6AllDataP", httr::user_agent(.cdcfluview_ua),
     httr::add_headers(Accept = "application/json, text/plain, */*", Referer = "https://gis.cdc.gov/grasp/fluview/flu_by_age_virus.html"),
     httr::timeout(.httr_timeout))
     8: request_perform(req, hu$handle$handle)
     9: request_fetch(req$output, req$url, handle)
     10: request_fetch.write_memory(req$output, req$url, handle)
     11: curl::curl_fetch_memory(url, handle = handle)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 1 SKIPPED: 1 FAILED: 1
     1. Error: New API works (@test-cdcfluview.R#5)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86