CRAN Package Check Results for Package rdefra

Last updated on 2019-03-18 16:52:38 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.5 5.56 64.31 69.87 OK
r-devel-linux-x86_64-debian-gcc 0.3.5 6.06 52.69 58.75 OK
r-devel-linux-x86_64-fedora-clang 0.3.5 86.61 OK
r-devel-linux-x86_64-fedora-gcc 0.3.5 80.24 OK
r-devel-windows-ix86+x86_64 0.3.5 15.00 110.00 125.00 ERROR
r-patched-linux-x86_64 0.3.5 3.58 60.22 63.80 OK
r-patched-solaris-x86 0.3.5 128.10 ERROR
r-release-linux-x86_64 0.3.5 4.07 60.22 64.29 OK
r-release-windows-ix86+x86_64 0.3.5 13.00 114.00 127.00 ERROR
r-release-osx-x86_64 0.3.5 OK
r-oldrel-windows-ix86+x86_64 0.3.5 5.00 6.00 11.00 ERROR
r-oldrel-osx-x86_64 0.3.5 OK

Check Details

Version: 0.3.5
Check: tests
Result: ERROR
     Running 'testthat.R' [32s]
    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’ [15s/324s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library("testthat")
     > library("rdefra")
     >
     > test_check("rdefra")
     ── 1. Error: DEFRA server should be running (@test-metadata.R#13) ─────────────
     HTTP/2 stream 5 was not closed cleanly: CANCEL (err 8)
     1: httr::GET(url = "http://uk-air.defra.gov.uk", path = "networks/find-sites", query = list(site_name = site_name,
     pollutant = pollutant, group_id = group_id, closed = closed, country_id = country_id,
     region_id = region_id, location_type = location_type, search = "Search+Network",
     view = "advanced", action = "results")) at testthat/test-metadata.R:13
     2: request_perform(req, hu$handle$handle)
     3: request_fetch(req$output, req$url, handle)
     4: request_fetch.write_memory(req$output, req$url, handle)
     5: curl::curl_fetch_memory(url, handle = handle)
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     OK: 20 SKIPPED: 1 FAILED: 1
     1. Error: DEFRA server should be running (@test-metadata.R#13)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-x86

Version: 0.3.5
Check: tests
Result: ERROR
     Running 'testthat.R' [36s]
    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
Flavor: r-release-windows-ix86+x86_64

Version: 0.3.5
Check: whether package can be installed
Result: ERROR
    Installation failed.
Flavor: r-oldrel-windows-ix86+x86_64