-
-
Notifications
You must be signed in to change notification settings - Fork 203
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
fix: remove unintended type conversions when using disjoint_union()
#1375
Conversation
Current Aviator status
This PR was merged using Aviator.
See the real-time status of this PR on the
Aviator webapp.
Use the Aviator Chrome Extension
to see the status of your PR within GitHub.
|
R/operators.R
Outdated
} | ||
for (a in seq_along(newattr)) { | ||
attr[[newattr[a]]] <- c(rep(NA, cumec[i]), ea[[newattr[a]]]) | ||
if (cumec[i] == 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
noticed because it is 0 in the reprex 😅
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand this. Would it be an opportunity to turn the loop into functional code?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
in this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's wait for the tests in the other PR.
R/operators.R
Outdated
} | ||
for (a in seq_along(newattr)) { | ||
attr[[newattr[a]]] <- c(rep(NA, cumec[i]), ea[[newattr[a]]]) | ||
if (cumec[i] == 0) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't understand this. Would it be an opportunity to turn the loop into functional code?
disjoint_union()
We have conflicts? |
e47bd2c
to
0492dba
Compare
Fix #761
Including commits refactoring the test file before I added the test. 😇