aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2019-10-31 12:44:52 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2019-10-31 12:44:52 +0100
commit70e48e8360875f22970174d409c46cb3f076fa99 (patch)
tree8ccfeffe486678dabc4c595bb5b0a4c7dfd89349
parent99947961be1cf0a7eed80426bc3d8cc6daa6d106 (diff)
Increase tolerance of a test for winbuilderv0.9.49.6
- Update DESCRIPTION for release
-rw-r--r--DESCRIPTION2
-rw-r--r--tests/testthat/test_tests.R2
2 files changed, 2 insertions, 2 deletions
diff --git a/DESCRIPTION b/DESCRIPTION
index 3642ac5c..13ccdb0d 100644
--- a/DESCRIPTION
+++ b/DESCRIPTION
@@ -2,7 +2,7 @@ Package: mkin
Type: Package
Title: Kinetic Evaluation of Chemical Degradation Data
Version: 0.9.49.6
-Date: 2019-10-19
+Date: 2019-10-31
Authors@R: c(person("Johannes", "Ranke", role = c("aut", "cre", "cph"),
email = "jranke@uni-bremen.de",
comment = c(ORCID = "0000-0003-4371-6538")),
diff --git a/tests/testthat/test_tests.R b/tests/testthat/test_tests.R
index 6edb4dfa..5a522f8e 100644
--- a/tests/testthat/test_tests.R
+++ b/tests/testthat/test_tests.R
@@ -5,7 +5,7 @@ test_that("The likelihood ratio test works", {
expect_error(lrtest(f_1_mkin_trans, f_2_mkin), "not been fitted to the same data")
res <- lrtest(fit_nw_1, fit_tc_1)
- expect_equal(res[["2", "Pr(>Chisq)"]], 1, tolerance = 1e-5)
+ expect_equal(res[["2", "Pr(>Chisq)"]], 1, tolerance = 1e-4)
})

Contact - Imprint