CRAN Package Check Results for Package lavaanExtra

Last updated on 2024-09-12 05:49:44 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.2.1 3.17 73.63 76.80 OK
r-devel-linux-x86_64-debian-gcc 0.2.1 2.36 51.35 53.71 ERROR
r-devel-linux-x86_64-fedora-clang 0.2.1 129.96 OK
r-devel-linux-x86_64-fedora-gcc 0.2.1 135.28 OK
r-devel-windows-x86_64 0.2.1 4.00 91.00 95.00 OK
r-patched-linux-x86_64 0.2.1 3.41 69.08 72.49 OK
r-release-linux-x86_64 0.2.1 3.07 68.45 71.52 OK
r-release-macos-arm64 0.2.1 50.00 OK
r-release-macos-x86_64 0.2.1 137.00 OK
r-release-windows-x86_64 0.2.1 4.00 92.00 96.00 OK
r-oldrel-macos-arm64 0.2.1 77.00 OK
r-oldrel-macos-x86_64 0.2.1 93.00 OK
r-oldrel-windows-x86_64 0.2.1 4.00 106.00 110.00 OK

Check Details

Version: 0.2.1
Check: package dependencies
Result: NOTE Package suggested but not available for checking: ‘flextable’ Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.2.1
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [13s/15s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/tests.html > # * https://testthat.r-lib.org/reference/test_package.html#special-files > > library(testthat) > library(lavaanExtra) Suggested APA citation: Thériault, R. (2023). lavaanExtra: Convenience functions for lavaan. Journal of Open Source Software, 8(90), 5701. https://doi.org/10.21105/joss.05701 > > test_check("lavaanExtra") This is lavaan 0.6-18 lavaan is FREE software! Please report any bugs. lavaan 0.6-18 ended normally after 35 iterations Estimator ML Optimization method NLMINB Number of model parameters 21 Number of observations 301 Model Test User Model: Standard Scaled Test Statistic 85.306 87.132 Degrees of freedom 24 24 P-value (Chi-square) 0.000 0.000 Scaling correction factor 0.979 Yuan-Bentler correction (Mplus variant) Model Test Baseline Model: Test statistic 918.852 880.082 Degrees of freedom 36 36 P-value 0.000 0.000 Scaling correction factor 1.044 User Model versus Baseline Model: Comparative Fit Index (CFI) 0.931 0.925 Tucker-Lewis Index (TLI) 0.896 0.888 Robust Comparative Fit Index (CFI) 0.930 Robust Tucker-Lewis Index (TLI) 0.895 Loglikelihood and Information Criteria: Loglikelihood user model (H0) -3737.745 -3737.745 Scaling correction factor 1.133 for the MLR correction Loglikelihood unrestricted model (H1) -3695.092 -3695.092 Scaling correction factor 1.051 for the MLR correction Akaike (AIC) 7517.490 7517.490 Bayesian (BIC) 7595.339 7595.339 Sample-size adjusted Bayesian (SABIC) 7528.739 7528.739 Root Mean Square Error of Approximation: RMSEA 0.092 0.093 90 Percent confidence interval - lower 0.071 0.073 90 Percent confidence interval - upper 0.114 0.115 P-value H_0: RMSEA <= 0.050 0.001 0.001 P-value H_0: RMSEA >= 0.080 0.840 0.862 Robust RMSEA 0.092 90 Percent confidence interval - lower 0.072 90 Percent confidence interval - upper 0.114 P-value H_0: Robust RMSEA <= 0.050 0.001 P-value H_0: Robust RMSEA >= 0.080 0.849 Standardized Root Mean Square Residual: SRMR 0.065 0.065 Parameter Estimates: Standard errors Sandwich Information bread Observed Observed information based on Hessian Latent Variables: Estimate Std.Err z-value P(>|z|) Std.lv Std.all visual =~ x1 1.000 0.900 0.772 x2 0.554 0.132 4.191 0.000 0.498 0.424 x3 0.729 0.141 5.170 0.000 0.656 0.581 textual =~ x4 1.000 0.990 0.852 x5 1.113 0.066 16.946 0.000 1.102 0.855 x6 0.926 0.061 15.089 0.000 0.917 0.838 speed =~ x7 1.000 0.619 0.570 x8 1.180 0.130 9.046 0.000 0.731 0.723 x9 1.082 0.266 4.060 0.000 0.670 0.665 Covariances: Estimate Std.Err z-value P(>|z|) Std.lv Std.all visual ~~ textual 0.408 0.099 4.110 0.000 0.459 0.459 speed 0.262 0.060 4.366 0.000 0.471 0.471 textual ~~ speed 0.173 0.056 3.081 0.002 0.283 0.283 Variances: Estimate Std.Err z-value P(>|z|) Std.lv Std.all .x1 0.549 0.156 3.509 0.000 0.549 0.404 .x2 1.134 0.112 10.135 0.000 1.134 0.821 .x3 0.844 0.100 8.419 0.000 0.844 0.662 .x4 0.371 0.050 7.382 0.000 0.371 0.275 .x5 0.446 0.057 7.870 0.000 0.446 0.269 .x6 0.356 0.047 7.658 0.000 0.356 0.298 .x7 0.799 0.097 8.222 0.000 0.799 0.676 .x8 0.488 0.120 4.080 0.000 0.488 0.477 .x9 0.566 0.119 4.768 0.000 0.566 0.558 visual 0.809 0.180 4.486 0.000 1.000 1.000 textual 0.979 0.121 8.075 0.000 1.000 1.000 speed 0.384 0.107 3.596 0.000 1.000 1.000 R-Square: Estimate x1 0.596 x2 0.179 x3 0.338 x4 0.725 x5 0.731 x6 0.702 x7 0.324 x8 0.523 x9 0.442 [ FAIL 6 | WARN 0 | SKIP 23 | PASS 34 ] ══ Skipped tests (23) ══════════════════════════════════════════════════════════ • On CRAN (22): 'test-cfa_fit_plot.R:39:3', 'test-lavaan_defined.R:33:3', 'test-lavaan_defined.R:63:3', 'test-lavaan_defined.R:74:3', 'test-nice_modindices.R:35:3', 'test-nice_modindices.R:42:3', 'test-nice_modindices.R:58:3', 'test-write_lavaan.R:35:3', 'test-write_lavaan.R:39:3', 'test-write_lavaan.R:43:3', 'test-write_lavaan.R:47:3', 'test-write_lavaan.R:51:3', 'test-write_lavaan.R:55:3', 'test-write_lavaan.R:63:3', 'test-write_lavaan.R:73:3', 'test-write_lavaan.R:83:3', 'test-write_lavaan.R:87:3', 'test-write_lavaan.R:91:3', 'test-write_lavaan.R:95:3', 'test-write_lavaan.R:99:3', 'test-write_lavaan.R:103:3', 'test-write_lavaan.R:107:3' • On Linux (1): 'test-lavaan_defined.R:39:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-lavaan_cor.R:33:3'): nice_fit as nice_table ──────────────────── <rlib_error_package_not_found/rlang_error/error/condition> Error in `rempsyc::nice_table(x, ...)`: The package "flextable" (>= 0.9.1) is required for this function. Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-lavaan_cor.R:33:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─lavaanExtra::lavaan_cor(fit, nice_table = TRUE) 5. └─lavaanExtra::lavaan_cov(fit, nice_table = nice_table, ...) 6. └─lavaanExtra::lavaan_extract(...) 7. └─rempsyc::nice_table(x, ...) 8. └─rlang::check_installed(...) ── Error ('test-lavaan_cov.R:33:3'): nice_fit as nice_table ──────────────────── <rlib_error_package_not_found/rlang_error/error/condition> Error in `rempsyc::nice_table(x, ...)`: The package "flextable" (>= 0.9.1) is required for this function. Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-lavaan_cov.R:33:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─lavaanExtra::lavaan_cov(fit, nice_table = TRUE) 5. └─lavaanExtra::lavaan_extract(...) 6. └─rempsyc::nice_table(x, ...) 7. └─rlang::check_installed(...) ── Error ('test-lavaan_reg.R:32:3'): nice_fit as nice_table ──────────────────── <rlib_error_package_not_found/rlang_error/error/condition> Error in `rempsyc::nice_table(x, ...)`: The package "flextable" (>= 0.9.1) is required for this function. Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-lavaan_reg.R:32:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─lavaanExtra::lavaan_reg(fit, nice_table = TRUE) 5. └─lavaanExtra::lavaan_extract(...) 6. └─rempsyc::nice_table(x, ...) 7. └─rlang::check_installed(...) ── Error ('test-lavaan_var.R:33:3'): nice_fit as nice_table ──────────────────── <rlib_error_package_not_found/rlang_error/error/condition> Error in `rempsyc::nice_table(x, ...)`: The package "flextable" (>= 0.9.1) is required for this function. Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-lavaan_var.R:33:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─lavaanExtra::lavaan_var(fit, nice_table = TRUE) 5. └─rempsyc::nice_table(x, ...) 6. └─rlang::check_installed(...) ── Error ('test-nice_fit.R:32:3'): nice_fit as nice_table ────────────────────── <rlib_error_package_not_found/rlang_error/error/condition> Error in `rempsyc::nice_table(x, stars = stars)`: The package "flextable" (>= 0.9.1) is required for this function. Backtrace: ▆ 1. ├─testthat::expect_s3_class(nice_fit(fit, nice_table = TRUE), "flextable") at test-nice_fit.R:32:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─lavaanExtra::nice_fit(fit, nice_table = TRUE) 5. └─rempsyc::nice_table(x, stars = stars) 6. └─rlang::check_installed(...) ── Error ('test-nice_fit.R:91:3'): nice_fit test categorical variable ────────── <rlib_error_package_not_found/rlang_error/error/condition> Error in `rempsyc::nice_table(x, stars = stars)`: The package "flextable" (>= 0.9.1) is required for this function. Backtrace: ▆ 1. ├─testthat::expect_s3_class(...) at test-nice_fit.R:91:3 2. │ └─testthat::quasi_label(enquo(object), arg = "object") 3. │ └─rlang::eval_bare(expr, quo_get_env(quo)) 4. └─lavaanExtra::nice_fit(fit, nice_table = TRUE, verbose = FALSE) 5. └─rempsyc::nice_table(x, stars = stars) 6. └─rlang::check_installed(...) [ FAIL 6 | WARN 0 | SKIP 23 | PASS 34 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc