tests/testthat/test-one_hot_encoding.R

test_that("onehotencoding works", {
  data("freelive2")

  ## The input must be a dataframe or matrix
  expect_error(onehotencoding(YR2))
})

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.