From 9c87bd68e2eb0342bc53d11fe2c3920a2e903d16 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 10 Dec 2020 10:14:07 +0100 Subject: Tried to find a fast test for deSolve in saemix But could not find one. --- tests/testthat/test_mixed.R | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/testthat/test_mixed.R') diff --git a/tests/testthat/test_mixed.R b/tests/testthat/test_mixed.R index 05632c6f..41e8160a 100644 --- a/tests/testthat/test_mixed.R +++ b/tests/testthat/test_mixed.R @@ -134,6 +134,12 @@ test_that("saem results are reproducible for biphasic fits", { expect_true(all(ci_dfop_sfo_s_m[no_k2, "lower"] < dfop_sfo_pop[no_k2])) expect_true(all(ci_dfop_sfo_s_m[no_k1, "upper"] > dfop_sfo_pop[no_k1])) + # I tried to only do few iterations in routine tests as this is so slow + # but then deSolve fails at some point (presumably at the switch between + # the two types of iterations) + #saem_biphasic_2 <- saem(mmkin_biphasic, solution_type = "deSolve", + # control = list(nbiter.saemix = c(10, 5), nbiter.burn = 5), quiet = TRUE) + skip("Fitting with saemix takes around 10 minutes when using deSolve") saem_biphasic_2 <- saem(mmkin_biphasic, solution_type = "deSolve", quiet = TRUE) -- cgit v1.2.1