aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/testthat/FOCUS_2006_D.csf2
-rw-r--r--tests/testthat/test_residuals.R4
2 files changed, 3 insertions, 3 deletions
diff --git a/tests/testthat/FOCUS_2006_D.csf b/tests/testthat/FOCUS_2006_D.csf
index 818c055a..81a4ed74 100644
--- a/tests/testthat/FOCUS_2006_D.csf
+++ b/tests/testthat/FOCUS_2006_D.csf
@@ -5,7 +5,7 @@ Description:
MeasurementUnits: % AR
TimeUnits: days
Comments: Created using mkin::CAKE_export
-Date: 2020-04-18
+Date: 2020-04-20
Optimiser: IRLS
[Data]
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