Skip to content

Commit

Permalink
Explicitly set mse in unit test.
Browse files Browse the repository at this point in the history
  • Loading branch information
bschneidr committed Mar 9, 2024
1 parent d0bd14c commit 33ddeb7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/testthat/test-calibrate_to_estimate.R
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
set.seed(1999)

primary_survey <- svydesign(id=~dnum, weights=~pw, data=apiclus1, fpc=~fpc) |>
as.svrepdesign(type = "JK1")
as.svrepdesign(type = "JK1", mse = FALSE)

control_survey <- svydesign(id = ~ 1, fpc = ~fpc, data = apisrs) |>
as.svrepdesign(type = "JK1")
as.svrepdesign(type = "JK1", mse = FALSE)

test_that("Basic example gives correct results", {

Expand Down

0 comments on commit 33ddeb7

Please sign in to comment.