Running ‘testthat.R’ [403s/208s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(semfindr)
  > 
  > test_check("semfindr")
  Starting 2 test processes
  [ FAIL 8 | WARN 0 | SKIP 10 | PASS 362 ]
  
  ══ Skipped tests (10) ══════════════════════════════════════════════════════════
  • Equality constraints are supported in est_change_raw_approx() (4):
    'test-est_change_approx_multi_equal.R:1:1',
    'test-est_change_approx_single_equal.R:1:1',
    'test-est_change_raw_approx_multi_equal.R:1:1',
    'test-est_change_raw_approx_single_equal.R:1:1'
  • To be tested in an interactive session (6): 'test-est_change_plot.R:63:1',
    'test-est_change_print.R:1:1', 'test-fit_measurse_change_print.R:1:1',
    'test-influence_stat_print.R:1:1', 'test-lavaan_rerun_warnings_print.R:1:1',
    'test-mahalanobis_print.R:1:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-lavaan_rerun_multi_select_by_md.R:26:1'): (code run outside of `test_that()`) ──
  Error in `mahalanobis_rerun(fit0)`: Missing data is present but the norm2 package is not installed.
  Backtrace:
      ▆
   1. └─semfindr::mahalanobis_rerun(fit0) at test-lavaan_rerun_multi_select_by_md.R:26:0
  ── Error ('test-lavaan_rerun_single_select_by_md.R:25:1'): (code run outside of `test_that()`) ──
  Error in `mahalanobis_rerun(fit0)`: Missing data is present but the norm2 package is not installed.
  Backtrace:
      ▆
   1. └─semfindr::mahalanobis_rerun(fit0) at test-lavaan_rerun_single_select_by_md.R:25:0
  ── Error ('test-mahalanobis_exo_multi_missing.R:32:1'): (code run outside of `test_that()`) ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'norm2'
  Backtrace:
      ▆
   1. ├─base::lapply(...) at test-mahalanobis_exo_multi_missing.R:32:0
   2. │ └─semfindr (local) FUN(X[[i]], ...)
   3. └─base::loadNamespace(x) at test-mahalanobis_exo_multi_missing.R:34:30
   4.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   5.     └─base (local) withOneRestart(expr, restarts[[1L]])
   6.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-mahalanobis_exo_single_missing.R:30:1'): (code run outside of `test_that()`) ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'norm2'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-mahalanobis_exo_single_missing.R:30:0
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-mahalanobis_multi_missing.R:31:1'): (code run outside of `test_that()`) ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'norm2'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-mahalanobis_multi_missing.R:31:0
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-mahalanobis_multi_select_by_md.R:29:1'): (code run outside of `test_that()`) ──
  Error in `mahalanobis_rerun(fit0)`: Missing data is present but the norm2 package is not installed.
  Backtrace:
      ▆
   1. └─semfindr::mahalanobis_rerun(fit0) at test-mahalanobis_multi_select_by_md.R:29:0
  ── Error ('test-mahalanobis_single_missing.R:25:1'): (code run outside of `test_that()`) ──
  <packageNotFoundError/error/condition>
  Error in `loadNamespace(x)`: there is no package called 'norm2'
  Backtrace:
      ▆
   1. └─base::loadNamespace(x) at test-mahalanobis_single_missing.R:25:0
   2.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   3.     └─base (local) withOneRestart(expr, restarts[[1L]])
   4.       └─base (local) doWithOneRestart(return(expr), restart)
  ── Error ('test-mahalanobis_single_select_by_md.R:24:1'): (code run outside of `test_that()`) ──
  Error in `mahalanobis_rerun(fit0)`: Missing data is present but the norm2 package is not installed.
  Backtrace:
      ▆
   1. └─semfindr::mahalanobis_rerun(fit0) at test-mahalanobis_single_select_by_md.R:24:0
  
  [ FAIL 8 | WARN 0 | SKIP 10 | PASS 362 ]
  Error: Test failures
  Execution halted