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

Error when ids in x don't match ids in y #58

Open
agassett opened this issue May 18, 2021 · 0 comments
Open

Error when ids in x don't match ids in y #58

agassett opened this issue May 18, 2021 · 0 comments
Milestone

Comments

@agassett
Copy link

I had a dataset where there were some ID's in my exposure window data that didn't appear in the prediction data.

Error in setstate(x, statex):
all required_columns %in% names(x) is not TRUE
Error in setstate(y, statey):
all required_columns %in% names(x) is not TRUE

then when I checked head(y) I saw that the names of y had been changed to "intervalaverage_end_original_class_copy" and "intervalaverage_start_original_class_copy"

This needs a more informative error and ideally it wouldn't alter the data object that's being passed in.

@myoung3 myoung3 added this to the v0.9.0 milestone Dec 1, 2021
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