From 6434fc856c62355f49f87b77d891ef00a38da22c Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Tue, 25 Oct 2022 22:42:45 +0200 Subject: Increase rounding in test for travis As the "const" error model parameters is stored on log scale in nlme --- tests/testthat/summary_dfop_nlme_1.txt | 2 +- tests/testthat/test_mixed.R | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'tests') 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) -- cgit v1.2.1