Running ‘testthat.R’ [27s/44s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(gtfsrouter)
  > 
  > test_check("gtfsrouter")
  Failed with error:  'there is no package called 'lwgeom''
  ── 1. Error: gtfs_isochrone (@test-isochrone.R#16)  ────────────────────────────
  package lwgeom required, please install it first
  Backtrace:
   1. gtfsrouter::gtfs_isochrone(...)
   2. gtfsrouter:::isohull(isotrips$isotrips, hull_alpha = hull_alpha)
   5. sf:::st_area.sfc(geometry)
  
  Failed with error:  'there is no package called 'lwgeom''
    adding: tmp/RtmpEHtYaF/working_dir/RtmpLWh416/routes.txt (stored 0%)
    adding: tmp/RtmpEHtYaF/working_dir/RtmpLWh416/trips.txt (stored 0%)
    adding: tmp/RtmpEHtYaF/working_dir/RtmpLWh416/stop_times.txt (stored 0%)
    adding: tmp/RtmpEHtYaF/working_dir/RtmpLWh416/stops.txt (stored 0%)
    adding: tmp/RtmpEHtYaF/working_dir/RtmpLWh416/transfers.txt (stored 0%)
    calendar     routes      trips stop_times      stops  transfers 
        2395         52      28590      22666        957       9833 
    calendar     routes      trips stop_times      stops  transfers 
        2395         52      28590      22666        957       9833 
    calendar     routes      trips stop_times      stops  transfers 
        2395         52      28590      22666        957       9833 
    calendar     routes      trips stop_times      stops  transfers  timetable 
        2395         52       7086       7626        957       9833       7052 
    stop_ids   trip_ids 
         957       7086 
    calendar     routes      trips stop_times      stops  transfers  timetable 
        2395         52       7086       7626        957       9833       7052 
    stop_ids   trip_ids 
         957       7086 
    calendar     routes      trips stop_times      stops  transfers  timetable 
        2395         52       7086       7626        957       9833       7052 
    stop_ids   trip_ids 
         957       7086 
    calendar     routes      trips stop_times      stops  transfers 
        2395         52      28590      22666        957       9833 
  ══ testthat results  ═══════════════════════════════════════════════════════════
  [ OK: 111 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
  1. Error: gtfs_isochrone (@test-isochrone.R#16) 
  
  Error: testthat unit tests failed
  Execution halted