crsh / papaja

papaja (Preparing APA Journal Articles) is an R package that provides document formats to produce complete APA manuscripts from RMarkdown-files (PDF and Word documents) and helper functions that facilitate reporting statistics, tables, and plots.
https://frederikaust.com/papaja_man/
Other
651 stars 132 forks source link

throw an informative error message from wsci() if no within-subjects … #553

Closed mariusbarth closed 1 year ago

mariusbarth commented 1 year ago

…factor is specified.

There was a tiny glitch in wsci() that caused an exception before the proper error handling could kick in. Now throws an informative error message ("No within-subjects factor specified") instead of failing early. Behavior is now also tested