tests/testthat/test-utliMWRoutlier.R

test_that("Testing output logscl false", {
  x <- rnorm(20)
  result <- utilMWRoutlier(x, logscl = FALSE)
  expect_type(result, 'logical')
})

test_that("Testing output logscl true", {
  x <- rlnorm(20)
  result <- utilMWRoutlier(x, logscl = TRUE)
  expect_type(result, 'logical')
})

Try the MassWateR package in your browser

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

MassWateR documentation built on June 8, 2025, 11:20 a.m.