CRAN Package Check Results for Package semfindr

Last updated on 2025-04-15 09:52:32 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.9 6.63 430.38 437.01 OK
r-devel-linux-x86_64-debian-gcc 0.1.9 4.30 273.06 277.36 OK
r-devel-linux-x86_64-fedora-clang 0.1.9 721.79 OK
r-devel-linux-x86_64-fedora-gcc 0.1.9 666.65 OK
r-devel-windows-x86_64 0.1.9 8.00 186.00 194.00 ERROR
r-patched-linux-x86_64 0.1.9 5.45 406.23 411.68 OK
r-release-linux-x86_64 0.1.9 6.67 411.54 418.21 OK
r-release-macos-arm64 0.1.9 154.00 OK
r-release-macos-x86_64 0.1.9 236.00 OK
r-release-windows-x86_64 0.1.9 9.00 262.00 271.00 OK
r-oldrel-macos-arm64 0.1.9 119.00 OK
r-oldrel-macos-x86_64 0.1.9 245.00 OK
r-oldrel-windows-x86_64 0.1.9 11.00 381.00 392.00 OK

Check Details

Version: 0.1.9
Check: tests
Result: ERROR Running 'testthat.R' [31s] Running the tests in 'tests/testthat.R' failed. Complete output: > library(testthat) > library(semfindr) > > test_check("semfindr") Starting 2 test processes [ FAIL 62 | WARN 0 | SKIP 14 | PASS 53 ] ══ Skipped tests (14) ══════════════════════════════════════════════════════════ • 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' • On CRAN (3): 'test-lavaan_rerun_multi_nonconvergence.R:1:1', 'test-lavaan_rerun_single_nonconvergence.R:1:1', 'test-nonconvergence_plot.R:1:1' • To be tested in an interactive session (7): 'test-est_change_print.R:1:1', 'test-est_change_plot.R:63:1', 'test-fit_measurse_change_print.R:1:1', 'test-influence_stat_print.R:1:1', 'test-lavaan_rerun_parallel.R:6:1', 'test-lavaan_rerun_warnings_print.R:1:1', 'test-mahalanobis_print.R:1:1' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-approx_check.R:19:1'): (code run outside of `test_that()`) ───── Error in `lav_options_mimic(opt)`: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'list' Backtrace: ▆ 1. └─lavaan::lavaan(mod, dat, model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-est_change_approx_multi.R:41:1'): (code run outside of `test_that()`) ── Error in `ans[npos] <- rep(no, length.out = len)[npos]`: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'integer' Backtrace: ▆ 1. ├─semfindr:::full_rank(tmp2) at test-est_change_approx_multi.R:41:1 2. │ └─semfindr:::rankMatrix_square(x) 3. └─base::loadNamespace(x) 4. └─methods::cacheMetaData(ns, TRUE, ns) 5. └─methods:::.updateMethodsInTable(fdef, where, attach) 6. └─methods:::.mergeMethodsTable(generic, mtable, tt, attach) 7. └─methods:::.resetTable(table, ns, signames) 8. ├─methods:::.sigLabel(ifelse(seqN > length(newSig), anyLabel, newSig)) 9. │ └─base::paste(sig, collapse = "#") 10. └─base::ifelse(seqN > length(newSig), anyLabel, newSig) ── Error ('test-est_change_approx_single.R:118: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(mod, dat0, model.type = "cfa") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-est_change_loo_multi_equal.R:39:1'): (code run outside of `test_that()`) ── Error in `ans[npos] <- rep(no, length.out = len)[npos]`: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'integer' Backtrace: ▆ 1. ├─semfindr::est_change(rerun_out) at test-est_change_loo_multi_equal.R:39:1 2. │ └─base::sapply(...) 3. │ └─base::lapply(X = X, FUN = FUN, ...) 4. │ └─semfindr (local) FUN(X[[i]], ...) 5. │ └─semfindr:::est_change_i(...) 6. │ └─semfindr:::full_rank(vcovi_full) 7. │ └─semfindr:::rankMatrix_square(x) 8. └─base::loadNamespace(x) 9. └─methods::cacheMetaData(ns, TRUE, ns) 10. └─methods:::.updateMethodsInTable(fdef, where, attach) 11. └─methods:::.mergeMethodsTable(generic, mtable, tt, attach) 12. └─methods:::.resetTable(table, ns, signames) 13. ├─methods:::.sigLabel(ifelse(seqN > length(newSig), anyLabel, newSig)) 14. │ └─base::paste(sig, collapse = "#") 15. └─base::ifelse(seqN > length(newSig), anyLabel, newSig) ── Error ('test-est_change_loo_multi_select_by_op.R:24: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-est_change_loo_single.R:39:1'): (code run outside of `test_that()`) ── Error in `ans[ypos] <- rep(yes, length.out = len)[ypos]`: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'integer' Backtrace: ▆ 1. └─base::ifelse(parameters_labels == "", parameters_names, parameters_labels) at test-est_change_loo_single.R:39:1 ── Error ('test-est_change_loo_single_equal.R:35:1'): (code run outside of `test_that()`) ── Error in `ans[npos] <- rep(no, length.out = len)[npos]`: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'integer' Backtrace: ▆ 1. ├─semfindr::est_change(rerun_out) at test-est_change_loo_single_equal.R:35:1 2. │ └─base::sapply(...) 3. │ └─base::lapply(X = X, FUN = FUN, ...) 4. │ └─semfindr (local) FUN(X[[i]], ...) 5. │ └─semfindr:::est_change_i(...) 6. │ └─semfindr:::full_rank(vcovi_full) 7. │ └─semfindr:::rankMatrix_square(x) 8. └─base::loadNamespace(x) 9. └─methods::cacheMetaData(ns, TRUE, ns) 10. └─methods:::.updateMethodsInTable(fdef, where, attach) 11. └─methods:::.mergeMethodsTable(generic, mtable, tt, attach) 12. └─methods:::.resetTable(table, ns, signames) 13. ├─methods:::.sigLabel(ifelse(seqN > length(newSig), anyLabel, newSig)) 14. │ └─base::paste(sig, collapse = "#") 15. └─base::ifelse(seqN > length(newSig), anyLabel, newSig) ── Error ('test-est_change_loo_single_select_by_op.R:21: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(mod, dat0, meanstructure = TRUE, model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-est_change_loo_multi.R:32:1'): (code run outside of `test_that()`) ── Error in `ans[npos] <- rep(no, length.out = len)[npos]`: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'integer' Backtrace: ▆ 1. ├─semfindr::est_change(rerun_out) at test-est_change_loo_multi.R:32:1 2. │ └─base::sapply(...) 3. │ └─base::lapply(X = X, FUN = FUN, ...) 4. │ └─semfindr (local) FUN(X[[i]], ...) 5. │ └─semfindr:::est_change_i(...) 6. │ └─semfindr:::full_rank(vcovi_full) 7. │ └─semfindr:::rankMatrix_square(x) 8. └─base::loadNamespace(x) 9. └─methods::cacheMetaData(ns, TRUE, ns) 10. └─methods:::.updateMethodsInTable(fdef, where, attach) 11. └─methods:::.mergeMethodsTable(generic, mtable, tt, attach) 12. └─methods:::.resetTable(table, ns, signames) 13. ├─methods:::.sigLabel(ifelse(seqN > length(newSig), anyLabel, newSig)) 14. │ └─base::paste(sig, collapse = "#") 15. └─base::ifelse(seqN > length(newSig), anyLabel, newSig) ── Error ('test-est_change_raw_approx_multi.R:21: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(mod, dat0, group = "gp", model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-est_change_raw_approx_multi_labelled.R:21: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(mod, dat0, group = "gp", model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-est_change_raw_approx_single.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(mod, dat0, model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-est_change_raw_approx_single_labelled.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(mod, dat0, model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-est_change_raw_loo_multi_select_by_op.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 '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-est_change_raw_loo_multi_std.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 '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-est_change_raw_loo_single.R:51:1'): (code run outside of `test_that()`) ── Error in `ans[ypos] <- rep(yes, length.out = len)[ypos]`: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'integer' Backtrace: ▆ 1. └─base::ifelse(parameters_labels == "", parameters_names, parameters_labels) at test-est_change_raw_loo_single.R:51:1 ── Error ('test-est_change_raw_loo_multi.R:58:1'): (code run outside of `test_that()`) ── Error in `ans[npos] <- rep(no, length.out = len)[npos]`: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'integer' Backtrace: ▆ 1. └─base::ifelse(parameters_labels == "", parameters_names, parameters_labels) at test-est_change_raw_loo_multi.R:58:1 ── Error ('test-est_change_raw_loo_single_select_by_op.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(mod, dat0, meanstructure = TRUE, model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-est_change_raw_loo_single_std.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(mod, dat0, model.type = "cfa") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-fit_measurse_change_multi.R:19: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(mod, dat0, group = "gp", model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-fit_measurse_change_multi_approx.R:19: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(mod, dat0, group = "gp", model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-fit_measurse_change_multi_select_by_id.R:19: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(mod, dat0, group = "gp", model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-fit_measurse_change_single.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(mod, dat0, model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-fit_measurse_change_single_select_by_id.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(mod, dat0, model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-full_rank.R:12: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(mod, pa_dat2, 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-implied_scores_multi.R:21: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-implied_scores_multi_no_intercepts.R:21: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-implied_scores_single.R:16: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(mod, dat, meanstructure = TRUE, model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-implied_scores_single_no_intercepts.R:16: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(mod, dat, meanstructure = FALSE, model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-influence_stat_multi_for_approx.R:24:1'): (code run outside of `test_that()`) ── Error in `ans[npos] <- rep(no, length.out = len)[npos]`: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'integer' Backtrace: ▆ 1. ├─semfindr::est_change_approx(fit0) at test-influence_stat_multi_for_approx.R:24:1 2. │ └─semfindr:::full_rank(v0) 3. │ └─semfindr:::rankMatrix_square(x) 4. └─base::loadNamespace(x) 5. └─methods::cacheMetaData(ns, TRUE, ns) 6. └─methods:::.updateMethodsInTable(fdef, where, attach) 7. └─methods:::.mergeMethodsTable(generic, mtable, tt, attach) 8. └─methods:::.resetTable(table, ns, signames) 9. ├─methods:::.sigLabel(ifelse(seqN > length(newSig), anyLabel, newSig)) 10. │ └─base::paste(sig, collapse = "#") 11. └─base::ifelse(seqN > length(newSig), anyLabel, newSig) ── Error ('test-influence_stat_multi.R:27:1'): (code run outside of `test_that()`) ── Error in `ans[npos] <- rep(no, length.out = len)[npos]`: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'integer' Backtrace: ▆ 1. ├─semfindr::est_change(rerun_out) at test-influence_stat_multi.R:27:1 2. │ └─base::sapply(...) 3. │ └─base::lapply(X = X, FUN = FUN, ...) 4. │ └─semfindr (local) FUN(X[[i]], ...) 5. │ └─semfindr:::est_change_i(...) 6. │ └─semfindr:::full_rank(vcovi_full) 7. │ └─semfindr:::rankMatrix_square(x) 8. └─base::loadNamespace(x) 9. └─methods::cacheMetaData(ns, TRUE, ns) 10. └─methods:::.updateMethodsInTable(fdef, where, attach) 11. └─methods:::.mergeMethodsTable(generic, mtable, tt, attach) 12. └─methods:::.resetTable(table, ns, signames) 13. ├─methods:::.sigLabel(ifelse(seqN > length(newSig), anyLabel, newSig)) 14. │ └─base::paste(sig, collapse = "#") 15. └─base::ifelse(seqN > length(newSig), anyLabel, newSig) ── Error ('test-influence_stat_single.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(mod, dat0, model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-influence_stat_multi_select_by_id.R:27:1'): (code run outside of `test_that()`) ── Error in `ans[npos] <- rep(no, length.out = len)[npos]`: Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'integer' Backtrace: ▆ 1. ├─semfindr::est_change(rerun_out) at test-influence_stat_multi_select_by_id.R:27:1 2. │ └─base::sapply(...) 3. │ └─base::lapply(X = X, FUN = FUN, ...) 4. │ └─semfindr (local) FUN(X[[i]], ...) 5. │ └─semfindr:::est_change_i(...) 6. │ └─semfindr:::full_rank(vcovi_full) 7. │ └─semfindr:::rankMatrix_square(x) 8. └─base::loadNamespace(x) 9. └─methods::cacheMetaData(ns, TRUE, ns) 10. └─methods:::.updateMethodsInTable(fdef, where, attach) 11. └─methods:::.mergeMethodsTable(generic, mtable, tt, attach) 12. └─methods:::.resetTable(table, ns, signames) 13. ├─methods:::.sigLabel(ifelse(seqN > length(newSig), anyLabel, newSig)) 14. │ └─base::paste(sig, collapse = "#") 15. └─base::ifelse(seqN > length(newSig), anyLabel, newSig) ── Error ('test-influence_stat_single_select_by_id.R:18: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(mod, dat0, model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-lavaan_rerun.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(mod, dat0, model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-lavaan_rerun_check.R:19: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(mod, dat, model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-lavaan_rerun_multi.R:19: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(mod, dat0, group = "gp", model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-lavaan_rerun_multi_heywood.R:16: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-lavaan_rerun_multi_select_by_id.R:19: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(mod, dat0, group = "gp", model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-lavaan_rerun_multi_select_by_md.R:21: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(mod, dat0, missing = "fiml.x", group = "gp", model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-lavaan_rerun_multi_select_by_residual_md.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 '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-lavaan_rerun_single_heywood.R:12: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(mod, cfa_dat_heywood, model.type = "cfa") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-lavaan_rerun_single_select_by_id.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 'integer' Backtrace: ▆ 1. └─lavaan::lavaan(mod, dat0, model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-lavaan_rerun_single_select_by_md.R:19: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(mod, dat0, missing = "fiml.x", model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-lavaan_rerun_single_select_by_residual_md.R:14: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(mod, dat0, meanstructure = TRUE, model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-lavaan_rerun_test_md_id_error.R:16: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(mod, dat0, missing = "fiml.x", model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-lavaan_rerun_warnings.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 'integer' Backtrace: ▆ 1. └─lavaan::lavaan(mod, dat, model.type = "cfa") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-mahalanobis_exo_multi_exclude_exo_latent.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 '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-mahalanobis_exo_multi_missing.R:33:5'): (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. └─base::lapply(...) at test-mahalanobis_exo_multi_missing.R:42:1 2. └─semfindr (local) FUN(X[[i]], ...) 3. └─semfindr (local) em_tmp(x) at test-mahalanobis_exo_multi_missing.R:44:31 4. ├─base::suppressWarnings(...) at test-mahalanobis_exo_multi_missing.R:33:5 5. │ └─base::withCallingHandlers(...) 6. └─lavaan::lavCor(x, missing = "fiml", output = "fit") 7. └─lavaan::lavaan(...) 8. └─lavaan:::lav_lavaan_step02_options(...) 9. └─lavaan:::lav_options_set(opt) 10. └─lavaan:::lav_options_mimic(opt) ── Error ('test-mahalanobis_exo_multi_select_md.R:65: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-mahalanobis_exo_single.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 'integer' Backtrace: ▆ 1. └─lavaan::lavaan(mod, dat0, model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-mahalanobis_exo_single_exclude_exo_latent.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(mod, dat0, model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-mahalanobis_exo_single_missing.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 'integer' Backtrace: ▆ 1. └─lavaan::lavaan(mod, dat0, missing = "fiml.x", model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-mahalanobis_exo_multi.R:68: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-mahalanobis_exo_single_select_md.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 'integer' Backtrace: ▆ 1. └─lavaan::lavaan(mod, dat0, model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-mahalanobis_multi_missing.R:31: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. ├─base::suppressWarnings(...) at test-mahalanobis_multi_missing.R:31:1 2. │ └─base::withCallingHandlers(...) 3. └─lavaan::lavCor(fit0_data_g1, missing = "fiml", output = "fit") 4. └─lavaan::lavaan(...) 5. └─lavaan:::lav_lavaan_step02_options(...) 6. └─lavaan:::lav_options_set(opt) 7. └─lavaan:::lav_options_mimic(opt) ── Error ('test-mahalanobis_multi_select_by_md.R:29: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. └─semfindr::mahalanobis_rerun(fit0) at test-mahalanobis_multi_select_by_md.R:29:1 2. └─semfindr:::md_i(...) 3. └─semfindr:::md_i_multi(...) 4. └─base::lapply(data_gp, md_i_single, emNorm_arg = emNorm_arg) 5. └─semfindr (local) FUN(X[[i]], ...) 6. ├─base::suppressWarnings(...) 7. │ └─base::withCallingHandlers(...) 8. └─lavaan::lavCor(fit_data, missing = "fiml", output = "fit") 9. └─lavaan::lavaan(...) 10. └─lavaan:::lav_lavaan_step02_options(...) 11. └─lavaan:::lav_options_set(opt) 12. └─lavaan:::lav_options_mimic(opt) ── Error ('test-mahalanobis_single.R:16: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(mod, dat0, model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-mahalanobis_single_missing.R:19: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(mod, dat0, missing = "fiml.x", model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-mahalanobis_single_select_by_md.R:18: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(mod, dat0, missing = "fiml.x", model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-parameter_id.R:37: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(sem_model, dat, model.type = "sem") 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) ── Error ('test-parameter_id2.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 'integer' Backtrace: ▆ 1. └─lavaan::lavaan(...) 2. └─lavaan:::lav_lavaan_step02_options(...) 3. └─lavaan:::lav_options_set(opt) 4. └─lavaan:::lav_options_mimic(opt) [ FAIL 62 | WARN 0 | SKIP 14 | PASS 53 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64