Skip to content

Commit ea31f8e

Browse files
Merge pull request #57 from StuartWheater/v6.3.2-test
V6.3.2 test
2 parents 4d9c5ed + 71aa93a commit ea31f8e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/testthat/test-arg-ds.lmerSLMA.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -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)

0 commit comments

Comments
 (0)