aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat/test_irls.R
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testthat/test_irls.R')
-rw-r--r--tests/testthat/test_irls.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testthat/test_irls.R b/tests/testthat/test_irls.R
index b86ab700..07b74078 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.1))
+ expect_true(all(abs(parm_errors_2_10_tc) < 0.15))
tcf_2_10_tc <- apply(sapply(f_2_10_tc, function(x) x$tc_fitted), 1, mean, na.rm = TRUE)

Contact - Imprint