diff options
author | Johannes Ranke <jranke@uni-bremen.de> | 2020-12-09 09:22:25 +0100 |
---|---|---|
committer | Johannes Ranke <jranke@uni-bremen.de> | 2020-12-09 09:22:25 +0100 |
commit | c51fe964d66303f531d6b593b6fe46bdfacb13b4 (patch) | |
tree | 5a1474bb46c285e690f9afbcafb3ca48ec59c88f /tests/testthat/setup_script.R | |
parent | 0517ca6179d3c4bc35cc7edcfd5de3d98aa4fd64 (diff) |
Some more tests that may work on travis now
Diffstat (limited to 'tests/testthat/setup_script.R')
-rw-r--r-- | tests/testthat/setup_script.R | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/tests/testthat/setup_script.R b/tests/testthat/setup_script.R index 9ec91425..be4e4658 100644 --- a/tests/testthat/setup_script.R +++ b/tests/testthat/setup_script.R @@ -57,26 +57,19 @@ DFOP_SFO <- mkinmod(parent = mkinsub("DFOP", to = "m1"), # Avoid warning when fitting a dataset where zero value is removed FOCUS_D <- subset(FOCUS_2006_D, value != 0) -# We do not want warnings about non-normality of residuals here -suppressWarnings( f_sfo_sfo_desolve <- mkinfit(SFO_SFO, FOCUS_D, solution_type = "deSolve", quiet = TRUE) -) -suppressWarnings( + f_sfo_sfo_eigen <- mkinfit(SFO_SFO, FOCUS_D, solution_type = "eigen", quiet = TRUE) -) -suppressWarnings( + f_sfo_sfo.ff <- mkinfit(SFO_SFO.ff, FOCUS_D, quiet = TRUE) -) SFO_lin_a <- synthetic_data_for_UBA_2014[[1]]$data DFOP_par_c <- synthetic_data_for_UBA_2014[[12]]$data -# We also suppress the warning about non-normality of residuals here, the data -# were generated with a different error model, so no wonder! -f_2_mkin <- suppressWarnings(mkinfit("DFOP", DFOP_par_c, quiet = TRUE)) +f_2_mkin <- mkinfit("DFOP", DFOP_par_c, quiet = TRUE) f_2_nls <- nls(value ~ SSbiexp(time, A1, lrc1, A2, lrc2), data = subset(DFOP_par_c, name == "parent")) f_2_anova <- lm(value ~ as.factor(time), data = subset(DFOP_par_c, name == "parent")) |