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

Make non-unique keys message more informative #70

Open
robne1982 opened this issue Aug 22, 2019 · 0 comments
Open

Make non-unique keys message more informative #70

robne1982 opened this issue Aug 22, 2019 · 0 comments

Comments

@robne1982
Copy link
Collaborator

If I run

rCompare(ddf, ddf2, keys = c("a", "b", "c", "d","e"))

but there are duplicates in c("a", "b", "c", "d","e") I get an error message like:

Running rCompare...
Error in matchSingleIndex(df_a, df_b, "dataCompareR_merged_indices", indices) : 
  The indices are not unique in the submitted dataframes. Please resubmit with unique indices.

I expect my indices are unique, so now I have to write some code to figure out why they're not!

I'm guessing the code knows more about what element is not unique, so it'd be nice if it told me!

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

No branches or pull requests

2 participants