Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
ATpoint committed Nov 4, 2023
1 parent 7a5e59a commit 08d0f80
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions tests/testthat/test-circacompare_mixed.R
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,14 @@ test_that("weights work", {
# weights must be same length as nrow(x)
sw2 <- c(sw, 1)
expect_error(
circa_single_mixed(
x = df, col_time = "time", col_outcome = "measure",
col_id = "id", randomeffects = c("k"), weights = sw2
circacompare_mixed(
x = df,
col_time = "time",
col_group = "group",
col_outcome = "measure",
col_id = "id",
control = list(grouped_params = c("phi"), random_params = c("phi1")),
weights = sw2
)
)

Expand Down

0 comments on commit 08d0f80

Please sign in to comment.