tests/testthat/test-convert_to_factors.R

test_that("Factor conversion message works", {
  expect_message(.convert_to_factors(mtcars, "cyl"),
                 regexp = "Converting to factors")
})

Try the contrastable package in your browser

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

contrastable documentation built on Oct. 1, 2024, 5:07 p.m.