Skip to content

[Bug]: Analysis terminated unexpectedly when trying to tick Z test in a One Sample T-Test #3023

@enzoootj

Description

@enzoootj

JASP Version

0.19.1

Commit ID

No response

JASP Module

T-Tests

What analysis are you seeing the problem on?

One Sample T-Test

What OS are you seeing the problem on?

macOS Silicon

Bug Description

This is what happened when I tick the analysis for Z test in the One Sample T-Test:

Error in ttest$addFootnote(paste(tzNote, wNote)): jaspTable$addFootnote expects 'message' to be a string!

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)

.ttestOneSampleMainTable(jaspResults, dataset, options, ready, type)

ttest$addFootnote(paste(tzNote, wNote))

stop('jaspTable$addFootnote expects 'message' to be a string!', domain = NA)

Expected Behaviour

It should've been executed smoothly without any problems at all.

Steps to Reproduce

  1. Click on One Sample T-Test
  2. Move the data you want to analyse
  3. Under "Tests", there is a checbox for Z test
  4. Click on it

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions