* using log directory ‘/data/blackswan/ripley/R/packages/tests-devel/MplusLGM.Rcheck’ * using R Under development (unstable) (2025-12-20 r89211) * 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 * checking for file ‘MplusLGM/DESCRIPTION’ ... OK * checking extension type ... Package * this is package ‘MplusLGM’ version ‘1.0.0’ * 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 ‘MplusLGM’ can be installed ... OK * checking package 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 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 ... [11s/11s] 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 examples ... OK * checking examples with --run-donttest ... ERROR Running examples in ‘MplusLGM-Ex.R’ failed The error most likely occurred in: > ### Name: fitGBTM > ### Title: Fit Group-Based Trajectory Models (GBTM) for class enumeration. > ### Aliases: fitGBTM > > ### ** Examples > > ## No test: > # Example usage: > GBTM_models <- fitGBTM( + data = symptoms, + outvar = paste("sx", seq(from = 0, to = 24, by = 6), sep = "_"), + catvar = FALSE, + idvar = "id", + starting_val = 500, + min_k = 2L, + max_k = 6L, + timescores = seq(from = 0, to = 24, by = 6), + timescores_indiv = FALSE, + polynomial = 1, + output = c("TECH1", 'TECH14', "SAMPSTAT", "STANDARDIZED"), + plot = "PLOT3", + save = "FSCORES", + wd = file.path("Results", "Trajectories") + ) The following lines are not empty and do not end in a : or ;. 1: GBTM_P1_K2_S500 added semicolons ';' to all of the above lines The following lines are not empty and do not end in a : or ;. 1: USEVAR = sx_0 sx_6 sx_12 sx_18 sx_24 2: IDVAR = id 3: CLASSES = c(2) added semicolons ';' to all of the above lines The following lines are not empty and do not end in a : or ;. 1: TYPE = MIXTURE 2: STARTS = 500 125 3: K-1STARTS = 500 125 4: LRTSTARTS = 0 0 500 125 5: PROCESSORS = 32 added semicolons ';' to all of the above lines The following lines are not empty and do not end in a : or ;. 1: %OVERALL% 2: i s | sx_0@0 sx_6@6 sx_12@12 sx_18@18 sx_24@24 3: [i s] 4: i-s@0 5: %C#1% 6: [i s] 7: i-s@0 8: sx_0 - sx_24 (1) 9: %C#2% 10: [i s] 11: i-s@0 12: sx_0 - sx_24 (1) added semicolons ';' to all of the above lines The following lines are not empty and do not end in a : or ;. 1: TECH1 TECH14 SAMPSTAT STANDARDIZED added semicolons ';' to all of the above lines The following lines are not empty and do not end in a : or ;. 1: FILE = GBTM_P1_K2_S500_res.dat 2: SAVE = FSCORES added semicolons ';' to all of the above lines The following lines are not empty and do not end in a : or ;. 1: TYPE = PLOT3 2: SERIES = sx_0-sx_24 (*) added semicolons ';' to all of the above lines Begin running model: GBTM_P1_K2_S500; 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 Calls: fitGBTM ... .run -> runModels -> grepl -> is.factor -> detectMplus Execution halted * checking PDF version of manual ... OK * checking for non-standard things in the check directory ... NOTE Found the following files/directories: ‘Results’ * checking for detritus in the temp directory ... OK * checking for new files in some other directories ... OK * DONE Status: 1 ERROR, 1 NOTE See ‘/data/blackswan/ripley/R/packages/tests-devel/MplusLGM.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:11.84, 55.46 + 15.94