aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat/test_analytical.R
diff options
context:
space:
mode:
Diffstat (limited to 'tests/testthat/test_analytical.R')
-rw-r--r--tests/testthat/test_analytical.R5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/testthat/test_analytical.R b/tests/testthat/test_analytical.R
index a34fa2cd..66fb1ace 100644
--- a/tests/testthat/test_analytical.R
+++ b/tests/testthat/test_analytical.R
@@ -1,5 +1,8 @@
context("Analytical solutions for coupled models")
+# We do not want the warnings due to non-normality of residuals here
+warn_option <- options(warn=-1)
+
test_that("The analytical solutions for SFO-SFO are correct", {
# No sink, no formation fractions
SFO_SFO_nosink <- mkinmod(
@@ -58,3 +61,5 @@ test_that("The analytical solution for DFOP-SFO are correct", {
tolerance = 5e-6
)
})
+
+options(warn = warn_option$warn)

Contact - Imprint