diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2020-12-10 10:14:07 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2020-12-10 10:14:07 +0100 |
commit | 9c87bd68e2eb0342bc53d11fe2c3920a2e903d16 (patch) | |
tree | d88fdec4b95b6aa9be4ab97d7abcd5b483a795de /tests/testthat/test_mixed.R | |
parent | c58c14078f6a30c22863b7b9730f4afc39db4577 (diff) |
Tried to find a fast test for deSolve in saemix
But could not find one.
Diffstat (limited to 'tests/testthat/test_mixed.R')
-rw-r--r-- | tests/testthat/test_mixed.R | 6 |
1 files changed, 6 insertions, 0 deletions
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) |