Running ‘testthat.R’ [22s/34s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(tidytransit)
  > 
  > test_check("tidytransit")
  # A tibble: 13,296 x 5
       row col      expected           actual file                                
     <int> <chr>    <chr>              <chr>  <chr>                               
   1  4250 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
   2  4251 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
   3  4252 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
   4  4253 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
   5  4254 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
   6  4255 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
   7  4256 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
   8  4257 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
   9  4258 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
  10  4259 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
  # … with 13,286 more rows
  # A tibble: 13,296 x 5
       row col      expected           actual file                                
     <int> <chr>    <chr>              <chr>  <chr>                               
   1  4250 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
   2  4251 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
   3  4252 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
   4  4253 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
   5  4254 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
   6  4255 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
   7  4256 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
   8  4257 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
   9  4258 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
  10  4259 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
  # … with 13,286 more rows
  # A tibble: 13,296 x 5
       row col      expected           actual file                                
     <int> <chr>    <chr>              <chr>  <chr>                               
   1  4250 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
   2  4251 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
   3  4252 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
   4  4253 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
   5  4254 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
   6  4255 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
   7  4256 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
   8  4257 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
   9  4258 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
  10  4259 route_id no trailing chara… 5X     '/home/hornik/tmp/scratch/Rtmpmq9nE…
  # … with 13,286 more rows
  ══ Skipped tests ═══════════════════════════════════════════════════════════════
  ● On CRAN (10)
  
  ══ Warnings ════════════════════════════════════════════════════════════════════
  ── Warning (test-read-gtfs.R:20:3): read_gtfs() imports a local file to a 
            list of dataframes and doesnt 
            delete the source file ──
  Parsing failures while reading trips
  Backtrace:
   1. tidytransit:::read_gtfs(local_gtfs_path) test-read-gtfs.R:20:2
   2. tidytransit:::create_gtfs_object(...)
   3. base::lapply(...)
   4. tidytransit:::FUN(X[[i]], ...)
   5. tidytransit:::read_gtfs_file(x, tmpdirpath, quiet = quiet)
   6. tidytransit:::parse_gtfs_file(prefix, full_file_path, quiet = quiet)
  ── Warning (test-read-gtfs.R:27:3): loud read_gtfs ─────────────────────────────
  Parsing failures while reading trips
  Backtrace:
   1. testthat::expect_is(...) test-read-gtfs.R:27:2
   4. tidytransit:::read_gtfs(local_gtfs_path, quiet = FALSE)
   5. tidytransit:::create_gtfs_object(...)
   6. base::lapply(...)
   7. tidytransit:::FUN(X[[i]], ...)
   8. tidytransit:::read_gtfs_file(x, tmpdirpath, quiet = quiet)
   9. tidytransit:::parse_gtfs_file(prefix, full_file_path, quiet = quiet)
  ── Warning (test-read-gtfs.R:116:3): unknown local file throws meaningful error ──
  Parsing failures while reading trips
  Backtrace:
   1. tidytransit::read_gtfs(local_gtfs_path) test-read-gtfs.R:116:2
   2. tidytransit:::create_gtfs_object(...)
   3. base::lapply(...)
   4. tidytransit:::FUN(X[[i]], ...)
   5. tidytransit:::read_gtfs_file(x, tmpdirpath, quiet = quiet)
   6. tidytransit:::parse_gtfs_file(prefix, full_file_path, quiet = quiet)
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test-raptor.R:5:1): (code run outside of `test_that()`) ──────────────
  Error: non-character argument
  Backtrace:
      █
   1. └─tidytransit::set_hms_times(g) test-raptor.R:5:0
   2.   ├─hms::hms(hhmmss_to_seconds(gtfs_obj$stop_times$arrival_time))
   3.   └─tidytransit:::hhmmss_to_seconds(gtfs_obj$stop_times$arrival_time)
   4.     ├─base::sapply(...)
   5.     │ └─base::lapply(X = X, FUN = FUN, ...)
   6.     └─base::strsplit(hhmmss_str, ":")
  
  [ FAIL 1 | WARN 3 | SKIP 10 | PASS 54 ]
  Error: Test failures
  Execution halted