Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: more helpful error message in correlation plot #347

Closed
djdekker opened this issue Apr 14, 2019 · 1 comment
Closed

Request: more helpful error message in correlation plot #347

djdekker opened this issue Apr 14, 2019 · 1 comment

Comments

@djdekker
Copy link

  • Enhancement: more helpful error message
  • Purpose: make user understand what (s)he's doing wrong and how to correct this
  • Use-case: user requests statistics without selecting correlation coefficient

How to reproduce current behavior:
In Regression > Correlation Matrix check the checkboxes Correlation matrix and Statistics and make sure that no checkbox under Correlation Coefficients is checked. Now an R error message appears:

This analysis terminated unexpectedly.
Error: Column 'y' must be a 1d atomic vector or a list

Instead, I'd like to see an error message like this:

Statistics cannot be shown when no correlation coefficients are selected. Please check one or more Correlation Coefficients checkboxes.

Describe alternatives you've considered
N/A

Additional context
N/A

@Kucharssim
Copy link
Member

Dear @djdekker ,

thank you for reporting this error. I can reproduce it using version 0.9.2, but it appears to be fixed in the upcoming version. Please, feel free to reopen this issue if it occurs in the future.

Best,
Simon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants