jasp-stats / jasp-issues

This repository is solely meant for reporting of bugs, feature requests and other issues in JASP.
58 stars 29 forks source link

This analysis terminated unexpectedly[Bug]: #2848

Open IAMTrish opened 1 month ago

IAMTrish commented 1 month ago

JASP Version

0.19.0

Commit ID

No response

JASP Module

Descriptives

What analysis are you seeing the problem on?

Q-Q plot

What OS are you seeing the problem on?

Windows 11

Bug Description

This analysis terminated unexpectedly.

Error in quantile.default(varCol, probs = c(0.25, 0.75)): (unordered) factors are not allowed

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)

.descriptivesQQPlot(dataset = dataset, options = options, qqvar = var)

stats::quantile(varCol, probs = c(0.25, 0.75))

quantile.default(varCol, probs = c(0.25, 0.75))

stop('(unordered) factors are not allowed')

To receive assistance with this problem, please report the message above at: https://jasp-stats.org/bug-reports

Expected Behaviour

A copy of Q-Q plots

Steps to Reproduce

  1. Added data to a table
  2. Added my independent variables to the Variable box
  3. Went into Basic Plot menu
  4. Clicked Q-Q plots ...

Log (if any)

No response

More Debug Information

This analysis terminated unexpectedly.

Error in quantile.default(varCol, probs = c(0.25, 0.75)): (unordered) factors are not allowed

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)

.descriptivesQQPlot(dataset = dataset, options = options, qqvar = var)

stats::quantile(varCol, probs = c(0.25, 0.75))

quantile.default(varCol, probs = c(0.25, 0.75))

stop('(unordered) factors are not allowed')

To receive assistance with this problem, please report the message above at: https://jasp-stats.org/bug-reports Screenshot 2024-07-26 110707

Final Checklist

tomtomme commented 1 month ago

@IAMTrish I cannot replicate the error with my data. Can you share your data file by renaming .jasp to .zip and drag and drop it here? thx

github-actions[bot] commented 1 week ago

This issue will be automatically closed in 42 days due to inactivity. Feel free to leave a comment if you believe this is still relevant.