Skip to content

Commit

Permalink
Adjust CPU for tests (#254)
Browse files Browse the repository at this point in the history
  • Loading branch information
fontikar authored Jan 28, 2025
1 parent c4ec49c commit f91fc2e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions tests/testthat.R
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@
# * https://r-pkgs.org/tests.html
# * https://testthat.r-lib.org/reference/test_package.html#special-files

# Setting the CPU Thread limit to max 2 to meet CRAN guidelines.
Sys.setenv("OMP_THREAD_LIMIT" = 2)

library(testthat)
library(APCalign)

Expand Down

0 comments on commit f91fc2e

Please sign in to comment.