Skip to content

Commit

Permalink
rm TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
tdhock committed May 1, 2024
1 parent 64574d6 commit d3ca733
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 @@ -13319,7 +13319,7 @@ test(1958.01, fread('\U0001f64d', encoding = 'UTF-16'), error = "Argument 'encod
test(1958.02, fread('a,b\n1,2', nrows = NA_real_), data.table(a = 1L, b = 2L))
test(1958.03, fread('a,b\n1,2', nrows = -1), data.table(a = 1L, b = 2L))
test(1958.04, fread('a,b\n1,2', key = 1), error = 'must be a character vector naming columns')
test(1958.041, fread('a,b\n1,2', key = character()), data.table(a = 1L, b = 2L), warning="cols is a character vector of zero length. Removed the key, but use NULL instead, or wrap with suppressWarnings() to avoid this warning.")#TODO
test(1958.041, fread('a,b\n1,2', key = character()), data.table(a = 1L, b = 2L), warning="cols is a character vector of zero length. Removed the key, but use NULL instead, or wrap with suppressWarnings() to avoid this warning.")
test(1958.05, fread("A,B,C\n1,2,3\n3,4,5\n0,0,0\n", nrows=0), data.table(A=integer(), B=integer(), C=integer())) #2747
test(1958.06, fread("A,B,C\n1,2,3\n3,4,5\n0,0,100\n", nrows=0, sep=','), data.table(A=integer(), B=integer(), C=integer()))
test(1958.07, fread('A,B,C,D\n"a,b",4,5,6\n"c,d",6,7\n', fill=TRUE), data.table(A=c("a,b","c,d"), B=INT(4,6), C=INT(5,7), D=INT(6,NA))) # 2547
Expand Down

0 comments on commit d3ca733

Please sign in to comment.