aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat/test_residuals.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2020-04-09 11:14:27 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2020-04-09 11:14:27 +0200
commit0975312b6ec12abc042e84b76ea28100aacf4c3b (patch)
tree87a24120e74dce65e21d325da27ae801b06e7033 /tests/testthat/test_residuals.R
parent2742d752ac85f7dcf8f8907ecb763bffb2b8fba4 (diff)
Travis: Reduce another test tolerance
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