CRAN Package Check Results for Package rdefra

Last updated on 2019-02-21 21:48:49 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.5 4.27 65.40 69.67 OK
r-devel-linux-x86_64-debian-gcc 0.3.5 4.16 53.50 57.66 OK
r-devel-linux-x86_64-fedora-clang 0.3.5 86.34 OK
r-devel-linux-x86_64-fedora-gcc 0.3.5 78.48 OK
r-devel-windows-ix86+x86_64 0.3.5 11.00 117.00 128.00 ERROR
r-patched-linux-x86_64 0.3.5 3.83 58.89 62.72 OK
r-patched-solaris-x86 0.3.5 142.90 ERROR
r-release-linux-x86_64 0.3.5 OK
r-release-windows-ix86+x86_64 0.3.5 6.00 133.00 139.00 ERROR
r-release-osx-x86_64 0.3.5 OK
r-oldrel-windows-ix86+x86_64 0.3.5 7.00 215.00 222.00 ERROR
r-oldrel-osx-x86_64 0.3.5 OK

Check Details

Version: 0.3.5
Check: tests
Result: ERROR
     Running 'testthat.R' [33s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library("testthat")
     > library("rdefra")
     >
     > test_check("rdefra")
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     -- 1. Failure: Metadata should be in the right format (@test-data.R#44) -------
     `x` not equal to `expected`.
     1 element mismatch
    
     Error in file(file, "rt") : cannot open the connection
     -- 2. Failure: Data should be in the right format (@test-data.R#55) -----------
     `x` not equal to `expected`.
     'is.NA' value mismatch: 0 in current 1 in target
    
     == testthat results ===========================================================
     OK: 39 SKIPPED: 1 FAILED: 2
     1. Failure: Metadata should be in the right format (@test-data.R#44)
     2. Failure: Data should be in the right format (@test-data.R#55)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.3.5
Check: re-building of vignette outputs
Result: WARN
    Error(s) in re-building vignettes:
    --- re-building 'rdefra_vignette.Rmd' using knitr
    Warning in file(file, "rt") :
     InternetOpenUrl failed: 'Eine Umleitungsanforderung ändert eine sichere in eine nicht sichere Verbindung.'
    No data available for station MY1
    Warning: Unknown or uninitialised column: 'unit'.
    Warning: Unknown or uninitialised column: 'unit'.
    
    Attaching package: 'zoo'
    
    The following objects are masked from 'package:base':
    
     as.Date, as.Date.numeric
    
    Warning: Unknown or uninitialised column: 'datetime'.
    Quitting from lines 117-123 (rdefra_vignette.Rmd)
    Error: processing vignette 'rdefra_vignette.Rmd' failed with diagnostics:
    do not know how to convert 'df$datetime' to class "POSIXlt"
    --- failed re-building 'rdefra_vignette.Rmd'
    
    SUMMARY: processing the following file failed:
     'rdefra_vignette.Rmd'
    
    Error: Vignette re-building failed.
    Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 0.3.5
Check: tests
Result: ERROR
     Running ‘testthat.R’ [16s/335s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library("testthat")
     > library("rdefra")
     >
     > test_check("rdefra")
     ── 1. Error: Hourly data for station ABD/2014 should be available (@test-data.R#
     Timeout was reached: Resolving timed out after 10000 milliseconds
     1: expect_that(httr::http_error(myURL), equals(FALSE)) at testthat/test-data.R:11
     2: condition(object)
     3: expect_equal(x, expected, ..., expected.label = label)
     4: quasi_label(enquo(object), label)
     5: eval_bare(get_expr(quo), get_env(quo))
     6: httr::http_error(myURL)
     7: http_error.character(myURL)
     8: http_error(HEAD(x, ...))
     9: HEAD(x, ...)
     10: request_perform(req, hu$handle$handle)
     11: request_fetch(req$output, req$url, handle)
     12: request_fetch.write_memory(req$output, req$url, handle)
     13: curl::curl_fetch_memory(url, handle = handle)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 20 SKIPPED: 1 FAILED: 1
     1. Error: Hourly data for station ABD/2014 should be available (@test-data.R#11)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86

Version: 0.3.5
Check: tests
Result: ERROR
     Running 'testthat.R' [34s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library("testthat")
     > library("rdefra")
     >
     > test_check("rdefra")
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     -- 1. Failure: Metadata should be in the right format (@test-data.R#44) -------
     `x` not equal to `expected`.
     1 element mismatch
    
     Error in file(file, "rt") : cannot open the connection
     -- 2. Failure: Data should be in the right format (@test-data.R#55) -----------
     `x` not equal to `expected`.
     'is.NA' value mismatch: 0 in current 1 in target
    
     == testthat results ===========================================================
     OK: 39 SKIPPED: 1 FAILED: 2
     1. Failure: Metadata should be in the right format (@test-data.R#44)
     2. Failure: Data should be in the right format (@test-data.R#55)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-windows-ix86+x86_64

Version: 0.3.5
Check: re-building of vignette outputs
Result: WARN
    Error in re-building vignettes:
     ...
    Warning in file(file, "rt") :
     InternetOpenUrl failed: 'Eine Umleitungsanforderung ändert eine sichere in eine nicht sichere Verbindung.'
    No data available for station MY1
    Warning: Unknown or uninitialised column: 'unit'.
    Warning: Unknown or uninitialised column: 'unit'.
    
    Attaching package: 'zoo'
    
    The following objects are masked from 'package:base':
    
     as.Date, as.Date.numeric
    
    Warning: Unknown or uninitialised column: 'datetime'.
    Quitting from lines 117-123 (rdefra_vignette.Rmd)
    Error: processing vignette 'rdefra_vignette.Rmd' failed with diagnostics:
    do not know how to convert 'df$datetime' to class "POSIXlt"
    Execution halted
Flavors: r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 0.3.5
Check: tests
Result: ERROR
     Running 'testthat.R' [88s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library("testthat")
     > library("rdefra")
     >
     > test_check("rdefra")
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     Error in file(file, "rt") : cannot open the connection
     -- 1. Failure: Metadata should be in the right format (@test-data.R#44) -------
     `x` not equal to `expected`.
     1 element mismatch
    
     Error in file(file, "rt") : cannot open the connection
     -- 2. Failure: Data should be in the right format (@test-data.R#55) -----------
     `x` not equal to `expected`.
     'is.NA' value mismatch: 0 in current 1 in target
    
     -- 3. Failure: DEFRA server should be running (@test-metadata.R#29) -----------
     `x` not equal to `expected`.
     1 element mismatch
    
     == testthat results ===========================================================
     OK: 38 SKIPPED: 1 FAILED: 3
     1. Failure: Metadata should be in the right format (@test-data.R#44)
     2. Failure: Data should be in the right format (@test-data.R#55)
     3. Failure: DEFRA server should be running (@test-metadata.R#29)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64