diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2019-10-31 02:20:56 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2019-10-31 02:20:56 +0100 |
commit | 59750fd0438ccaa5c6612990660181210f8594f2 (patch) | |
tree | e47184b37d97bb481683a4c26ff99145dd169bf1 /tests/testthat/test_residuals.R | |
parent | 7091d3738e7e55acb20edb88772b228f6f5b6c98 (diff) |
Increase numeric tolerance of three tests for Travis
Diffstat (limited to 'tests/testthat/test_residuals.R')
-rw-r--r-- | tests/testthat/test_residuals.R | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testthat/test_residuals.R b/tests/testthat/test_residuals.R index 0fe05b4f..275b33b9 100644 --- a/tests/testthat/test_residuals.R +++ b/tests/testthat/test_residuals.R @@ -4,5 +4,5 @@ test_that("Residuals are correctly returned", { f <- fits[["FOMC", "FOCUS_C"]] expect_equal(residuals(f)[1:3], c(-0.7748906, 2.7090589, -1.9451989)) - expect_equivalent(residuals(f_tc_2, standardized = TRUE)[1:3], c(0.52579103, 0.40714911, 1.66394233)) + expect_equivalent(residuals(f_tc_2, standardized = TRUE)[1:3], c(0.52579103, 0.40714911, 1.66394233), tolerance = 0.0001) }) |