tests/testthat/test-preProcess.R

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

  ## The trans shoulw be either 'log', 'sqrt', 'none'
  expect_error(
  preProcess(XRVIP2,
             trans="center")
  )
})

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.