tests/testthat/test-filter_greater_than.R

test_that("filter_greater_than", {
  filtered_data <- filter_all(
    iris,
    list(
      type = "GT",
      value = 5,
      column = "Sepal.Length"
    )
  )
  expect_true(all(filtered_data$passed$Sepal.Length > 5))
})

Try the eider package in your browser

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

eider documentation built on May 29, 2024, 7:27 a.m.