tests/testthat/test_kernel.e&kernel.e.R

test_that("kernel.e() returns a double", {
  controls=test_data$controls
  output_list <- kernel.e(controls)
  expect_type(output_list,"double" )
})

test_that("kernel.g() returns a numeric", {
  controls=test_data$controls
  output_list <- kernel.g(controls)
  expect_type(output_list,"double" )
})

Try the OVL.CI package in your browser

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

OVL.CI documentation built on Nov. 14, 2023, 1:06 a.m.