tests/testthat/test-nearZeroVar.R

test_that("nearZeroVar works", {

  ### All data needs to be numerice
data("mosquito")
## The input needs to be a dataframe
  expect_error(
  nearZeroVar(Yotu)
  )
})

Try the MUVR2 package in your browser

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

MUVR2 documentation built on Sept. 16, 2024, 9:06 a.m.