Running 'testthat.R' [36s/23s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(gtfsrouter)
  > 
  > test_check("gtfsrouter")
    adding: tmp/Rtmp3SyPQj/junk.txt (stored 0%)
    adding: tmp/Rtmp3SyPQj/routes.txt (deflated 79%)
    adding: tmp/Rtmp3SyPQj/trips.txt (deflated 94%)
    adding: tmp/Rtmp3SyPQj/stop_times.txt (deflated 90%)
    adding: tmp/Rtmp3SyPQj/stops.txt (deflated 82%)
    adding: tmp/Rtmp3SyPQj/calendar.txt (deflated 91%)
    adding: tmp/Rtmp3SyPQj/routes.txt (deflated 79%)
    adding: tmp/Rtmp3SyPQj/trips.txt (deflated 94%)
    adding: tmp/Rtmp3SyPQj/stop_times.txt (deflated 90%)
    adding: tmp/Rtmp3SyPQj/stops.txt (deflated 82%)
    adding: tmp/Rtmp3SyPQj/transfers.txt (deflated 94%)
    adding: tmp/Rtmp3SyPQj/calendar.txt (stored 0%)
    adding: tmp/Rtmp3SyPQj/routes.txt (stored 0%)
    adding: tmp/Rtmp3SyPQj/trips.txt (stored 0%)
    adding: tmp/Rtmp3SyPQj/stop_times.txt (stored 0%)
    adding: tmp/Rtmp3SyPQj/stops.txt (stored 0%)
    adding: tmp/Rtmp3SyPQj/transfers.txt (stored 0%)
  == Skipped tests ===============================================================
  * empty test (1)
  
  == Failed tests ================================================================
  -- Error (test-isochrone.R:16:15): gtfs_isochrone ------------------------------
  Error: Evaluation error: Found 1 feature with invalid spherical geometry.
  [1] Loop 0 is not valid: Edge 17 is degenerate (duplicate vertex).
  Backtrace:
       x
    1. \-gtfsrouter::gtfs_isochrone(...) test-isochrone.R:16:14
    2.   \-gtfsrouter:::isohull(isotrips$isotrips, hull_alpha = hull_alpha)
    3.     +-sf::st_sf(...)
    4.     +-sf::st_area(geometry)
    5.     \-sf:::st_area.sfc(geometry)
    6.       +-units::set_units(s2::s2_area(x, ...), "m^2", mode = "standard")
    7.       \-s2::s2_area(x, ...)
    8.         +-s2:::recycle_common(as_s2_geography(x), radius)
    9.         +-s2::as_s2_geography(x)
   10.         \-sf:::as_s2_geography.sfc(x)
   11.           \-sf:::st_as_s2.sfc(x, ..., oriented = oriented)
   12.             +-s2::as_s2_geography(st_as_binary(x), ..., oriented = oriented)
   13.             \-s2:::as_s2_geography.WKB(st_as_binary(x), ..., oriented = oriented)
   14.               +-s2:::new_s2_xptr(...)
   15.               \-s2:::s2_geography_from_wkb(x, oriented = oriented, check = check)
  
  [ FAIL 1 | WARN 0 | SKIP 1 | PASS 153 ]
  Error: Test failures
  Execution halted