aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/testthat/NAFTA_SOP_Appendix_B.txt2
-rw-r--r--tests/testthat/NAFTA_SOP_Appendix_D.txt2
-rw-r--r--tests/testthat/test_mkinfit_errors.R1
3 files changed, 3 insertions, 2 deletions
diff --git a/tests/testthat/NAFTA_SOP_Appendix_B.txt b/tests/testthat/NAFTA_SOP_Appendix_B.txt
index 9c072d58..294ea09f 100644
--- a/tests/testthat/NAFTA_SOP_Appendix_B.txt
+++ b/tests/testthat/NAFTA_SOP_Appendix_B.txt
@@ -35,4 +35,4 @@ IORE 1.37 28.5 8.57
DFOP 2.17 39.9 54.40
Representative half-life:
-[1] 8.573302
+[1] 8.57
diff --git a/tests/testthat/NAFTA_SOP_Appendix_D.txt b/tests/testthat/NAFTA_SOP_Appendix_D.txt
index ad650a5f..375830b7 100644
--- a/tests/testthat/NAFTA_SOP_Appendix_D.txt
+++ b/tests/testthat/NAFTA_SOP_Appendix_D.txt
@@ -35,4 +35,4 @@ IORE 541 5190000 1560000
DFOP 429 2380 841
Representative half-life:
-[1] 841.4094
+[1] 841.41
diff --git a/tests/testthat/test_mkinfit_errors.R b/tests/testthat/test_mkinfit_errors.R
index fa029d93..8adb05c1 100644
--- a/tests/testthat/test_mkinfit_errors.R
+++ b/tests/testthat/test_mkinfit_errors.R
@@ -75,6 +75,7 @@ test_that("We get reproducible output if quiet = FALSE", {
test_that("We get warnings in case of overparameterisation", {
skip_on_cran() # On winbuilder the following fit does not give a warning
+ skip_on_travis() # Neither on travis
expect_warning(f <- mkinfit("FOMC", FOCUS_2006_A, quiet = TRUE), "not converge")
# We do get Hessians and the related output after the switch to using numDeriv::hessian()
#s2 <- expect_warning(summary(mkinfit("DFOP", FOCUS_2006_A, quiet = TRUE)), "singular system")

Contact - Imprint