test_that("bus stop schedule for single stop", { skip_if_no_key() Sys.sleep(0.11) d <- bus_departs(StopID = 1000001) expect_length(d, 9) expect_s3_class(d, "data.frame") expect_s3_class(d$ScheduleTime, "POSIXct") })