Closed giovanniconstantin closed 9 months ago
Hi @giovanniconstantin, 0.17.1 is already quite old. Could you try the newest JASP version: https://jasp-stats.org/download/ ?
@giovanniconstantin I hope you could resolve this. Please reopen if not.
@giovanniconstantin
More Infos on this but from vandenman, who wrote this in #2088:
Thanks for reporting the issue! What goes wrong internally is that the correlation matrix is not positive definite. If you change the correlation method to Cor or the method for Missing values to Exclude listwise then the error disappears and you do get output. I'll adjust the code so you receive a more informative error message in the future.
This error also appears with non-parametric bootstrapping in the network module.
Sorry for the huge delay. The better error message was added at some point but seems not to work in all cases. We will work on a fix.
JASP Version
0.17.1
Commit ID
No response
JASP Module
Network
What analysis are you seeing the problem on?
Network Analysis
What OS are you seeing the problem on?
Windows 11
Bug Description
Hello! I was trying to contact a simple network analysis and this message appeared: This analysis terminated unexpectedly.
Error in .extractErrorMessage(e): length(error) = 1 is not TRUE
Stack trace .networkAnalysisRun(mainContainer, dataset, options)
tryCatch(networkList[['network']] <- .networkAnalysisComputeNetworks(options, dataset), mgmError = function(e) { mainContainer[['generalTable']]$addFootnote(e[['message']]) }, error = function(e) { mainContainer$setError(.networkAnalysisCheckKnownErrors(e)) })
tryCatchList(expr, classes, parentenv, handlers)
tryCatchOne(tryCatchList(expr, names[-nh], parentenv, handlers[-nh]), names[nh], parentenv, handlers[[nh]])
value[3]
mainContainer$setError(.networkAnalysisCheckKnownErrors(e))
private$jaspObject$setError(x)
.networkAnalysisCheckKnownErrors(e)
.extractErrorMessage(e)
stopifnot(length(error) = 1)
To receive assistance with this problem, please report the message above at: https://jasp-stats.org/bug-reports
Have in mind that I tried to change the estimator but also other error messages appeared similar to that.
Expected Behaviour
The program should contact normally the simple network analysis as it does in similar cases, without having any issues. Its not the only data series that I imported to JASP and till now everything was fine.
Steps to Reproduce
Change the estimator
...
Log (if any)
No response
Final Checklist