aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat/setup_script.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2020-12-10 09:24:35 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2020-12-10 09:24:35 +0100
commitc58c14078f6a30c22863b7b9730f4afc39db4577 (patch)
tree89b9f1f42aa1a97240e130b3e3d6ceed2399aa1c /tests/testthat/setup_script.R
parentb8b60ef92c605e862294fd29c51e20e31e0ded81 (diff)
Add a test for saemix with deSolve
But skip the test as it takes too long to always run
Diffstat (limited to 'tests/testthat/setup_script.R')
-rw-r--r--tests/testthat/setup_script.R7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/testthat/setup_script.R b/tests/testthat/setup_script.R
index 4a343bc5..cfdc9277 100644
--- a/tests/testthat/setup_script.R
+++ b/tests/testthat/setup_script.R
@@ -34,9 +34,10 @@ f_1_mkin_notrans <- mkinfit("SFO", FOCUS_2006_A, quiet = TRUE,
# mmkin object of parent fits for tests
models <- c("SFO", "FOMC", "DFOP", "HS")
-fits <- mmkin(models,
- list(FOCUS_A = FOCUS_2006_A, FOCUS_C = FOCUS_2006_C, FOCUS_D = FOCUS_2006_D),
- quiet = TRUE, cores = n_cores)
+fits <- suppressWarnings( # FOCUS A FOMC was, it seems, in testthat output
+ mmkin(models,
+ list(FOCUS_A = FOCUS_2006_A, FOCUS_C = FOCUS_2006_C, FOCUS_D = FOCUS_2006_D),
+ quiet = TRUE, cores = n_cores))
# One metabolite
SFO_SFO <- mkinmod(parent = mkinsub("SFO", to = "m1"),

Contact - Imprint