diff --git a/tests/testthat/test-survey.R b/tests/testthat/test-survey.R index 5660646e9..9b9993d17 100644 --- a/tests/testthat/test-survey.R +++ b/tests/testthat/test-survey.R @@ -5,7 +5,7 @@ withr::with_environment( new.env(), test_that("model_parameters svytable", { # svychisq is called in model_parameters - svychisq <- survey::svychisq + svychisq <<- survey::svychisq data(api, package = "survey") dclus1 <- survey::svydesign(id = ~dnum, weights = ~pw, data = apiclus1, fpc = ~fpc)