* using log directory ‘/data/gannet/ripley/R/packages/tests-devel/semlbci.Rcheck’ * using R Under development (unstable) (2025-02-15 r87726) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) GNU Fortran (GCC) 14.2.1 20240912 (Red Hat 14.2.1-3) * running under: Fedora Linux 40 (Workstation Edition) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘semlbci/DESCRIPTION’ ... OK * this is package ‘semlbci’ version ‘0.11.3’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘semlbci’ can be installed ... [12s/36s] OK See 'https://www.r-project.org/nosvn/R.check/r-devel-linux-x86_64-fedora-gcc/semlbci-00install.html' for details. * checking package directory ... OK * checking ‘build’ directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [25s/73s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking contents of ‘data’ directory ... OK * checking data for non-ASCII characters ... OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [32s/82s] ERROR Running examples in ‘semlbci-Ex.R’ failed The error most likely occurred in: > ### Name: ci_order > ### Title: Check The Order of Bounds in a List of 'semlbci' Objects > ### Aliases: ci_order print.ci_order > > ### ** Examples > > > library(lavaan) This is lavaan 0.6-19 lavaan is FREE software! Please report any bugs. > mod <- + " + m ~ x + y ~ m + " > fit_med <- sem(mod, simple_med, fixed.x = FALSE) > lbci_fit <- semlbci(fit_med) Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. > lbci_fit_nb <- nearby_levels(lbci_fit, + ciperc_levels = c(-.050, .050)) Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. Error: nlopt_add_equality_mconstraint returned NLOPT_INVALID_ARGS. > > # Check the order of the confidence bounds. > # A confidence interval with a higher level of confidence > # should enclose a confidence interval with > # a lower level of confidence. > ci_order(lbci_fit_nb) Error in stats::var(level_tmp) : is.atomic(x) is not TRUE Calls: ci_order ... lapply -> FUN -> confint.semlbci -> <Anonymous> -> stopifnot Execution halted * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [102s/153s] ERROR Running ‘testthat.R’ [101s/152s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(semlbci) > > test_check("semlbci") Starting 2 test processes Superclass process has cloneable=FALSE, but subclass r_session has cloneable=TRUE. A subclass cannot be cloneable when its superclass is not cloneable, so cloning will be disabled for r_session. Superclass process has cloneable=FALSE, but subclass r_session has cloneable=TRUE. A subclass cannot be cloneable when its superclass is not cloneable, so cloning will be disabled for r_session. [ FAIL 28 | WARN 7 | SKIP 168 | PASS 98 ] â•â• Skipped tests (168) â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• • For running all interactive session tests (1): 'test-1_run_interactive_session_tests.R:1:1' • On CRAN (122): 'test-semlbci_wn_mg_ustd_cfa_user_eq.R:1:1', 'test-semlbci_wn_mg_ustd_pa_user_eq.R:1:1', 'test-semlbci_wn_mg_ustd_sem_user_eq.R:1:1', 'test-ur_ci_bound_ur_i_mg_ustd_1.R:1:1', 'test-ur_ci_bound_ur_i_mg_std_1.R:1:1', 'test-ur_ci_bound_ur_i_rb_ustd_1.R:1:1', 'test-ur_ci_bound_ur_i_std_1.R:1:1', 'test-ur_ci_bound_ur_i_ustd_1.R:1:1', 'test-ur_ci_bound_ur_mg_std_1.R:1:1', 'test-ur_ci_bound_ur_mg_ustd_1.R:1:1', 'test-ur_ci_bound_ur_rb_mg_ustd_1.R:1:1', 'test-ur_ci_bound_ur_rb_ustd_1.R:1:1', 'test-ur_ci_bound_ur_std_1.R:1:1', 'test-ur_ci_bound_ur_ustd_1.R:1:1', 'test-ci_bound_wn_i_mg_rb_std_cfa.R:1:1', 'test-ci_bound_wn_i_mg_rb_std_cfa_eq.R:1:1', 'test-ci_bound_wn_i_mg_rb_std_cfa_user.R:1:1', 'test-ci_bound_wn_i_mg_rb_std_cfa_user_eq.R:1:1', 'test-ci_bound_wn_i_mg_rb_std_pa.R:1:1', 'test-ci_bound_wn_i_mg_rb_std_pa_eq.R:1:1', 'test-ci_bound_wn_i_mg_rb_std_pa_user.R:1:1', 'test-ci_bound_wn_i_mg_rb_std_pa_user_eq.R:1:1', 'test-ci_bound_wn_i_mg_rb_std_sem.R:1:1', 'test-ci_bound_wn_i_mg_rb_std_sem_eq.R:1:1', 'test-ci_bound_wn_i_mg_rb_std_sem_user.R:1:1', 'test-ci_bound_wn_i_mg_rb_std_sem_user_eq.R:1:1', 'test-ci_bound_wn_i_mg_rb_ustd_cfa.R:1:1', 'test-ci_bound_wn_i_mg_rb_ustd_cfa_eq.R:1:1', 'test-ci_bound_wn_i_mg_rb_ustd_cfa_user.R:1:1', 'test-ci_bound_wn_i_mg_rb_ustd_cfa_user_eq.R:1:1', 'test-ci_bound_wn_i_mg_rb_ustd_pa_eq.R:1:1', 'test-ci_bound_wn_i_mg_rb_ustd_pa.R:1:1', 'test-ci_bound_wn_i_mg_rb_ustd_pa_user.R:1:1', 'test-ci_bound_wn_i_mg_rb_ustd_pa_user_eq.R:1:1', 'test-ci_bound_wn_i_mg_rb_ustd_sem.R:1:1', 'test-ci_bound_wn_i_mg_rb_ustd_sem_eq.R:1:1', 'test-ci_bound_wn_i_mg_rb_ustd_sem_user.R:1:1', 'test-ci_bound_wn_i_mg_rb_ustd_sem_user_eq.R:1:1', 'test-ci_bound_wn_i_mg_std_cfa.R:1:1', 'test-ci_bound_wn_i_mg_std_cfa_eq.R:1:1', 'test-ci_bound_wn_i_mg_std_cfa_user.R:1:1', 'test-ci_bound_wn_i_mg_std_cfa_user_eq.R:1:1', 'test-ci_bound_wn_i_mg_std_pa.R:1:1', 'test-ci_bound_wn_i_mg_std_pa_eq.R:1:1', 'test-ci_bound_wn_i_mg_std_pa_user.R:1:1', 'test-ci_bound_wn_i_mg_std_sem.R:1:1', 'test-ci_bound_wn_i_mg_std_pa_user_eq.R:1:1', 'test-ci_bound_wn_i_mg_std_sem_eq.R:1:1', 'test-ci_bound_wn_i_mg_std_sem_user.R:1:1', 'test-ci_bound_wn_i_mg_std_sem_user_eq.R:1:1', 'test-ci_bound_wn_i_mg_ustd_cfa_eq.R:1:1', 'test-ci_bound_wn_i_mg_ustd_cfa_user.R:1:1', 'test-ci_bound_wn_i_mg_ustd_cfa_user_eq.R:1:1', 'test-ci_bound_wn_i_mg_ustd_pa_eq.R:1:1', 'test-ci_bound_wn_i_mg_ustd_pa_user.R:1:1', 'test-ci_bound_wn_i_mg_ustd_pa_user_eq.R:1:1', 'test-ci_bound_wn_i_mg_ustd_sem_eq.R:1:1', 'test-ci_bound_wn_i_mg_ustd_sem_user.R:1:1', 'test-ci_bound_wn_i_mg_ustd_sem_user_eq.R:1:1', 'test-ci_bound_wn_i_rb_std_cfa.R:1:1', 'test-ci_bound_wn_i_rb_std_cfa_eq.R:1:1', 'test-ci_bound_wn_i_rb_std_cfa_user.R:1:1', 'test-ci_bound_wn_i_rb_std_cfa_user_eq.R:1:1', 'test-ci_bound_wn_i_rb_std_pa.R:1:1', 'test-ci_bound_wn_i_rb_std_pa_eq.R:1:1', 'test-ci_bound_wn_i_rb_std_pa_user.R:1:1', 'test-ci_bound_wn_i_rb_std_pa_user_eq.R:1:1', 'test-ci_bound_wn_i_rb_std_sem.R:1:1', 'test-ci_bound_wn_i_rb_std_sem_eq.R:1:1', 'test-ci_bound_wn_i_rb_std_sem_user.R:1:1', 'test-ci_bound_wn_i_rb_std_sem_user_eq.R:1:1', 'test-ci_bound_wn_i_rb_ustd_cfa.R:1:1', 'test-ci_bound_wn_i_rb_ustd_cfa_eq.R:1:1', 'test-ci_bound_wn_i_rb_ustd_cfa_user.R:1:1', 'test-ci_bound_wn_i_rb_ustd_cfa_user_eq.R:1:1', 'test-ci_bound_wn_i_rb_ustd_pa.R:1:1', 'test-ci_bound_wn_i_rb_ustd_pa_eq.R:1:1', 'test-ci_bound_wn_i_rb_ustd_pa_user.R:1:1', 'test-ci_bound_wn_i_rb_ustd_pa_user_eq.R:1:1', 'test-ci_bound_wn_i_rb_ustd_sem.R:1:1', 'test-ci_bound_wn_i_rb_ustd_sem_user.R:1:1', 'test-ci_bound_wn_i_rb_ustd_sem_eq.R:1:1', 'test-ci_bound_wn_i_rb_ustd_sem_user_eq.R:1:1', 'test-ci_bound_wn_i_std_cfa_eq.R:1:1', 'test-ci_bound_wn_i_std_cfa_user.R:1:1', 'test-ci_bound_wn_i_std_cfa_user_eq.R:1:1', 'test-ci_bound_wn_i_std_pa_eq.R:1:1', 'test-ci_bound_wn_i_std_pa_user.R:1:1', 'test-ci_bound_wn_i_std_pa_user_eq.R:1:1', 'test-ci_bound_wn_i_std_sem_eq.R:1:1', 'test-ci_bound_wn_i_std_sem_user.R:1:1', 'test-ci_bound_wn_i_std_sem_user_eq.R:1:1', 'test-ci_bound_wn_i_ustd_cfa_eq.R:1:1', 'test-ci_bound_wn_i_ustd_cfa_user.R:1:1', 'test-ci_bound_wn_i_ustd_pa_eq.R:1:1', 'test-ci_bound_wn_i_ustd_pa_user.R:1:1', 'test-ci_bound_wn_i_ustd_sem_eq.R:1:1', 'test-ci_bound_wn_i_ustd_sem_user.R:1:1', 'test-ci_bound_wn_i_z_print_maxtime.R:1:1', 'test-ci_i_one_rb_std_pa.R:1:1', 'test-ci_i_one_std_pa.R:1:1', 'test-ci_i_one_std_pa_ur.R:1:1', 'test-ci_i_one_ustd_pa_ur.R:1:1', 'test-confint_semlbci.R:1:1', 'test-scaling_factor3_mg_rb_std_sem_user_eq.R:1:1', 'test-scaling_factor3_mg_rb_ustd_sem_user_eq.R:1:1', 'test-scaling_factor3_mg_wn_sem_std.R:1:1', 'test-scaling_factor3_mg_wn_sem_ustd.R:1:1', 'test-scaling_factor3_std_sem_user_eq.R:1:1', 'test-scaling_factor3_ustd_sem_user_eq.R:1:1', 'test-scaling_factor3_wn_sem_std.R:1:1', 'test-scaling_factor3_wn_sem_ustd.R:1:1', 'test-scaling_factor_int_comp_mg_wn_sem_std.R:1:1', 'test-scaling_factor_int_comp_wn_sem_std.R:1:1', 'test-semlbci_print_text.R:1:1', 'test-semlbci_rb_std_pa.R:1:1', 'test-semlbci_std_wn.R:1:1', 'test-semlbci_std_wn_derived_parameter.R:1:1', 'test-semlbci_std_wn_eq_constr.R:1:1', 'test-semlbci_update_wn_mg_ustd_cfa_user_eq.R:1:1', 'test-std_lav_one_factor.R:1:1', 'test-ur_gen_est_i.R:1:1' • Plots: Test in interactive sections (2): 'test-plot_likelihood.R:1:1', 'test-plot_likelihood_ur.R:1:1' • Run it only if are major changes in the arguments in ci_i_* functions (1): 'test-extra_arguments.R:1:1' • Run only if data changed (12): 'test-ci_bound_wn_i_mg_ustd_pa.R:39:1', 'test-ci_bound_wn_i_mg_ustd_cfa.R:39:1', 'test-ci_bound_wn_i_mg_ustd_sem.R:40:1', 'test-ci_bound_wn_i_std_pa.R:39:1', 'test-ci_bound_wn_i_std_cfa.R:41:1', 'test-ci_bound_wn_i_std_sem.R:40:1', 'test-ci_bound_wn_i_ustd_cfa.R:38:1', 'test-ci_bound_wn_i_ustd_pa.R:39:1', 'test-ci_bound_wn_i_ustd_cfa_user_eq.R:41:1', 'test-ci_bound_wn_i_ustd_pa_user_eq.R:41:1', 'test-ci_bound_wn_i_ustd_sem.R:40:1', 'test-ci_bound_wn_i_ustd_sem_user_eq.R:43:1' • Run only if there is a major change in std_method (18): 'test-ci_bound_wn_i_int_comp_mg_std_cfa.R:1:1', 'test-ci_bound_wn_i_int_comp_mg_std_cfa_user_eq.R:1:1', 'test-ci_bound_wn_i_int_comp_mg_std_pa.R:1:1', 'test-ci_bound_wn_i_int_comp_mg_std_pa_user_eq.R:1:1', 'test-ci_bound_wn_i_int_comp_mg_std_sem.R:1:1', 'test-ci_bound_wn_i_int_comp_mg_std_sem_user_eq.R:1:1', 'test-ci_bound_wn_i_int_comp_rb_std_cfa.R:1:1', 'test-ci_bound_wn_i_int_comp_rb_std_cfa_user_eq.R:1:1', 'test-ci_bound_wn_i_int_comp_rb_std_pa.R:1:1', 'test-ci_bound_wn_i_int_comp_rb_std_pa_user_eq.R:1:1', 'test-ci_bound_wn_i_int_comp_rb_std_sem.R:1:1', 'test-ci_bound_wn_i_int_comp_rb_std_sem_user_eq.R:1:1', 'test-ci_bound_wn_i_int_comp_std_cfa.R:1:1', 'test-ci_bound_wn_i_int_comp_std_cfa_user_eq.R:1:1', 'test-ci_bound_wn_i_int_comp_std_pa.R:1:1', 'test-ci_bound_wn_i_int_comp_std_pa_user_eq.R:1:1', 'test-ci_bound_wn_i_int_comp_std_sem.R:1:1', 'test-ci_bound_wn_i_int_comp_std_sem_user_eq.R:1:1' • Test parallel processing: Test in interactive sections (7): 'test-semlbci_lavaan_cfa.R:1:1', 'test-semlbci_lavaan_cfa_mg.R:1:1', 'test-semlbci_lavaan_indirect.R:1:1', 'test-semlbci_lavaan_sem.R:1:1', 'test-semlbci_lavaan_sem_ur.R:1:1', 'test-semlbci_lavaan_sem_ur_rb.R:1:1', 'test-semlbci_wn_parallel.R:1:1' • To be run in an interactive session (4): 'test-1_run_selected_tests.R:1:1', 'test-ci_bound_wn_i_all_std.R:1:1', 'test-semlbci_nearby_rb_std.R:1:1', 'test-ur_gen_userp.R:38:1' • empty test (1): 'test-ci_bound_wn_i_z_diagnostic_info.R:74:1' â•â• Failed tests â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• ── Failure ('test-ci_bound_wn_i_mg_ustd_pa.R:35:5'): Check against precomputed answers ── out1l$bound (`actual`) not equal to 0.09563159 (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (0.09563159) ── Failure ('test-ci_bound_wn_i_mg_ustd_cfa.R:35:5'): Check against precomputed answers ── out1l$bound (`actual`) not equal to 0.8719076 (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (0.8719076) ── Failure ('test-ci_bound_wn_i_mg_ustd_cfa.R:36:5'): Check against precomputed answers ── out2u$bound (`actual`) not equal to 1.94076 (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (1.94076) ── Failure ('test-ci_bound_wn_i_mg_ustd_sem.R:36:5'): Check against precomputed answers ── out1l$bound (`actual`) not equal to 0.8718068 (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (0.8718068) ── Failure ('test-ci_bound_wn_i_mg_ustd_sem.R:37:5'): Check against precomputed answers ── out2u$bound (`actual`) not equal to 0.6873715 (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (0.6873715) ── Failure ('test-ci_bound_wn_i_std_pa.R:35:5'): Check against precomputed answers ── out1l$bound (`actual`) not equal to 0.1256137 (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (0.1256137) ── Failure ('test-ci_bound_wn_i_std_pa.R:36:5'): Check against precomputed answers ── out2u$bound (`actual`) not equal to 0.5656437 (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (0.5656437) ── Failure ('test-ci_bound_wn_i_std_cfa.R:36:5'): Check against precomputed answers ── out1l$bound (`actual`) not equal to 0.6745196 (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (0.6745196) ── Failure ('test-ci_bound_wn_i_std_cfa.R:37:5'): Check against precomputed answers ── out2u$bound (`actual`) not equal to 0.8769257 (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (0.8769257) ── Failure ('test-ci_bound_wn_i_std_cfa.R:38:5'): Check against precomputed answers ── out3l$bound (`actual`) not equal to 0.4039171 (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (0.4039171) ── Failure ('test-ci_bound_wn_i_std_sem.R:36:5'): Check against precomputed answers ── out1l$bound (`actual`) not equal to 0.6745196 (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (0.6745196) ── Failure ('test-ci_bound_wn_i_std_sem.R:37:5'): Check against precomputed answers ── out2u$bound (`actual`) not equal to 0.6151329 (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (0.6151329) ── Failure ('test-ci_bound_wn_i_ustd_cfa.R:34:5'): Check against precomputed answers ── out1l$bound (`actual`) not equal to 1.044513 (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (1.044513) ── Failure ('test-ci_bound_wn_i_ustd_cfa.R:35:5'): Check against precomputed answers ── out2u$bound (`actual`) not equal to 1.391671 (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (1.391671) ── Failure ('test-ci_bound_wn_i_ustd_pa.R:35:5'): Check against precomputed answers ── out1l$bound (`actual`) not equal to 0.7866848 (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (0.7866848) ── Failure ('test-ci_bound_wn_i_ustd_pa.R:36:5'): Check against precomputed answers ── out2u$bound (`actual`) not equal to 0.6864138 (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (0.6864138) ── Failure ('test-ci_bound_wn_i_ustd_cfa_user_eq.R:37:5'): Check against precomputed answers ── out1l$bound (`actual`) not equal to 0.6211464 (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (0.6211464) ── Failure ('test-ci_bound_wn_i_ustd_cfa_user_eq.R:38:5'): Check against precomputed answers ── out1u$bound (`actual`) not equal to 1.230061 (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (1.230061) ── Failure ('test-ci_bound_wn_i_ustd_pa_user_eq.R:37:5'): Check against precomputed answers ── out1l$bound (`actual`) not equal to 0.4172761 (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (0.4172761) ── Failure ('test-ci_bound_wn_i_ustd_pa_user_eq.R:38:5'): Check against precomputed answers ── out2u$bound (`actual`) not equal to 0.5131228 (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (0.5131228) ── Failure ('test-ci_bound_wn_i_ustd_sem.R:36:5'): Check against precomputed answers ── out1l$bound (`actual`) not equal to 1.044513 (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (1.044513) ── Failure ('test-ci_bound_wn_i_ustd_sem.R:37:5'): Check against precomputed answers ── out2u$bound (`actual`) not equal to 0.5081693 (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (0.5081693) ── Failure ('test-ci_bound_wn_i_ustd_sem_user_eq.R:39:5'): Check against precomputed answers ── out1l$bound (`actual`) not equal to 0.9261166 (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (0.9261166) ── Failure ('test-ci_bound_wn_i_ustd_sem_user_eq.R:40:5'): Check against precomputed answers ── out2u$bound (`actual`) not equal to 0.9509614 (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (0.9509614) ── Failure ('test-ci_i_one_rb_ustd_pa.R:46:5'): Check with know results ──────── unname(out1x$bounds) (`actual`) not equal to c(0.6756703) (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (0.6756703) ── Failure ('test-ci_i_one_rb_ustd_pa.R:47:5'): Check with know results ──────── unname(out2x$bounds) (`actual`) not equal to c(0.6734225) (`expected`). `actual` is a logical vector (NA) `expected` is a double vector (0.6734225) ── Error ('test-semlbci_rb_ustd_pa.R:142:5'): Check p-value for the chi-square difference test ── Error in `if (all(mods.scaled | ndf == 0) && any(mods.scaled)) { scaled <- TRUE scaledList <- sapply(mods[[which(ndf > 0)[1]]]@test, function(x) !is.null(x$scaled.test.stat)) scaled.idx <- which(scaledList)[[1]] default.TEST <- object@test[[scaled.idx]]$test if (test == "default") { TEST <- default.TEST } else if (!test %in% c("satorra.bentler", "yuan.bentler", "yuan.bentler.mplus", "mean.var.adjusted", "scaled.shifted")) { lav_msg_stop(gettextf("test = %s not found in object. See available tests in\n lavInspect(object, \"options\")$test.", dQuote(test))) } else TEST <- test check.scaled <- unlist(lapply(mods, function(x) { TEST %in% unlist(sapply(slot(x, "test"), "[[", "test")) })) if (any(!check.scaled)) { lav_msg_stop(gettextf("test = %1$s not found in model(s): %2$s. Find available tests per model\n using lavInspect(fit, \"options\")$test.", dQuote(test), lav_msg_view(names(mods)[which(!check.scaled)], "none"))) } } else if (!any(mods.scaled)) { scaled <- FALSE TEST <- "standard" method <- "standard" } else { lav_msg_stop(gettext("some models (but not all) have scaled test statistics")) }`: missing value where TRUE/FALSE needed Backtrace: â–† 1. ├─testthat::expect_true(...) at test-semlbci_rb_ustd_pa.R:142:5 2. │ └─testthat::quasi_label(enquo(object), label, arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─semlbci:::test_p(fitc_out1l, fit, ciperc = ciperc, tol = 1e-04) 5. └─lavaan::lavTestLRT(fit0, fit1, method = "satorra.2000", A.method = "exact") ── Error ('test-semlbci_rb_ustd_pa.R:149:1'): (code run outside of `test_that()`) ── Error in `if (any(STAT.delta[-1] < -1 * .Machine$double.eps^(1/3))) { lav_msg_warn(gettextf("Some restricted models fit better than less restricted models; either\n these models are not nested, or the less restricted model failed to reach\n a global optimum.Smallest difference = %s.", min(STAT.delta[-1]))) }`: missing value where TRUE/FALSE needed Backtrace: â–† 1. └─semlbci:::test_constr(...) at test-semlbci_rb_ustd_pa.R:149:1 2. ├─lavaan::anova(fitc, fit) 3. └─lavaan::anova(fitc, fit) 4. └─lavaan::lavTestLRT(object = object, ..., model.names = tmp.names) [ FAIL 28 | WARN 7 | SKIP 168 | PASS 98 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [26s/80s] OK * checking PDF version of manual ... [12s/31s] OK * checking HTML version of manual ... [4s/12s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 2 ERRORs