-
Notifications
You must be signed in to change notification settings - Fork 1k
Should never recycle the zero-length vector #4262
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
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
75b5605
should return zero row table if all the list's length is 1 or 0 (at l…
shrektan f9b2f21
no warning is going to be throwed
shrektan a7df4ba
zero length is only meaningful for atomic and non-NULL elements
shrektan bb24a93
add tests
shrektan e411bed
add the NEWs entry
shrektan fb3b72b
add more comment
shrektan 6e2cf67
should return zero-nrow data.table object when any nonnull and atomic…
shrektan 5b83a31
fix test 2139.1 - should use integer() not double()
shrektan 0905124
fix test 1967.35
shrektan 07db3fd
use = in test not <-
shrektan ee65ea0
add a new test
shrektan 45e9770
remove the previous recycle warning
shrektan 505e80a
use vapply_1b
shrektan e533908
tweak the NEWS item
shrektan 387d4c7
Merge branch 'master' into fix3727
mattdowle ba289fc
Merge branch 'master' into fix3727
mattdowle 0a78f78
slightly simpler; nrow=if()
mattdowle 8593370
minor tidy of new tests; e.g. vertical align of 2171.5 to more easily…
mattdowle 0c51421
test not just identical but correct too
mattdowle 72b4f2f
news item expanded with examples
mattdowle 0094a08
use .() rather than J() in news item
mattdowle 15514b0
comment about change to test 1967.35 moved to be on same line as the …
mattdowle File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.