Running 'testthat.R' [15s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(TRexSelector)
  > 
  > test_check("TRexSelector")
  
   Appended dummies: 100 
  
   Appended dummies: 200 
  
   Included dummies before stopping: 2 
  
   Included dummies before stopping: 3 
  
   Appended dummies: 100 
  
   Appended dummies: 200 
  
   Included dummies before stopping: 2 
  
   Included dummies before stopping: 3 
  
   Appended dummies: 100 
  
   Appended dummies: 200 
  
   Included dummies before stopping: 2 
  
   Included dummies before stopping: 3 
  
   Appended dummies: 100 
  
   Appended dummies: 200 
  
   Included dummies before stopping: 2 
  
   Included dummies before stopping: 3 
  
   Appended dummies: 100 
  
   Appended dummies: 200 
  
   Included dummies before stopping: 2 
  
   Included dummies before stopping: 3 
  
   Appended dummies: 100 
  
   Appended dummies: 200 
  
   Included dummies before stopping: 2 
  
   Included dummies before stopping: 3 
  Computing random experiments in parallel...
              Note that this is only advantageous if you have at least a few thousand predictors and/or data points in 'X'.
              Otherwise, the overhead will slow down the computations in parallel. Thus, for small data sizes it is better
              to set parallel_process = FALSE.
  
        Be careful!
  Computing random experiments in parallel...
              Note that this is only advantageous if you have at least a few thousand predictors and/or data points in 'X'.
              Otherwise, the overhead will slow down the computations in parallel. Thus, for small data sizes it is better
              to set parallel_process = FALSE.
  
        Be careful!
  
   Appended dummies: 100 
  
   Appended dummies: 200 
  
   Included dummies before stopping: 2 
  
   Included dummies before stopping: 3 
  
   Appended dummies: 100 
  
   Appended dummies: 200 
  
   Appended dummies: 300 
  
   Appended dummies: 400 
  
   Appended dummies: 500 
  
   Appended dummies: 600 
  
   Appended dummies: 700 
  
   Included dummies before stopping: 2 
  
   Included dummies before stopping: 3 
  
   Included dummies before stopping: 4 
  
   Included dummies before stopping: 5 
  
   Included dummies before stopping: 6 
  
   Included dummies before stopping: 7 
  
   Included dummies before stopping: 8 
  
   Included dummies before stopping: 9 
  
   Included dummies before stopping: 10 
  
   Included dummies before stopping: 11 
  
   Included dummies before stopping: 12 
  
   Included dummies before stopping: 13 
  
   Included dummies before stopping: 14 
  
   Included dummies before stopping: 15 
  
   Included dummies before stopping: 16 
  
   Included dummies before stopping: 17 
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 115 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-random_experiments.R:360:3'): reasonable number of workers is registered for parallel processing ──
  Error in `serverSocket(port = port)`: creation of server socket failed: port 11871 cannot be opened
  Backtrace:
       ▆
    1. ├─testthat::expect_message(...) at test-random_experiments.R:360:3
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. └─TRexSelector::random_experiments(...)
    8.   └─parallel::makeCluster(parallel_max_cores)
    9.     └─parallel::makePSOCKcluster(names = spec, ...)
   10.       └─base::serverSocket(port = port)
  ── Error ('test-random_experiments.R:391:3'): error control for input parallel_process works ──
  Error in `serverSocket(port = port)`: creation of server socket failed: port 11871 cannot be opened
  Backtrace:
       ▆
    1. ├─testthat::expect_message(...) at test-random_experiments.R:391:3
    2. │ └─testthat:::expect_condition_matching(...)
    3. │   └─testthat:::quasi_capture(...)
    4. │     ├─testthat (local) .capture(...)
    5. │     │ └─base::withCallingHandlers(...)
    6. │     └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo))
    7. └─TRexSelector::random_experiments(...)
    8.   └─parallel::makeCluster(parallel_max_cores)
    9.     └─parallel::makePSOCKcluster(names = spec, ...)
   10.       └─base::serverSocket(port = port)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 115 ]
  Error: Test failures
  Execution halted