From 0d8521f3f60082f0fd27da00a7ac8bcef9ee5ba0 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Wed, 26 Oct 2022 00:57:40 +0200 Subject: Make multistart work with testthat scopes Also skip long-running test with saem using the analytical from mkin --- tests/testthat/test_saemix_parent.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/testthat/test_saemix_parent.R') diff --git a/tests/testthat/test_saemix_parent.R b/tests/testthat/test_saemix_parent.R index 4504e573..d8b6b19e 100644 --- a/tests/testthat/test_saemix_parent.R +++ b/tests/testthat/test_saemix_parent.R @@ -140,7 +140,7 @@ test_that("We can also use mkin solution methods for saem", { expect_error(saem(mmkin_dfop_1, quiet = TRUE, transformations = "saemix", solution_type = "analytical"), "saemix transformations is only supported if an analytical solution is implemented" ) - skip_on_cran() # This still takes almost 2.5 minutes although we do not solve ODEs + skip("This still takes almost 2.5 minutes although we do not solve ODEs") dfop_saemix_3 <- saem(mmkin_dfop_1, quiet = TRUE, transformations = "mkin", solution_type = "analytical", no_random_effect = "parent_0") distimes_dfop <- endpoints(dfop_saemix_1)$distimes -- cgit v1.2.1