CRAN Package Check Results for Package opentripplanner

Last updated on 2020-02-03 08:53:44 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0.4 3.62 34.87 38.49 OK
r-devel-linux-x86_64-debian-gcc 0.2.0.4 2.74 27.52 30.26 OK
r-devel-linux-x86_64-fedora-clang 0.2.0.4 47.25 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0.4 47.63 OK
r-devel-windows-ix86+x86_64 0.2.0.4 10.00 75.00 85.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.2.0.4 10.00 100.00 110.00 OK
r-patched-linux-x86_64 0.2.0.4 3.08 32.26 35.34 OK
r-patched-solaris-x86 0.2.0.4 65.70 ERROR
r-release-linux-x86_64 0.2.0.4 2.81 32.22 35.03 OK
r-release-windows-ix86+x86_64 0.2.0.4 17.00 98.00 115.00 OK
r-release-osx-x86_64 0.2.0.4 OK
r-oldrel-windows-ix86+x86_64 0.2.0.4 4.00 71.00 75.00 OK
r-oldrel-osx-x86_64 0.2.0.4 OK

Check Details

Version: 0.2.0.4
Check: tests
Result: ERROR
     Running ‘testthat.R’ [11s/67s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(opentripplanner)
     >
     > test_check("opentripplanner")
     trying URL 'https://github.com/ropensci/opentripplanner/releases/download/0.1/isle-of-wight-demo.zip'
     Content type 'application/octet-stream' length 8309996 bytes (7.9 MB)
     ==================================================
     downloaded 7.9 MB
    
     trying URL 'https://repo1.maven.org/maven2/org/opentripplanner/otp/1.4.0/otp-1.4.0-shaded.jar'
     Content type 'application/java-archive' length 61838786 bytes (59.0 MB)
     ==================================================
     downloaded 59.0 MB
    
     ── 1. Failure: otp_plan input validation (@test_02_without_OTP.R#83) ──────────
     `otp_plan(...)` threw an error with unexpected message.
     Expected match: "Failed to connect to localhost port 8080"
     Actual message: "Couldn't connect to server"
     Backtrace:
     1. testthat::expect_error(...)
     6. opentripplanner::otp_plan(...)
     7. pbapply::pblapply(...)
     8. base::lapply(X, FUN, ...)
     9. opentripplanner:::FUN(X[[i]], ...)
     10. opentripplanner:::otp_plan_internal(...)
     11. httr::GET(...)
     12. httr:::request_perform(req, hu$handle$handle)
     14. httr:::request_fetch.write_memory(req$output, req$url, handle)
     15. curl::curl_fetch_memory(url, handle = handle)
    
     ── 2. Failure: otp_plan input validation (@test_02_without_OTP.R#95) ──────────
     `otp_plan(...)` threw an error with unexpected message.
     Expected match: "Failed to connect to localhost port 8080"
     Actual message: "Couldn't connect to server"
     Backtrace:
     1. testthat::expect_error(...)
     6. opentripplanner::otp_plan(...)
     7. pbapply::pblapply(...)
     8. base::lapply(X, FUN, ...)
     9. opentripplanner:::FUN(X[[i]], ...)
     10. opentripplanner:::otp_plan_internal(...)
     11. httr::GET(...)
     12. httr:::request_perform(req, hu$handle$handle)
     14. httr:::request_fetch.write_memory(req$output, req$url, handle)
     15. curl::curl_fetch_memory(url, handle = handle)
    
     ── 3. Failure: otp_plan input validation (@test_02_without_OTP.R#115) ─────────
     `otp_plan(...)` threw an error with unexpected message.
     Expected match: "Failed to connect to localhost port 8080"
     Actual message: "Couldn't connect to server"
     Backtrace:
     1. testthat::expect_error(...)
     6. opentripplanner::otp_plan(...)
     7. pbapply::pblapply(...)
     8. base::lapply(X, FUN, ...)
     9. opentripplanner:::FUN(X[[i]], ...)
     10. opentripplanner:::otp_plan_internal(...)
     11. httr::GET(...)
     12. httr:::request_perform(req, hu$handle$handle)
     14. httr:::request_fetch.write_memory(req$output, req$url, handle)
     15. curl::curl_fetch_memory(url, handle = handle)
    
     ── 4. Failure: otp_plan input validation (@test_02_without_OTP.R#122) ─────────
     `otp_plan(...)` threw an error with unexpected message.
     Expected match: "Failed to connect to localhost port 8080"
     Actual message: "2 nodes produced errors; first error: Couldn't connect to server"
     Backtrace:
     1. testthat::expect_error(...)
     6. opentripplanner::otp_plan(...)
     7. pbapply::pblapply(...)
     8. parallel:::PAR_FUN(cl, X, FUN, ...)
     10. parallel::clusterApplyLB(...)
     11. parallel:::dynamicClusterApply(cl, fun, length(x), argfun)
     12. parallel:::checkForRemoteErrors(val)
    
     ── 5. Failure: otp_geocode input validation (@test_02_without_OTP.R#146) ──────
     `otp_geocode(otpcon, query = "test")` threw an error with unexpected message.
     Expected match: "Failed to connect to localhost port 8080"
     Actual message: "Couldn't connect to server"
     Backtrace:
     1. testthat::expect_error(otp_geocode(otpcon, query = "test"), regexp = "Failed to connect to localhost port 8080")
     6. opentripplanner::otp_geocode(otpcon, query = "test")
     7. httr::GET(routerUrl, query = querylist)
     8. httr:::request_perform(req, hu$handle$handle)
     10. httr:::request_fetch.write_memory(req$output, req$url, handle)
     11. curl::curl_fetch_memory(url, handle = handle)
    
     ── 6. Failure: otp_isochrone input validation (@test_02_without_OTP.R#155) ────
     `otp_isochrone(otpcon, fromPlace = c(1, 1))` threw an error with unexpected message.
     Expected match: "Failed to connect to localhost port 8080"
     Actual message: "Couldn't connect to server"
     Backtrace:
     1. testthat::expect_error(...)
     6. opentripplanner::otp_isochrone(otpcon, fromPlace = c(1, 1))
     7. httr::GET(routerUrl, query = query)
     8. httr:::request_perform(req, hu$handle$handle)
     10. httr:::request_fetch.write_memory(req$output, req$url, handle)
     11. curl::curl_fetch_memory(url, handle = handle)
    
     trying URL 'https://github.com/ropensci/opentripplanner/releases/download/0.1/centroids.gpkg'
     Content type 'application/octet-stream' length 126976 bytes (124 KB)
     ==================================================
     downloaded 124 KB
    
     ══ testthat results ═══════════════════════════════════════════════════════════
     [ OK: 60 | SKIPPED: 19 | WARNINGS: 4 | FAILED: 6 ]
     1. Failure: otp_plan input validation (@test_02_without_OTP.R#83)
     2. Failure: otp_plan input validation (@test_02_without_OTP.R#95)
     3. Failure: otp_plan input validation (@test_02_without_OTP.R#115)
     4. Failure: otp_plan input validation (@test_02_without_OTP.R#122)
     5. Failure: otp_geocode input validation (@test_02_without_OTP.R#146)
     6. Failure: otp_isochrone input validation (@test_02_without_OTP.R#155)
    
     Error: testthat unit tests failed
     In addition: Warning messages:
     1: In for (i in seq_len(n)) { :
     closing unused connection 5 (<-localhost:11888)
     2: In for (i in seq_len(n)) { :
     closing unused connection 4 (<-localhost:11888)
     Execution halted
Flavor: r-patched-solaris-x86