From 4c3ce8a3e77969162a6717cb2c5d2dd9f02ef1c9 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Thu, 13 Feb 2025 14:57:25 +0100 Subject: Restrict number of cores for CRAN checks --- tests/testthat/test_saemix_parent.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/testthat') diff --git a/tests/testthat/test_saemix_parent.R b/tests/testthat/test_saemix_parent.R index 88b406b6..8ac04614 100644 --- a/tests/testthat/test_saemix_parent.R +++ b/tests/testthat/test_saemix_parent.R @@ -165,7 +165,7 @@ test_that("illparms finds a single random effect that is ill-defined", { c(parent = sfo_pop$parent_0), sampling_times) add_err(ds_mean, tc, n = 1)[[1]] }) - m_mmkin <- mmkin("SFO", ds_sfo, error_model = "tc", quiet = TRUE) + m_mmkin <- mmkin("SFO", ds_sfo, error_model = "tc", quiet = TRUE, cores = n_cores) m_saem_1 <- saem(m_mmkin) expect_equal( as.character(illparms(m_saem_1)), -- cgit v1.2.1