tests/testthat/test-load_data.R

library(noarr)
library(testthat)

test_that("Data can be pulled in raw form and loaded into memory", {
  df <- load_data()
  expect_equal(dim(df)[1], 5979)
  expect_true("data.frame" %in% class(df))
})
lakrobinson/noaar documentation built on Oct. 1, 2020, 12:49 p.m.