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"))
})

Try the hutils package in your browser

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

hutils documentation built on Aug. 20, 2018, 9:04 a.m.