Skip to content

Commit

Permalink
test hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
jakub-jedrusiak committed Jun 1, 2023
1 parent a3d4bc3 commit e33f16f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-mtscr_model.R
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ test_that("works the same with quoted and unquoted column names", {
res_unquoted <- mtscr_model(mtscr_creativity, id, item, SemDis_MEAN)

# check that the two results are the same
expect_equal(mtscr_model_summary(res_quoted), mtscr_model_summary(res_unquoted))
expect_equal(mtscr_model_summary(res_quoted), mtscr_model_summary(res_unquoted), tolerance = 0.0001)
})

# Test that works if item column is omitted
Expand All @@ -164,4 +164,4 @@ test_that("works if item column is omitted", {

# check that results are the same
expect_equal(glmmTMB::ranef(result_item), glmmTMB::ranef(result_no_item))
})
})

0 comments on commit e33f16f

Please sign in to comment.