tests/testthat/test-check_augment_resid_presence.R

context("test-check_augment_resid_presence")

# if the response is in the passed data and .fitted is in the BLAH,
# should get a .resid column

test_that("multiplication works", {
  expect_equal(2 * 2, 4)
})

Try the modeltests package in your browser

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

modeltests documentation built on Jan. 16, 2021, 5:38 p.m.