CRAN Package Check Results for Package cdcfluview

Last updated on 2019-07-22 06:47:34 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9.0 6.81 57.38 64.19 OK
r-devel-linux-x86_64-debian-gcc 0.9.0 5.17 45.03 50.20 OK
r-devel-linux-x86_64-fedora-clang 0.9.0 77.70 OK
r-devel-linux-x86_64-fedora-gcc 0.9.0 74.32 OK
r-devel-windows-ix86+x86_64 0.9.0 12.00 130.00 142.00 OK
r-patched-linux-x86_64 0.9.0 5.24 56.02 61.26 OK
r-patched-solaris-x86 0.9.0 112.40 ERROR
r-release-linux-x86_64 0.9.0 6.15 55.76 61.91 OK
r-release-windows-ix86+x86_64 0.9.0 14.00 89.00 103.00 OK
r-release-osx-x86_64 0.9.0 OK
r-oldrel-windows-ix86+x86_64 0.9.0 15.00 113.00 128.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, arg = "object")
     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 WARNINGS: 0 FAILED: 1
     1. Error: New API works (@test-cdcfluview.R#5)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86