diff options
| author | Johannes Ranke <jranke@uni-bremen.de> | 2022-07-12 14:44:55 +0200 |
|---|---|---|
| committer | Johannes Ranke <jranke@uni-bremen.de> | 2022-07-12 14:44:55 +0200 |
| commit | ab502a6aeacda7c70abe52b8c16e2a15f592a6ed (patch) | |
| tree | 2b4c7fe3b2ba177ecad2d5ed94d1b97dae72dcce /tests/testthat/setup_script.R | |
| parent | ac88a2fd793288d1d99046d32400974db82d85ea (diff) | |
Tests before releasev1.1.1
Diffstat (limited to 'tests/testthat/setup_script.R')
| -rw-r--r-- | tests/testthat/setup_script.R | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testthat/setup_script.R b/tests/testthat/setup_script.R index 8ffe0b9d..62cdf78e 100644 --- a/tests/testthat/setup_script.R +++ b/tests/testthat/setup_script.R @@ -1,7 +1,7 @@ require(mkin) require(testthat) -# Per default (on my box where I set NOT_CRAN) use all cores minus one +# Per default (on my box where I set NOT_CRAN in .Rprofile) use all cores minus one if (identical(Sys.getenv("NOT_CRAN"), "true")) { n_cores <- parallel::detectCores() - 1 } else { |
