aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat/test_residuals.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2020-04-20 08:25:27 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2020-04-20 08:25:27 +0200
commit5526bf5ba6b003c6dae842f7f03f33c1648c9551 (patch)
treea2c655b4d81856219f63aa8d8a94991493238791 /tests/testthat/test_residuals.R
parentfe0601aa4c729466e9c4d3219aa6cf1bf0f96955 (diff)
Increase test tolerance for residuals
This was done to address the test failure on r-devel-linux-x86_64-debian-gcc on CRAN
Diffstat (limited to 'tests/testthat/test_residuals.R')
-rw-r--r--tests/testthat/test_residuals.R4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testthat/test_residuals.R b/tests/testthat/test_residuals.R
index f70ad224..d9974d86 100644
--- a/tests/testthat/test_residuals.R
+++ b/tests/testthat/test_residuals.R
@@ -11,10 +11,10 @@ test_that("Residuals are correctly returned", {
expect_equivalent(
residuals(fit_obs_1, standardized = TRUE)[1:3],
c(-0.21771169, -0.33576060, 2.02836138),
- tolerance = 1e-6)
+ tolerance = 1e-5)
expect_equivalent(
residuals(fit_tc_1, standardized = TRUE)[1:3],
c(-0.2474499, -0.3794267, 2.2749216),
- tolerance = 1e-6)
+ tolerance = 1e-5)
})

Contact - Imprint