aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat/test_residuals.R
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testthat/test_residuals.R')
-rw-r--r--tests/testthat/test_residuals.R3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/testthat/test_residuals.R b/tests/testthat/test_residuals.R
index cf0b11fd..f70ad224 100644
--- a/tests/testthat/test_residuals.R
+++ b/tests/testthat/test_residuals.R
@@ -10,7 +10,8 @@ test_that("Residuals are correctly returned", {
expect_equivalent(
residuals(fit_obs_1, standardized = TRUE)[1:3],
- c(-0.21771169, -0.33576060, 2.02836138))
+ c(-0.21771169, -0.33576060, 2.02836138),
+ tolerance = 1e-6)
expect_equivalent(
residuals(fit_tc_1, standardized = TRUE)[1:3],

Contact - Imprint