diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testthat/test_irls.R | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testthat/test_irls.R b/tests/testthat/test_irls.R index 90d9cb95..8c333b8a 100644 --- a/tests/testthat/test_irls.R +++ b/tests/testthat/test_irls.R @@ -71,7 +71,7 @@ test_that("Reweighting method 'tc' works", { cores = if (Sys.getenv("TRAVIS") != "") 1 else 15) parms_2_10_tc <- apply(sapply(f_2_10_tc, function(x) x$bparms.optim), 1, mean) parm_errors_2_10_tc <- (parms_2_10_tc - parms_DFOP_optim) / parms_DFOP_optim - expect_true(all(abs(parm_errors_2_10_tc) < 0.15)) + expect_true(all(abs(parm_errors_2_10_tc) < 0.2)) tcf_2_10_tc <- apply(sapply(f_2_10_tc, function(x) x$tc_fitted), 1, mean, na.rm = TRUE) |