tests/testthat/test-my_lm.R

data(mtcars)
test_that("returns output of correct type", {
  expect_type(my_lm(formula = mpg ~ hp + wt, data = mtcars), "double")
})
achew20/project3Package2021 documentation built on Dec. 18, 2021, 10:22 p.m.