Skip to content

Commit 0bd9c26

Browse files
authored
Merge pull request #615 from bastistician/fix_tests_mc_cores
fix test error under MC_CORES > 1
2 parents 41f8f03 + 64b82cc commit 0bd9c26

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/testthat/test_apa_print_merMod.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ test_that(
216216
captured <- capture_output({
217217
mixed_KR <- afex::mixed(formula = yield ~ N * P + (1|block), data = npk, method = "KR")
218218
mixed_S <- afex::mixed(formula = yield ~ N * P + (1|block), data = npk, method = "S")
219-
mixed_PB <- afex::mixed(formula = yield ~ N * P + (1|block), data = npk, method = "PB", args_test = list(nsim = 50))
219+
mixed_PB <- afex::mixed(formula = yield ~ N * P + (1|block), data = npk, method = "PB", args_test = list(nsim = 50, cl = 1))
220220
mixed_LRT <- afex::mixed(formula = yield ~ N * P + (1|block), data = npk, method = "LRT")
221221
})
222222
#

0 commit comments

Comments
 (0)