-
Notifications
You must be signed in to change notification settings - Fork 1k
Enhance error message for invalid measure.vars in melt #6767
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
Closed
Closed
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
a2fa23f
Enhancing of error message
Divendra2006 3c1a7c6
Add Suggested changes
Divendra2006 e75bc73
Revert to initial changes
Divendra2006 ea98c19
removal of empty lines
Divendra2006 822964f
Apply changes from maintainer's commit dbcabb0 to avoid repeated strn…
Divendra2006 594d126
Merge branch 'master' into error-enhance
Divendra2006 eff26ca
add test case
Divendra2006 18d0180
changes added
Divendra2006 94173d1
add test
Divendra2006 11345b9
add test
Divendra2006 a26924c
add test
Divendra2006 7b74601
add test result
Divendra2006 ec3ea65
test added 1
Divendra2006 ba8131c
Revert "add test"
Divendra2006 2493cb5
add test3
Divendra2006 e66596f
resolved merge conflict
Divendra2006 89bcb2c
test added for enhancing error message
Divendra2006 bf867b0
Enhancing of error message
Divendra2006 dd37750
Revert to initial changes
Divendra2006 599ff52
Provide a .formula2varlist implementation (#6842)
aitap fcd1cab
Fix index printing by adding index info to header (#6816)
Mukulyadav2004 7823be7
xyz
Divendra2006 cf6140f
Merge branch 'master' into error-enhance
aitap 3f5bed9
modify test
Divendra2006 c56a711
test case added
Divendra2006 778f20b
issues resolved
Divendra2006 53f3e0a
update test case
Divendra2006 d62dc76
Merge branch 'master' into error-enhance
Divendra2006 650fe7a
Merge branch 'master' into error-enhance
Divendra2006 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -21079,3 +21079,8 @@ setindex(DT, b) | |
# make sure that print(DT) doesn't warn due to the header missing index column types, #6806 | ||
# can't use output= here because the print() call is outside withCallingHandlers(...) | ||
test(2307, { capture.output(print(DT, class = TRUE, show.indices = TRUE)); TRUE }) | ||
Divendra2006 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
|
||
# test for enhancing error message of invalid column #6512 | ||
test(2308, { | ||
melt(data.table(A = 1:5, B = 6:10), id.vars = c("A", "-1")) | ||
}, error = "One or more values in 'id.vars' are invalid") | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. this test case is irrelevant. please add test cases for the new functionality. |
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
Oops, something went wrong.
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.