tests/testthat/test-data.R

test_that("data utils work", {
	x <- mtcars$carb
	x[2:3] <- NA
	expect_equal(number_of_missing(x), 2)

})

Try the rmdl package in your browser

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

rmdl documentation built on May 29, 2024, 5:53 a.m.