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

Add informative warning #606

Merged
merged 1 commit into from
Nov 30, 2023
Merged

Add informative warning #606

merged 1 commit into from
Nov 30, 2023

Conversation

cjvanlissa
Copy link
Contributor

Add informative warning when all missing data patterns are dropped; closes #605

There is no problem here, but the message "No need for mice. This data set is completely observed" is confusing. It happens because md.patterns() is run on a data.frame with 0 rows. Now, I throw an informative error before this happens.

@stefvanbuuren stefvanbuuren merged commit c924a74 into amices:master Nov 30, 2023
6 checks passed
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

Successfully merging this pull request may close these issues.

2 participants