tests/testthat/test-apply_base_algorithm.R

context("apply_base_algorithm")

test_that("Warning for wrong algorithm choice", {
  expect_error(
    apply_base_algorithm(tsAirgap, algorithm = "wrongAlgorithm")
  )
})

Try the imputeTS package in your browser

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

imputeTS documentation built on Sept. 9, 2022, 9:05 a.m.