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

[R] Fix warning about mismatched names when joining #10743

Merged
merged 3 commits into from
Sep 28, 2024

Conversation

david-cortes
Copy link
Contributor

fixes #10742
ref #9810

This PR fixes a warning (which actually turn out to come from data.table, not from DiagrammeR) about mismatched column names when concatenating inputs.

I'm not 100% if this is doing what the function is meant to do though, so would be ideal if someone could take a deeper look.

@trivialfis
Copy link
Member

@mayer79 Could you please help review this PR when you are available? I'm not familiar with the DiagrammeR package.

Copy link
Contributor

@mayer79 mayer79 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The original code tried to rbind two data.frames with different column names. This is fixed.

@david-cortes
Copy link
Contributor Author

The original code tried to rbind two data.frames with different column names. This is fixed.

But is that what it was supposed to be doing?

@mayer79
Copy link
Contributor

mayer79 commented Aug 26, 2024

The original code tried to rbind two data.frames with different column names. This is fixed.

But is that what it was supposed to be doing?

I think yes, but I have never actively used this function.

@trivialfis trivialfis merged commit 429f956 into dmlc:master Sep 28, 2024
26 of 30 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.

[R] Warning when plotting trees with DiagrammeR
3 participants