Running ‘testthat.R’ [226s/259s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(tidySEM)
  Loading required package: OpenMx
  To take full advantage of multiple cores, use:
    mxOption(key='Number of Threads', value=parallel::detectCores()) #now
    Sys.setenv(OMP_NUM_THREADS=parallel::detectCores()) #before library(OpenMx)
  > library(MplusAutomation)
  Version:  1.0.0
  We work hard to write this free software. Please help us get credit by citing: 
  
  Hallquist, M. N. & Wiley, J. F. (2018). MplusAutomation: An R Package for Facilitating Large-Scale Latent Variable Analyses in Mplus. Structural Equation Modeling, 25, 621-638. doi: 10.1080/10705511.2017.1402334.
  
  -- see citation("MplusAutomation").
  > library(tidyLPA)
  You can use the function citation('tidyLPA') to create a citation for the use of {tidyLPA}.
  Mplus is not installed. Use only package = 'mclust' when calling estimate_profiles().
  
  Attaching package: 'tidyLPA'
  
  The following objects are masked from 'package:tidySEM':
  
      get_data, get_fit, plot_bivariate, plot_density, plot_profiles,
      poms
  
  > test_check("tidySEM")
  [ FAIL 3 | WARN 258 | SKIP 0 | PASS 68 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Failure (test-multigroup_mx.R:20:3): mx approximately same results as lav ───
  as.numeric(parL$est[parL$op == "=~" & grepl("^x\\d$", parL$rhs)]) not equivalent to parM$est[grepl("\\.BY\\.", parM$label)].
  11/18 mismatches (average diff: 136)
  [2]  0.39 -    0.357 ==   0.0327
  [3]  0.57 -    0.491 ==   0.0789
  [5]  1.18 -    1.069 ==   0.1114
  [6]  0.87 -    0.890 ==  -0.0203
  [8]  1.12 -    1.153 ==  -0.0334
  [9]  0.92 -    1.353 ==  -0.4328
  [11] 0.74 - -608.794 == 609.5339
  [12] 0.92 - -886.106 == 887.0264
  [14] 0.99 -    1.019 ==  -0.0288
  ...
  ── Failure (test-multigroup_mx.R:30:3): as_ram accepts groups and data ─────────
  as.numeric(parL$est[parL$op == "=~"]) not equivalent to parM$est[grepl("\\.BY\\.", parM$label)].
  11/18 mismatches (average diff: 136)
  [2]  0.74 - -608.794 == 609.5339
  [3]  0.92 - -886.106 == 887.0264
  [5]  0.99 -    1.019 ==  -0.0288
  [8]  1.23 -    1.118 ==   0.1123
  [9]  1.06 -    1.405 ==  -0.3452
  [11] 0.39 -    0.357 ==   0.0327
  [12] 0.57 -    0.491 ==   0.0789
  [14] 1.18 -    1.069 ==   0.1114
  [15] 0.87 -    0.890 ==  -0.0203
  ...
  ── Failure (test-multigroup_mx.R:41:3): measurement accepts groups argument ────
  as.numeric(...) not equivalent to ...[].
  11/12 mismatches (average diff: 136)
  [1] 0.39 -    0.357 ==   0.0327
  [2] 0.57 -    0.491 ==   0.0789
  [3] 1.18 -    1.069 ==   0.1114
  [4] 0.87 -    0.890 ==  -0.0203
  [5] 1.12 -    1.153 ==  -0.0334
  [6] 0.92 -    1.353 ==  -0.4328
  [7] 0.74 - -608.794 == 609.5339
  [8] 0.92 - -886.106 == 887.0264
  [9] 0.99 -    1.019 ==  -0.0288
  ...
  
  [ FAIL 3 | WARN 258 | SKIP 0 | PASS 68 ]
  Error: Test failures
  Execution halted