CRAN Package Check Results for Package opentripplanner

Last updated on 2020-01-27 00:48:10 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.0.4 3.51 35.48 38.99 OK
r-devel-linux-x86_64-debian-gcc 0.2.0.4 2.95 28.01 30.96 OK
r-devel-linux-x86_64-fedora-clang 0.2.0.4 47.42 OK
r-devel-linux-x86_64-fedora-gcc 0.2.0.4 50.79 OK
r-devel-windows-ix86+x86_64 0.2.0.4 16.00 105.00 121.00 OK
r-devel-windows-ix86+x86_64-gcc8 0.2.0.3 13.00 78.00 91.00 OK
r-patched-linux-x86_64 0.2.0.4 3.10 32.47 35.57 OK
r-patched-solaris-x86 0.2.0.4 60.40 ERROR
r-release-linux-x86_64 0.2.0.4 2.83 32.52 35.35 OK
r-release-windows-ix86+x86_64 0.2.0.4 6.00 82.00 88.00 OK
r-release-osx-x86_64 0.2.0.4 OK
r-oldrel-windows-ix86+x86_64 0.2.0.4 7.00 102.00 109.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’ [10s/62s]
    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: closing unused connection 5 (<-localhost:11860)
     2: closing unused connection 4 (<-localhost:11860)
     Execution halted
Flavor: r-patched-solaris-x86