aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat/test_mixed.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2021-02-06 09:23:48 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2021-02-06 09:23:48 +0100
commitdf2beb74dcb6a65d6b066b55ccd7373dd79a6dab (patch)
tree77cabd09deb7bd07c0a1129f39dcde245245b8da /tests/testthat/test_mixed.R
parentac183c732317cf6ede26a2ee127604a407f0a6b3 (diff)
Address issue revealed by additional tests on CRAN
Remove tests relying on non-convergence of the FOMC fit to the FOCUS A dataset, as this is platform dependent. After the upgrade, the fit converges on this system as well, although neither ATLAS is used, nor R was configured disabling long doubles (these were the conditions under which the tests failed on CRAN).
Diffstat (limited to 'tests/testthat/test_mixed.R')
-rw-r--r--tests/testthat/test_mixed.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testthat/test_mixed.R b/tests/testthat/test_mixed.R
index ca0072ef..6f28d0c3 100644
--- a/tests/testthat/test_mixed.R
+++ b/tests/testthat/test_mixed.R
@@ -1,7 +1,7 @@
context("Nonlinear mixed-effects models")
test_that("Print methods work", {
- expect_known_output(print(fits, digits = 2), "print_mmkin_parent.txt")
+ expect_known_output(print(fits[, 2:3], digits = 2), "print_mmkin_parent.txt")
expect_known_output(print(mmkin_biphasic_mixed, digits = 2), "print_mmkin_biphasic_mixed.txt")
expect_known_output(print(nlme_biphasic, digits = 1), "print_nlme_biphasic.txt")
})

Contact - Imprint