data-edu / tidyLPA

Easily carry out Latent Profile Analysis (LPA) using open-source or commercial software
https://data-edu.github.io/tidyLPA/
Other
55 stars 15 forks source link

Issue with choosing indicator variables using "select ()" in tidyLPA #203

Closed emmajanerose closed 2 months ago

emmajanerose commented 2 months ago

I am relatively new to running LPA in R using tidyLPA and, while I was previously able to run the program without any issues, I am now running into an issue with being able to select the variables needed for the analysis (the only difference is that the OS on my Mac is more recent than when I last ran the analysis about 6 months ago). The issue is that when I try to select the variables they do not appear as options for select() and even if I simply enter them manually, the analysis does not run because it does not recognize the selected variables. I am running R v.4.4.1 on Mac and have updated the packages for tidyLPA, MplusAutomation, & dplyr, and have loaded the updated packages using the library function/command, I have also tried re-loading mclust and devtools, and have checked for conflicts (and set conflict preferences for dplyr and and tidyLPA) but I am still running into the same issue. I have also checked (using View() ) that the data is uploaded and displayed correctly, which it is. I have also tried running both in R console and R studio and get the same issue. Is there something obvious that I am missing? Thank you for any advice you can give a novice!