Running 'testthat.R' [17s/253s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(EPP)
  > 
  > test_check("EPP")
  Data: (c) OpenStreetMap contributors, ODbL 1.0 - http://www.openstreetmap.org/copyright
  Routing: OSRM - http://project-osrm.org/
  The OSRM server returned an error:
  Error in open.connection(con, "rb"): HTTP error 502.
  
  The OSRM server returned an error:
  Error in open.connection(con, "rb"): HTTP error 502.
  
  The OSRM server returned an error:
  Error in doTryCatch(return(expr), name, parentenv, handler): object 'res' not found
  
  ERROR : number of items to replace is not a multiple of replacement length 
  The OSRM server returned an error:
  Error in doTryCatch(return(expr), name, parentenv, handler): object 'res' not found
  
  ERROR : number of items to replace is not a multiple of replacement length 
  The OSRM server returned an error:
  Error in doTryCatch(return(expr), name, parentenv, handler): object 'res' not found
  
  ERROR : number of items to replace is not a multiple of replacement length 
  The OSRM server returned an error:
  Error in doTryCatch(return(expr), name, parentenv, handler): object 'res' not found
  
  ERROR : number of items to replace is not a multiple of replacement length 
  == Failed tests ================================================================
  -- Error (test-assignation_exist.R:7:9): assignation_exist works ---------------
  Error: subscript out of bounds
  Backtrace:
      x
   1. \-EPP::assignation_exist(...) test-assignation_exist.R:7:8
   2.   \-EPP::byosrmRoute(src_dst, crs)
  -- Error (test-byosrmRoute.R:4:9): byosrmRoute works ---------------------------
  Error: subscript out of bounds
  Backtrace:
      x
   1. \-EPP::byosrmRoute(src_dst, crs = sp::CRS("+init=epsg:32721")) test-byosrmRoute.R:4:8
  -- Failure (test-osrm_matrixby100.R:6:9): osrmby100 works ----------------------
  `a` has type 'logical', not 'double'.
  -- Failure (test-osrm_matrixby100.R:10:9): osrmby100 works ---------------------
  `b` has type 'logical', not 'double'.
  
  [ FAIL 4 | WARN 0 | SKIP 0 | PASS 21 ]
  Error: Test failures
  Execution halted