Skip to content

[Bug]: Predictive Analytics: This analysis terminated unexpectedly. #3140

@Frd60

Description

@Frd60

JASP Version

0.19.3

Commit ID

No response

JASP Module

Predictive Analytics

What analysis are you seeing the problem on?

Future Prediction, Prediction Indicator, Bart-Regression

What OS are you seeing the problem on?

Windows 11

Bug Description

When activating the Future Prediction option, an Error message is generated:

This analysis terminated unexpectedly.
Error in $<-.data.frame(*tmp*, 'tt', value = 7290:7289): replacement has 2 rows, data has 0
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)
.predanFuturePredictionResults(jaspResults, dataset, options, ready)
$<-(*tmp*, 'tt', value = 7290:7289)
$<-.data.frame(*tmp*, 'tt', value = 7290:7289)
stop(sprintf(ngettext(N, 'replacement has %d row, data has %d', 'replacement has %d rows, data has %d'), N, nrows), domain = NA)

Expected Behaviour

I was expecting prediction plots

Steps to Reproduce

...

Log (if any)

No response

More Debug Information

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.

Metadata

Metadata

Assignees

Labels

Bug: HighBugs that are negatively affecting the area of the program, but don't need immediate fix.Module: jaspPredictiveAnalytics

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions