From 48a532256cfe466f082c191956535045e85ea929 Mon Sep 17 00:00:00 2001 From: Johannes Ranke Date: Tue, 8 Mar 2022 05:37:49 +0100 Subject: Avoid using multiple processes on CRAN check machines --- tests/testthat/test_dmta.R | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/testthat/test_dmta.R') diff --git a/tests/testthat/test_dmta.R b/tests/testthat/test_dmta.R index 7f0a3a67..30c5d7c4 100644 --- a/tests/testthat/test_dmta.R +++ b/tests/testthat/test_dmta.R @@ -12,8 +12,8 @@ dmta_ds[["Elliot"]] <- rbind(dmta_ds[["Elliot 1"]], dmta_ds[["Elliot 2"]]) dmta_ds[["Elliot 1"]] <- dmta_ds[["Elliot 2"]] <- NULL # mkin -dmta_dfop <- mmkin("DFOP", dmta_ds, quiet = TRUE) -dmta_dfop_tc <- mmkin("DFOP", dmta_ds, error_model = "tc", quiet = TRUE) +dmta_dfop <- mmkin("DFOP", dmta_ds, quiet = TRUE, cores = n_cores) +dmta_dfop_tc <- mmkin("DFOP", dmta_ds, error_model = "tc", quiet = TRUE, cores = n_cores) test_that("Different backends get consistent results for DFOP tc, dimethenamid data", { @@ -85,7 +85,7 @@ sfo_sfo3p <- mkinmod( ) dmta_sfo_sfo3p_tc <- mmkin(list("SFO-SFO3+" = sfo_sfo3p), - dmta_ds, error_model = "tc", quiet = TRUE) + dmta_ds, error_model = "tc", quiet = TRUE, cores = n_cores) test_that("Different backends get consistent results for SFO-SFO3+, dimethenamid data", { -- cgit v1.2.1