Running 'testthat.R' [188s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(FCO)
  > 
  > test_check("FCO")
  This is lavaan 0.6-20
  lavaan is FREE software! Please report any bugs.
   
  ###############################################################################
  This is semTools 0.5-7
  All users of R (or SEM) are invited to submit functions or ideas for functions.
  ###############################################################################
  Saving _problems/test-gen_fit-32.R
  Saving _problems/test-gen_fit-58.R
  Saving _problems/test-gen_fit-69.R
  Saving _problems/test-gen_fit-80.R
  Saving _problems/test-gen_fit-98.R
  Saving _problems/test-gen_fit-110.R
  Saving _problems/test-gen_fit-121.R
  Saving _problems/test-gen_fit-132.R
  Constraining is selected as the discriminant validity testing option given the provided arguments.
  Merging is selected as the discriminant validity testing option given the provided arguments.
  Merging is selected as the discriminant validity testing option given the provided arguments.
  Constraining is selected as the discriminant validity testing option given the provided arguments.
  Constraining is selected as the discriminant validity testing option given the provided arguments.
  Merging is selected as the discriminant validity testing option given the provided arguments.
  [ FAIL 8 | WARN 0 | SKIP 0 | PASS 65 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-gen_fit.R:32:13'): Is x a data.frame? ──────────────────────────
  Error in `serverSocket(port = port)`: creation of server socket failed: port 11414 cannot be opened
  Backtrace:
      ▆
   1. └─FCO::gen_fit(mod1 = mod, x = bb1992, rep = 10) at test-gen_fit.R:32:13
   2.   └─parallel::makePSOCKcluster(cores)
   3.     └─base::serverSocket(port = port)
  ── Error ('test-gen_fit.R:58:13'): Is standard type NM? ────────────────────────
  Error in `serverSocket(port = port)`: creation of server socket failed: port 11414 cannot be opened
  Backtrace:
      ▆
   1. └─FCO::gen_fit(mod1 = mod, x = bb1992, rep = 10) at test-gen_fit.R:58:13
   2.   └─parallel::makePSOCKcluster(cores)
   3.     └─base::serverSocket(port = port)
  ── Error ('test-gen_fit.R:64:13'): Is type HB taken over? ──────────────────────
  Error in `serverSocket(port = port)`: creation of server socket failed: port 11414 cannot be opened
  Backtrace:
      ▆
   1. └─FCO::gen_fit(mod1 = mod, x = bb1992, rep = 10, type = "HB") at test-gen_fit.R:64:13
   2.   └─parallel::makePSOCKcluster(cores)
   3.     └─base::serverSocket(port = port)
  ── Error ('test-gen_fit.R:75:13'): Is type EM taken over? ──────────────────────
  Error in `serverSocket(port = port)`: creation of server socket failed: port 11414 cannot be opened
  Backtrace:
      ▆
   1. └─FCO::gen_fit(mod1 = mod, x = bb1992, rep = 10, type = "EM") at test-gen_fit.R:75:13
   2.   └─parallel::makePSOCKcluster(cores)
   3.     └─base::serverSocket(port = port)
  ── Error ('test-gen_fit.R:93:13'): Is the result fco of gen_fit a list of matrices with two rows? ──
  Error in `serverSocket(port = port)`: creation of server socket failed: port 11414 cannot be opened
  Backtrace:
      ▆
   1. └─FCO::gen_fit(mod1 = mod, mod2 = mod2, x = bb1992, rep = 10) at test-gen_fit.R:93:13
   2.   └─parallel::makePSOCKcluster(cores)
   3.     └─base::serverSocket(port = port)
  ── Error ('test-gen_fit.R:105:13'): Is a second model accepted? ────────────────
  Error in `serverSocket(port = port)`: creation of server socket failed: port 11414 cannot be opened
  Backtrace:
      ▆
   1. └─FCO::gen_fit(mod1 = mod, mod2 = mod2, x = bb1992, rep = 10) at test-gen_fit.R:105:13
   2.   └─parallel::makePSOCKcluster(cores)
   3.     └─base::serverSocket(port = port)
  ── Error ('test-gen_fit.R:116:13'): Is type EM used when DV is TRUE? ───────────
  Error in `serverSocket(port = port)`: creation of server socket failed: port 11414 cannot be opened
  Backtrace:
      ▆
   1. └─FCO::gen_fit(mod1 = mod, x = bb1992, rep = 10, dv = TRUE) at test-gen_fit.R:116:13
   2.   └─parallel::makePSOCKcluster(cores)
   3.     └─base::serverSocket(port = port)
  ── Error ('test-gen_fit.R:127:13'): Is constraining used when DV is TRUE? ──────
  Error in `serverSocket(port = port)`: creation of server socket failed: port 11414 cannot be opened
  Backtrace:
      ▆
   1. └─FCO::gen_fit(mod1 = mod, x = bb1992, rep = 10, dv = TRUE) at test-gen_fit.R:127:13
   2.   └─parallel::makePSOCKcluster(cores)
   3.     └─base::serverSocket(port = port)
  
  [ FAIL 8 | WARN 0 | SKIP 0 | PASS 65 ]
  Error:
  ! Test failures.
  Execution halted