tests/testthat/test-make_whole_fast.R

context("Test make_whole_fast.R")

test_that("make_whole_fast() returns a three column data.table", {
  sst_Med_prep <- sst_Med
  names(sst_Med_prep) <- c("ts_x", "ts_y")
  expect_is(make_whole_fast(sst_Med_prep), "data.table")
  expect_equal(ncol(make_whole_fast(sst_Med_prep)), 3)
})

Try the heatwaveR package in your browser

Any scripts or data that you put into this service are public.

heatwaveR documentation built on April 11, 2025, 5:49 p.m.