R Under development (unstable) (2025-08-22 r88678 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(MplusAutomation) Version: 1.2 We work hard to write this free software. Please help us get credit by citing: Hallquist, M. N. & Wiley, J. F. (2018). MplusAutomation: An R Package for Facilitating Large-Scale Latent Variable Analyses in Mplus. Structural Equation Modeling, 25, 621-638. doi: 10.1080/10705511.2017.1402334. -- see citation("MplusAutomation"). > > test_check("MplusAutomation") ============== Mplus model comparison ---------------------- ------ Model 1: D:/RCompile/CRANincoming/R-devel/lib/MplusAutomation/extdata/ex3.7.out Model 2: D:/RCompile/CRANincoming/R-devel/lib/MplusAutomation/extdata/ex6.4.out ------ Model Summary Comparison ------------------------ m1 Title this is an example of a Poisson regression for a count dependent variable with two covariates Observations 500 Estimator MLR Parameters 3 LL -966.884 AIC 1939.768 BIC 1952.412 m2 Title this is an example of a CFA with censored and count factor indicators Observations 500 Estimator MLR Parameters 16 LL -4424.258 AIC 8880.517 BIC 8947.95 MLR Chi-Square Difference Test for Nested Models Based on Loglikelihood ----------------------------------------------------------------------- Difference Test Scaling Correction: 0.9693615 Chi-square difference: -7133.301 Diff degrees of freedom: 13 P-value: 1 Note: The chi-square difference test assumes that these models are nested. It is up to you to verify this assumption. MLR Chi-Square Difference test for nested models -------------------------------------------- Difference Test Scaling Correction: Chi-square difference: Diff degrees of freedom: P-value: Note: The chi-square difference test assumes that these models are nested. It is up to you to verify this assumption. ========= Model parameter comparison -------------------------- Parameters present in both models ========= Approximately equal in both models (param. est. diff <= 1e-04) ---------------------------------------------- None Parameter estimates that differ between models (param. est. diff > 1e-04) ---------------------------------------------- None P-values that differ between models (p-value diff > 1e-04) ----------------------------------- None Parameters unique to model 1: 3 ----------------------------- paramHeader param m1_est m1_se m1_est_se m1_pval U1.ON X1 0.533 0.027 19.795 0 U1.ON X3 0.249 0.026 9.780 0 Intercepts U1 1.026 0.030 34.033 0 Parameters unique to model 2: 18 ----------------------------- paramHeader param m2_est m2_se m2_est_se m2_pval F1.BY Y2 1.000 0.037 27.004 0.000 F1.BY Y3 0.986 0.038 25.845 0.000 F2.BY U5 0.998 0.047 21.136 0.000 F2.BY U6 1.048 0.062 16.780 0.000 F2.WITH F1 0.057 0.041 1.384 0.166 Intercepts U4 0.584 0.054 10.829 0.000 Intercepts U5 0.588 0.055 10.726 0.000 Intercepts U6 0.575 0.056 10.263 0.000 Intercepts Y1 8.027 0.044 183.807 0.000 Intercepts Y2 8.046 0.043 185.688 0.000 Intercepts Y3 7.993 0.044 183.449 0.000 Variances F1 0.761 0.054 14.073 0.000 Variances F2 0.733 0.081 9.057 0.000 Residual.Variances Y1 0.192 0.019 10.350 0.000 Residual.Variances Y2 0.178 0.019 9.506 0.000 Residual.Variances Y3 0.209 0.020 10.476 0.000 2 filtered from output (fixed and/or n.s.) F1.BY.Y1, F2.BY.U4 ============== Writing data to file: D:\temp\2025_08_23_21_15_17_11541\RtmpiEFhFg/ex3.1.dat Writing Mplus syntax to file: D:\temp\2025_08_23_21_15_17_11541\RtmpiEFhFg/ex3.1.inp ------Begin Mplus Model Submission: 23Aug2025 21:17:21------ Submission options: Recursive (run models in subdirectories): FALSE Replace existing outfile: modifiedDate ------ Skipping model because output file is newer than input file: D:\RCompile\CRANincoming\R-devel\MplusAutomation.Rcheck\tests\testthat\submitModels\ex3.1.inp Submitting model: c("ex3.3.inp", "ex3.4.inp", "ex3.5.inp") sbatch d:/RCompile/CRANincoming/R-devel/MplusAutomation.Rcheck/tests/testthat/mplus_batch_files/1_batch1.sbatch Submitting model: ex3.2.inp sbatch d:/RCompile/CRANincoming/R-devel/MplusAutomation.Rcheck/tests/testthat/mplus_batch_files/2_ex3.2.sbatch ------End Mplus Model Submission: 23Aug2025 21:17:21------ ------Begin Mplus Model Submission: 23Aug2025 21:17:21------ Submission options: Recursive (run models in subdirectories): FALSE Replace existing outfile: modifiedDate ------ Submitting model: c("job_1.inp", "job_2.inp", "job_3.inp", "job_4.inp", "job_5.inp", "job_6.inp", "job_7.inp", "job_8.inp", "job_9.inp") sbatch submitModels/job_combine/batchfiles/01_batch1.sbatch Submitting model: c("job_10.inp", "job_11.inp", "job_12.inp", "job_13.inp") sbatch submitModels/job_combine/batchfiles/02_batch2.sbatch Submitting model: c("job_14.inp", "job_15.inp", "job_16.inp") sbatch submitModels/job_combine/batchfiles/03_batch3.sbatch Submitting model: c("job_17.inp", "job_18.inp") sbatch submitModels/job_combine/batchfiles/04_batch4.sbatch Submitting model: c("job_19.inp", "job_20.inp") sbatch submitModels/job_combine/batchfiles/05_batch5.sbatch ------End Mplus Model Submission: 23Aug2025 21:17:21------ ----- Factor: Species Conversion: level number setosa 1 versicolor 2 virginica 3 ----- ----- Factor: Species Conversion: level number setosa 1 versicolor 2 virginica 3 ----- [ FAIL 0 | WARN 0 | SKIP 1 | PASS 150 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-issue158_createmixtures.R:12:3' [ FAIL 0 | WARN 0 | SKIP 1 | PASS 150 ] > > proc.time() user system elapsed 6.60 0.68 7.23