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

Repeated measures ANOVA undefined column selected #1250

Closed meflaim closed 8 months ago

meflaim commented 3 years ago

Steps to reproduce:

  1. Go to '...' Repeated measures ANOVA, 8 repeated measures
  2. Click on '....' descriptive statistics
  3. See error: This analysis terminated unexpectedly.

Error in [.data.frame(dataset, do.call(order, dataset[, fixedB64, drop = FALSE]), : undefined columns selected

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)

.BANOVAdescriptives(rmAnovaContainer, longData, options, list(noVariables = FALSE), 'RM-ANOVA', ready)

.BANOVAdescriptivesTable(descriptivesContainer, dataset, options, errors, analysisType)

dataset[do.call(order, dataset[, fixedB64, drop = FALSE]), c(dependentB64, fixedB64)]

[.data.frame(dataset, do.call(order, dataset[, fixedB64, drop = FALSE]), c(dependentB64, fixedB64))

stop('undefined columns selected')

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

meflaim commented 3 years ago

github jasp issue-20210411T162326Z-001.zip

tomtomme commented 8 months ago

@meflaim title says "RM ANOVA" but error message says "RM BANOVA" - I tried both with your data. All seems fine with jasp 0.18.3.

If this is not fixed on your side, feel free to reopen!