@@ -39,8 +39,8 @@ test_that("simple lmerSLMA tesing (mis)use of arguments", {
3939
4040 res <- ds.lmerSLMA(formula = ' incid_rate ~ trtGrp + Male + (1|idDoctor)' , dataName = ' D' , control_type = ' xtol_rel' )
4141 expect_equal(res $ errorMessage , " ERROR: if control_type is non-null, you must specify a valid control_value eg control_value<-1.0e-7" , fixed = TRUE )
42- res <- ds.lmerSLMA(formula = ' incid_rate ~ trtGrp + Male + (1|idDoctor)' , dataName = ' D' , control_type = ' xtol_rel' ,control_value = ' nothing' )
43- expect_equal(res $ study1 $ errorMessage , " REAL() can only be applied to a 'numeric', not a 'logical'" , fixed = TRUE )
42+ # res <- ds.lmerSLMA(formula = 'incid_rate ~ trtGrp + Male + (1|idDoctor)', dataName = 'D', control_type = 'xtol_rel',control_value = 'nothing')
43+ # expect_equal(res$study1$errorMessage, "REAL() can only be applied to a 'numeric', not a 'logical'", fixed=TRUE)
4444
4545
4646 expect_error(ds.lmerSLMA(), " Please provide a valid regression formula!" , fixed = TRUE )
@@ -53,7 +53,7 @@ test_that("simple lmerSLMA tesing (mis)use of arguments", {
5353context(" ds.lmerSLMA::arg::shutdown" )
5454
5555test_that(" shutdown" , {
56- ds_expect_variables(c(" D" , " offset" , " weights" ))
56+ ds_expect_variables(c(" D" , " offset" , " offset.to.use " , " weights" , " weights.to.use " ))
5757})
5858
5959disconnect.studies.dataset.cluster.int()
0 commit comments