-
Notifications
You must be signed in to change notification settings - Fork 986
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix naming in j=c() under by= queries with lapply() optimization (#4883)
* added failing tests * successfully fixed 2164.1 but broke others. also, havent fixed named list yet * fixed random broken tests. only the c(a=list(),lapply(.SD,FUN)) situation left * More tests. Some still failing * c(A=list()) shouldn't get a number prefixed * fixed previously failing test. the issue was that I had 2164.1 and 2164.10. oops. also added more tests. all passing now * add to author list * added github link to issue * code style changes * reworked tests. now includes tests that fail only when optimize=0 * fix breaking tests related to inconsistent naming of blank columnames * added more passing tests * cleaned up news item * added another passing test ensuring dt[, c(x[1], list(.),] gets a variable name for the column created by x[1]. previously this could be an empty string column name in some circumstances * fix code style * moved news item to the correct release * fixup * modernize: options= in test() * fix test numbers * copy-edit NEWS * redundant test objects * test in a loop, also test opt=2 * consistent GH name, reduce diff * same * oops, undo that one. Prefer leaving released NEWS alone * Style touch-up, refer to tests over long comment * Extra ')' in DESCRIPTION * nzchar again * Bring test code & result closer together for easier reading * bad copy-paste: optimize=opt * more test style --------- Co-authored-by: Michael Young <[email protected]> Co-authored-by: Michael Chirico <[email protected]>
- Loading branch information
1 parent
b566822
commit cf05b4a
Showing
4 changed files
with
116 additions
and
4 deletions.
There are no files selected for viewing
This file contains 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 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 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 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