CRAN Package Check Results for Package MicroMoB

Last updated on 2022-09-11 12:56:22 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 5.93 467.52 473.45 ERROR
r-devel-linux-x86_64-debian-gcc 0.1.0 4.89 335.54 340.43 OK
r-devel-linux-x86_64-fedora-clang 0.1.0 586.89 OK
r-devel-linux-x86_64-fedora-gcc 0.1.0 583.66 OK
r-devel-windows-x86_64 0.1.0 104.00 625.00 729.00 OK
r-patched-linux-x86_64 0.1.0 8.20 433.07 441.27 OK
r-release-linux-x86_64 0.1.0 5.96 432.73 438.69 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 79.00 670.00 749.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 623.00 639.00 OK

Check Details

Version: 0.1.0
Check: tests
Result: ERROR
     Running 'testthat.R' [11s/14s]
    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 4481 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 4481 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