tests/testthat/test-SEM.R

# # Don't pull this if it's too simple
# out1 <- SEM(x = mtcars$wt)
# saveRDS(list(out1=out1),file = 'tests/testthat/SEM_out.rda')
test_that("SEM_() with defaults", {
  expected <- readRDS('SEM_out.rda')
  expect_equal(SEM(mtcars$wt), expected[[1]])
  
})

Try the wrappedtools package in your browser

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

wrappedtools documentation built on Sept. 24, 2023, 5:06 p.m.