tests/testthat/test_download_ontime.R

library(skynet)

context("Test Download Ontime")

test_that("Download Ontime", {
  skip_on_cran()
  download_ontime(2011, 1)
  expect_output(str(nrow(ontime_2011_1)), "494400")
  expect_length(ontime_2011_1, 26)
})
FilipeamTeixeira/skynet documentation built on Nov. 3, 2022, 5:36 p.m.