CRAN Package Check Results for Maintainer ‘Sean L. Wu <slwood89 at gmail.com>’

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

Package ERROR OK
MGDrivE2 13
MicroMoB 1 12

Package MGDrivE2

Current CRAN status: OK: 13

Package MicroMoB

Current CRAN status: ERROR: 1, OK: 12

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