aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2022-10-25 22:42:45 +0200
committerJohannes Ranke <jranke@uni-bremen.de>2022-10-25 22:42:45 +0200
commit6434fc856c62355f49f87b77d891ef00a38da22c (patch)
tree65ca9ddae8d1705d37e53ec833c05210b5d557a5
parent6c85446cfe1a2d4592b35cc4b1bac9400771ea07 (diff)
Increase rounding in test for travis
As the "const" error model parameters is stored on log scale in nlme
-rw-r--r--tests/testthat/summary_dfop_nlme_1.txt2
-rw-r--r--tests/testthat/test_mixed.R2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/testthat/summary_dfop_nlme_1.txt b/tests/testthat/summary_dfop_nlme_1.txt
index 1ea5f3b7..cfee552a 100644
--- a/tests/testthat/summary_dfop_nlme_1.txt
+++ b/tests/testthat/summary_dfop_nlme_1.txt
@@ -55,7 +55,7 @@ Variance function:
Formula: ~fitted(.)
Parameter estimates:
const prop
- 0.9227564 -0.0480500
+ 0.9227472 -0.0480500
Backtransformed parameters with asymmetric confidence intervals:
lower est. upper
diff --git a/tests/testthat/test_mixed.R b/tests/testthat/test_mixed.R
index 4488f2e2..ce142875 100644
--- a/tests/testthat/test_mixed.R
+++ b/tests/testthat/test_mixed.R
@@ -12,7 +12,7 @@ test_that("nlme results are reproducible to some degree", {
# Round error model parameters as they are not rounded in the summary
dfop_nlme_1$modelStruct$varStruct$const <-
- signif(dfop_nlme_1$modelStruct$varStruct$const, 4)
+ signif(dfop_nlme_1$modelStruct$varStruct$const, 3)
dfop_nlme_1$modelStruct$varStruct$prop <-
signif(dfop_nlme_1$modelStruct$varStruct$prop, 4)
test_summary <- summary(dfop_nlme_1)

Contact - Imprint