tests/testthat/test-sstap_lmer.R

bdf <- rbenvo::longitudinal_HFS
test_that("checks error as appropriate", {
  expect_error(sstap_lmer(BMI ~ sex + (1|id) ,
                          benvo=bdf),
               regexp = "No covariates designated as")
})
apeterson91/rsstap documentation built on April 7, 2021, 4:36 p.m.