tests/testthat/test_removeOutliers.R

test_that("removeOutliers value has the same length as the input vector", {
    data("airquality")
    expect_length(removeOutliers(airquality$Wind, k = 1),
                  length(airquality$Wind))
})

Try the simulariatools package in your browser

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

simulariatools documentation built on Nov. 8, 2023, 5:07 p.m.