tests/testthat/test-gap_filling.R

test_that("test lin_interp()", {
  expect_identical(lin_interp(c(1, 2, NA, 4, NA, 6)), as.double(1:6))
})
palderman/weathRman documentation built on Nov. 9, 2024, 3:06 p.m.