tests/testthat/test-my_lm.R

test_that("Returns a list(dataframe is of type list in r)", {
  data(mtcars)
  x <- my_lm(mpg ~ hp + wt, data = mtcars)
  expect_type(x, "list")
})
yiqunl2-1863642/Project3Package documentation built on Dec. 23, 2021, 8:11 p.m.