* using log directory ‘/srv/hornik/tmp/CRAN_pretest/MplusAutomation.Rcheck’ * using R Under development (unstable) (2025-08-22 r88678) * using platform: x86_64-pc-linux-gnu * R was compiled by Debian clang version 19.1.7 (3+b1) Debian flang-new version 19.1.7 (3+b1) * running under: Debian GNU/Linux forky/sid * using session charset: UTF-8 * checking for file ‘MplusAutomation/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘MplusAutomation’ version ‘1.2’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [5s/6s] NOTE Maintainer: ‘Michael Hallquist ’ Found the following (possibly) invalid URLs: URL: http://www.pcre.org/pcre.txt (moved to https://www.pcre.org/pcre.txt) From: man/extractModIndices.Rd man/extractModelParameters.Rd man/extractModelSummaries.Rd man/readModels.Rd man/runModels.Rd man/submitModels.Rd Status: 301 Message: Moved Permanently For content that is 'Moved Permanently', please change http to https, add trailing slashes, or replace the old by the new URL. * 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 ‘MplusAutomation’ can be installed ... [18s/18s] OK * checking package directory ... OK * checking for future file timestamps ... 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 ... [1s/1s] OK * checking whether the package can be loaded with stated dependencies ... [1s/1s] OK * checking whether the package can be unloaded cleanly ... [1s/1s] OK * checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK * checking whether the namespace can be unloaded cleanly ... [1s/1s] OK * checking loading without being on the library search path ... [1s/1s] OK * checking whether startup messages can be suppressed ... [1s/1s] 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 ... [18s/18s] NOTE Found the following possibly unsafe calls: File ‘MplusAutomation/R/mplusModel.R’: unlockBinding(ff, self) unlockBinding(ff, self) * checking Rd files ... [1s/1s] 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 ... [0s/0s] 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 ... [7s/8s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [3s/3s] ERROR Running ‘testthat.R’ [3s/3s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > 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: /srv/hornik/tmp/CRAN_pretest/MplusAutomation.Rcheck/MplusAutomation/extdata/ex3.7.out Model 2: /srv/hornik/tmp/CRAN_pretest/MplusAutomation.Rcheck/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: /tmp/Rtmp253jwg/working_dir/Rtmp1uRErX/ex3.1.dat Writing Mplus syntax to file: /tmp/Rtmp253jwg/working_dir/Rtmp1uRErX/ex3.1.inp ----- Factor: Species Conversion: level number setosa 1 versicolor 2 virginica 3 ----- ----- Factor: Species Conversion: level number setosa 1 versicolor 2 virginica 3 ----- [ FAIL 1 | WARN 0 | SKIP 1 | PASS 144 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • On CRAN (1): 'test-issue158_createmixtures.R:12:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-submitModels.R:5:1'): (code run outside of `test_that()`) ────── Error in `detectMplus()`: Mplus is either not installed or could not be found Try installing Mplus or if it already is installed, making sure it can be found by adding it to your PATH or adding a symlink To see directories on your PATH, From a terminal, run: echo $PATH then try something along these lines: sudo ln -s /path/to/mplus/on/your/system /directory/on/your/PATH Backtrace: ▆ 1. └─MplusAutomation::submitModels(...) at test-submitModels.R:5:1 2. └─MplusAutomation::detectMplus() [ FAIL 1 | WARN 0 | SKIP 1 | PASS 144 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [5s/5s] OK * checking PDF version of manual ... [8s/8s] OK * checking HTML version of manual ... [3s/3s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 2 NOTEs