aboutsummaryrefslogtreecommitdiff
path: root/tests/testthat
diff options
context:
space:
mode:
authorJohannes Ranke <jranke@uni-bremen.de>2022-03-08 05:37:49 +0100
committerJohannes Ranke <jranke@uni-bremen.de>2022-03-08 11:45:42 +0100
commit48a532256cfe466f082c191956535045e85ea929 (patch)
tree0aaacc25e218388ce2b1e691dedfe3403530c29a /tests/testthat
parent23b40b522a9733b66868a75db66b9c0e8ecb51e7 (diff)
Avoid using multiple processes on CRAN check machines
Diffstat (limited to 'tests/testthat')
-rw-r--r--tests/testthat/test_dmta.R6
1 files changed, 3 insertions, 3 deletions
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", {

Contact - Imprint