CRAN Package Check Results for Package MicroMoB

Last updated on 2022-07-07 03:55:32 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 7.85 468.13 475.98 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.0 5.25 333.47 338.72 OK
r-devel-linux-x86_64-fedora-clang 0.1.0 259.87 OK
r-devel-linux-x86_64-fedora-gcc 0.1.0 537.33 OK
r-devel-windows-x86_64 0.1.0 125.00 606.00 731.00 OK
r-patched-linux-x86_64 0.1.0 8.16 429.87 438.03 OK
r-release-linux-x86_64 0.1.0 5.98 443.36 449.34 OK
r-release-macos-arm64 0.1.0 106.00 OK
r-release-macos-x86_64 0.1.0 142.00 OK
r-release-windows-x86_64 0.1.0 129.00 641.00 770.00 OK
r-oldrel-macos-arm64 0.1.0 107.00 OK
r-oldrel-macos-x86_64 0.1.0 176.00 OK
r-oldrel-windows-ix86+x86_64 0.1.0 16.00 619.00 635.00 OK

Check Details

Version: 0.1.0
Check: tests
Result: ERROR
     Running 'testthat.R' [12s/15s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(MicroMoB)
     >
     > test_check("MicroMoB")
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 915 ]
    
     == Failed tests ================================================================
     -- Error (test-api_mosquitoes_plumber.R:24:3): endpoints error properly --------
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Failed to connect to localhost port 3434 after 0 ms: Connection refused
     Backtrace:
     x
     1. \-httr::GET(root_path, port = api_port, path = "config_global_parameters") at test-api_mosquitoes_plumber.R:24:2
     2. \-httr:::request_perform(req, hu$handle$handle)
     3. +-httr:::request_fetch(req$output, req$url, handle)
     4. \-httr:::request_fetch.write_memory(req$output, req$url, handle)
     5. \-curl::curl_fetch_memory(url, handle = handle)
     -- Error (test-api_mosquitoes_plumber.R:144:3): run simulation via API ---------
     Error in `curl::curl_fetch_memory(url, handle = handle)`: Failed to connect to localhost port 3434 after 0 ms: Connection refused
     Backtrace:
     x
     1. \-httr::GET(...) at test-api_mosquitoes_plumber.R:144:2
     2. \-httr:::request_perform(req, hu$handle$handle)
     3. +-httr:::request_fetch(req$output, req$url, handle)
     4. \-httr:::request_fetch.write_memory(req$output, req$url, handle)
     5. \-curl::curl_fetch_memory(url, handle = handle)
    
     [ FAIL 2 | WARN 0 | SKIP 0 | PASS 915 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang