Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: error message when trying to perform LGCM in JASP #2764

Closed
2 of 3 tasks
caroliee opened this issue Jun 5, 2024 · 6 comments
Closed
2 of 3 tasks

[Bug]: error message when trying to perform LGCM in JASP #2764

caroliee opened this issue Jun 5, 2024 · 6 comments

Comments

@caroliee
Copy link

caroliee commented Jun 5, 2024

JASP Version

0.18.3

Commit ID

No response

JASP Module

SEM

What analysis are you seeing the problem on?

Latent growth curve model

What OS are you seeing the problem on?

Windows 10

Bug Description

I was executing a latent growth curve model with 6 time points. When I added a factor "group" (1 = intervention, 2 = control) the following error message shows up:

Error in .lgcmEnrichData(dataset, options): object 'currentNa' not found

Stack trace
tryCatchOne(expr, names, parentenv, handlers[[1]])

doTryCatch(return(expr), name, parentenv, handler)

withCallingHandlers(expr = analysis(jaspResults = jaspResults, dataset = dataset, options = options), error = .addStackTrace)

analysis(jaspResults = jaspResults, dataset = dataset, options = options)

.lgcmEnrichData(dataset, options)

options(na.action = currentNa)

Expected Behaviour

Regression coefficients for the groups should be displayed

Steps to Reproduce

I have the same issue when i perform the latent curve model with the example dataset from this JASP tutorial site: https://jasp-stats.org/2022/02/22/latent-growth-curve-modeling-lgcm-in-jasp/
LGCM gpa dataset with factor
LGCM my dataset with factor group
LGCM my dataset without factor

Log (if any)

No response

Final Checklist

  • I have included a screenshot showcasing the issue, if possible.
  • I have included a JASP file (zipped) or data file that causes the crash/bug, if applicable.
  • I have accurately described the bug, and steps to reproduce it.
@juliuspfadt
Copy link
Contributor

@caroliee, thanks for creating the issue. I think this should be fixed in the next release (jasp-stats/jaspSem#205), alternatively you can try one of the JASP nightly versions, it should also already be fixed there.

@caroliee
Copy link
Author

Hi @juliuspfadt, can you tell me when the next release will be with this bug fix or if there is a previous version of JASP where the error message was not there? Thank you very much for helping!

@tomtomme
Copy link
Member

It will be out in some weeks we hope

@tomtomme
Copy link
Member

If you need this now you can get a nightly from https://static.jasp-stats.org/Nightlies/

@MCube78
Copy link

MCube78 commented Jul 10, 2024

Had the exact same issue, I confirm the latest nightly (07-09-24) works.

@caroliee
Copy link
Author

Great, thanks for letting me know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants