Running ‘testthat.R’ [26s/15s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(semhelpinghands)
  
  Attaching package: 'semhelpinghands'
  
  The following object is masked from 'package:base':
  
      sort_by
  
  > 
  > test_check("semhelpinghands")
  Starting 2 test processes
  [ FAIL 10 | WARN 0 | SKIP 3 | PASS 78 ]
  
  ══ Skipped tests (3) ═══════════════════════════════════════════════════════════
  • On CRAN (1): 'test-standardizedSolution_boot_ci_print.R:1:1'
  • To be run in an interactive mode (2): 'test-plot_boot.R:1:1',
    'test-plot_models_fm.R:1:1'
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test-annotate_model.R:10:1'): (code run outside of `test_that()`) ───
  Error in `lav_options_mimic(opt)`: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'character'
  Backtrace:
      ▆
   1. └─lavaan::lavaan(HS.model, data = HolzingerSwineford1939, model.type = "cfa")
   2.   └─lavaan:::lav_lavaan_step02_options(...)
   3.     └─lavaan:::lav_options_set(opt)
   4.       └─lavaan:::lav_options_mimic(opt)
  ── Error ('test-auto_cov.R:22:1'): (code run outside of `test_that()`) ─────────
  Error in `lav_options_mimic(opt)`: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'integer'
  Backtrace:
      ▆
   1. └─lavaan::lavaan(...)
   2.   └─lavaan:::lav_lavaan_step02_options(...)
   3.     └─lavaan:::lav_options_set(opt)
   4.       └─lavaan:::lav_options_mimic(opt)
  ── Error ('test-compare_estimators.R:15:1'): (code run outside of `test_that()`) ──
  Error in `lav_options_mimic(opt)`: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'character'
  Backtrace:
      ▆
   1. └─lavaan::lavaan(model, data = dat, fixed.x = FALSE, model.type = "sem")
   2.   └─lavaan:::lav_lavaan_step02_options(...)
   3.     └─lavaan:::lav_options_set(opt)
   4.       └─lavaan:::lav_options_mimic(opt)
  ── Error ('test-lav_eq.R:17:1'): (code run outside of `test_that()`) ───────────
  Error in `lav_options_mimic(opt)`: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'integer'
  Backtrace:
      ▆
   1. └─lavaan::lavaan(model = mod, data = HolzingerSwineford1939, model.type = "cfa")
   2.   └─lavaan:::lav_lavaan_step02_options(...)
   3.     └─lavaan:::lav_options_set(opt)
   4.       └─lavaan:::lav_options_mimic(opt)
  ── Error ('test-plot_boot_na.R:18:1'): plot_boot: Better error message ─────────
  Error in `lav_options_mimic(opt)`: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'integer'
  Backtrace:
      ▆
   1. └─lavaan::lavaan(...)
   2.   └─lavaan:::lav_lavaan_step02_options(...)
   3.     └─lavaan:::lav_options_set(opt)
   4.       └─lavaan:::lav_options_mimic(opt)
  ── Error ('test-ptable_to_syntax.R:67:1'): (code run outside of `test_that()`) ──
  Error in `lav_options_mimic(opt)`: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'integer'
  Backtrace:
      ▆
   1. └─lavaan::lavaan(...)
   2.   └─lavaan:::lav_lavaan_step02_options(...)
   3.     └─lavaan:::lav_options_set(opt)
   4.       └─lavaan:::lav_options_mimic(opt)
  ── Error ('test-standardizedSolution_boot_ci_cfa.R:20:1'): (code run outside of `test_that()`) ──
  Error in `lav_options_mimic(opt)`: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'character'
  Backtrace:
      ▆
   1. └─lavaan::lavaan(...)
   2.   └─lavaan:::lav_lavaan_step02_options(...)
   3.     └─lavaan:::lav_options_set(opt)
   4.       └─lavaan:::lav_options_mimic(opt)
  ── Error ('test-standardizedSolution_boot_ci_eq.R:20:1'): (code run outside of `test_that()`) ──
  Error in `lav_options_mimic(opt)`: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'character'
  Backtrace:
      ▆
   1. └─lavaan::lavaan(...)
   2.   └─lavaan:::lav_lavaan_step02_options(...)
   3.     └─lavaan:::lav_options_set(opt)
   4.       └─lavaan:::lav_options_mimic(opt)
  ── Error ('test-to_vectors.R:10:1'): (code run outside of `test_that()`) ───────
  Error in `lav_options_mimic(opt)`: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'character'
  Backtrace:
      ▆
   1. └─lavaan::lavaan(cfa.model, data = HolzingerSwineford1939, model.type = "cfa")
   2.   └─lavaan:::lav_lavaan_step02_options(...)
   3.     └─lavaan:::lav_options_set(opt)
   4.       └─lavaan:::lav_options_mimic(opt)
  ── Error ('test-standardizedSolution_boot_ci.R:98:1'): (code run outside of `test_that()`) ──
  Error in `lav_options_mimic(opt)`: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'integer'
  Backtrace:
      ▆
   1. └─lavaan::lavaan(...)
   2.   └─lavaan:::lav_lavaan_step02_options(...)
   3.     └─lavaan:::lav_options_set(opt)
   4.       └─lavaan:::lav_options_mimic(opt)
  
  [ FAIL 10 | WARN 0 | SKIP 3 | PASS 78 ]
  Error: Test failures
  Execution halted