Skip to content

Commit d23d79e

Browse files
committed
add more Sys..setenv and optons before calling parmigene
1 parent 83f0a22 commit d23d79e

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tests/testthat/test_methods.R

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ x_test_cut <- as.matrix(x_test[, -c(1:2)])
2121
RNGkind("Mersenne-Twister", "Inversion", "Rejection")
2222
set.seed(2025)
2323
Sys.setenv(OMP_NUM_THREADS = 1)
24+
Sys.setenv(OMP_DYNAMIC = "FALSE")
25+
Sys.setenv(MKL_NUM_THREADS = 1)
26+
options(digits = 17)
2427
stat_adj <- statistical(x_test_cut,
2528
model = c("clr", "aracne", "pearson", "spearman"))
2629
stat_adj_thr <- threshold(am = stat_adj, type = "top2", args = list(n = 10))

0 commit comments

Comments
 (0)