tests/testthat/test_1-0-0_drop_colr.R

context("drop_colr")

test_that("Simple error handling", {
  DF <- data.frame(x = 1, y = 2)
  expect_error(drop_colr(DF, "x"))
})
HughParsonage/hutils documentation built on Feb. 12, 2023, 8:26 a.m.