Skip to content

Commit

Permalink
do not provide cols arg
Browse files Browse the repository at this point in the history
  • Loading branch information
tdhock committed Jul 1, 2023
1 parent 010d427 commit 66f95d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inst/tests/tests.Rraw
Original file line number Diff line number Diff line change
Expand Up @@ -12362,7 +12362,7 @@ DTout = data.table(
value1 = 1:10,
value2 = c("a", "b", "c", "d", "e", "f", "g", "h", "i", "j")
)
test(1866.6, melt(DT, measure.vars = patterns("^x", "^y", cols=names(DT))), DTout)
test(1866.6, melt(DT, measure.vars = patterns("^x", "^y")), DTout)

# auto fill too few column names (#1625) and auto fill=TRUE when too many column names
test(1867.01, fread("A,B\n1,3,5,7\n2,4,6,8\n"), data.table(A=1:2, B=3:4, V3=5:6, V4=7:8),
Expand Down

0 comments on commit 66f95d5

Please sign in to comment.