Running ‘testthat.R’ [87m/45m]
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())
  [1] "/home/ripley/R/packages/tests32/ifaTools.Rcheck/tests/testthat"
  1. Failure: addExploratoryFactors (@test-addExploratoryFactor.R#80) ------------
  m1$output$fit - m2$output$fit not equal to 115.39.
  1/1 mismatches
  [1] NA - 115 == NA
  
  
  2. Failure: univariatePrior (@test-prior.R#28) ---------------------------------
  m2$output$gradient not equal to m3$output$gradient.
  1/1 mismatches
  [1] 0.5 - 367980 == -367979
  
  
  3. Failure: univariatePrior (@test-prior.R#28) ---------------------------------
  m2$output$hessian not equal to m3$output$hessian.
  1/1 mismatches
  [1] 2.1 - 4.92e+10 == -4.92e+10
  
  
  
   *** caught segfault ***
  address 0, cause 'memory not mapped'
  Warning: stack imbalance in 'lazyLoadDBfetch', 140 then 141
  Error: R_Reprotect: only 91 protected items, can't reprotect index 91
  Warning: stack imbalance in '$', 82 then 66
  Warning: stack imbalance in '{', 37 then 43
  
   *** caught segfault ***
  address 73747468, cause 'memory not mapped'
  
  Traceback:
   1: with_reporter(reporter = current_reporter, results <- lapply(paths,     test_file, env = env, reporter = current_reporter, start_end_reporter = FALSE,     load_helpers = FALSE))
   2: test_files(paths, reporter = reporter, env = env, ...)
   3: test_dir(test_path, reporter = reporter, env = env, filter = filter,     ...)
   4: with_top_env(env, {    test_dir(test_path, reporter = reporter, env = env, filter = filter,         ...)})
   5: run_tests(package, test_path, filter, reporter, ...)
   6: test_check("ifaTools")
  An irrecoverable exception occurred. R is aborting now ...