Running ‘testthat.R’ [11s/22s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # NOTE: This will not test an uninstalled package.
  > library(testthat)
  > test_check('ifaTools')
  Loading required package: ifaTools
  Loading required package: shiny
  Loading required package: ggplot2
  Loading required package: reshape2
  Loading required package: rpf
  Loading required package: parallel
  Loading required package: OpenMx
  To take full advantage of multiple cores, use:
    mxOption(NULL, 'Number of Threads', parallel::detectCores()) #now
    Sys.setenv(OMP_NUM_THREADS=parallel::detectCores()) #before library(OpenMx)
  Welcome to ifaTools!
   Use itemModelExplorer() to explore item models.
   Use modelBuilder() to build an IFA model.
  [1] "/home/ripley/R/packages/tests32/ifaTools.Rcheck/tests/testthat"
  ── 1. Error: addExploratoryFactors (@test-addExploratoryFactor.R#76)  ──────────
  Column 'freq' is integer, not real
  1: mxRun(m1, silent = TRUE) at testthat/test-addExploratoryFactor.R:76
  2: runHelper(model, frontendStart, intervals, silent, suppressWarnings, unsafe, checkpoint, 
         useSocket, onlyFrontend, useOptimizer)
  
  ── 2. Error: univariatePrior  ──────────────────────────────────────────────────
  C stack usage  228260376 is too close to the limit
  1: test_code(desc, code, env = parent.frame())
  2: tryCatch(withCallingHandlers({
         eval(code, test_env)
         if (!handled && !is.null(test)) {
             skip_empty()
         }
     }, expectation = handle_expectation, skip = handle_skip, warning = handle_warning, 
         message = handle_message, error = handle_error), error = handle_fatal, skip = function(e) {
     })
  3: tryCatchList(expr, classes, parentenv, handlers)
  4: tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh], 
         parentenv, handlers[[nh]])
  5: doTryCatch(return(expr), name, parentenv, handler)
  6: tryCatchList(expr, names[-nh], parentenv, handlers[-nh])
  7: tryCatchOne(expr, names, parentenv, handlers[[1L]])
  8: value[[3L]](cond)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 4 SKIPPED: 0 FAILED: 2
  1. Error: addExploratoryFactors (@test-addExploratoryFactor.R#76) 
  2. Error: univariatePrior 
  
  Error: testthat unit tests failed
  Execution halted