aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat/test_multistart.R
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2022-11-16 22:44:34 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2022-11-16 22:44:34 +0100
commit90354f5cd9e095f9ef98424689a2716770b248d4 (patch)
tree6e9944b10a2374a81c0fffd6ade5c5383b833832 /tests/testthat/test_multistart.R
parent26a4b9e03fe0f3d8e777ad52f97685a98ff4462e (diff)
Reduce testing on CRAN serversv1.2.0
Diffstat (limited to 'tests/testthat/test_multistart.R')
-rw-r--r--tests/testthat/test_multistart.R2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testthat/test_multistart.R b/tests/testthat/test_multistart.R
index 5803b62c..98d3fb6d 100644
--- a/tests/testthat/test_multistart.R
+++ b/tests/testthat/test_multistart.R
@@ -1,6 +1,7 @@
context("Multistart method for saem.mmkin models")
test_that("multistart works for saem.mmkin models", {
+ skip_on_cran() # Save CRAN time
set.seed(123456)
saem_sfo_s_multi <- multistart(sfo_saem_1_reduced, n = 8, cores = n_cores,
no_random_effect = "parent_0")
@@ -16,7 +17,6 @@ test_that("multistart works for saem.mmkin models", {
expect_equal(round(anova_sfo, 1)["best(saem_sfo_s_multi)", "AIC"], 1309.7)
expect_true(anova_sfo[3, "Pr(>Chisq)"] > 0.2) # Local: 1, CRAN: 0.4
- skip_on_cran() # Save CRAN time
set.seed(123456)
saem_biphasic_m_multi <- multistart(saem_biphasic_m, n = 8,
cores = n_cores)

Contact - Imprint