CRAN Package Check Results for Package data.table

Last updated on 2025-01-30 04:48:54 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.16.4 37.85 272.20 310.05 NOTE
r-devel-linux-x86_64-debian-gcc 1.16.4 31.14 186.22 217.36 ERROR
r-devel-linux-x86_64-fedora-clang 1.16.4 472.27 NOTE
r-devel-linux-x86_64-fedora-gcc 1.16.4 443.44 NOTE
r-devel-windows-x86_64 1.16.4 60.00 583.00 643.00 NOTE
r-patched-linux-x86_64 1.16.4 42.04 227.68 269.72 OK
r-release-linux-x86_64 1.16.4 34.59 231.14 265.73 OK
r-release-macos-arm64 1.16.4 122.00 NOTE
r-release-macos-x86_64 1.16.4 340.00 NOTE
r-release-windows-x86_64 1.16.4 65.00 553.00 618.00 OK
r-oldrel-macos-arm64 1.16.4 132.00 NOTE
r-oldrel-macos-x86_64 1.16.4 325.00 NOTE
r-oldrel-windows-x86_64 1.16.4 59.00 687.00 746.00 OK

Check Details

Version: 1.16.4
Check: compiled code
Result: NOTE File ‘data.table/libs/data_table.so’: Found non-API calls to R: ‘LEVELS’, ‘SETLENGTH’, ‘SET_GROWABLE_BIT’, ‘SET_TRUELENGTH’, ‘STRING_PTR’, ‘TRUELENGTH’ Compiled code should not call non-API entry points in R. See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual, and section ‘Moving into C API compliance’ for issues with the use of non-API entry points. Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.16.4
Check: tests
Result: ERROR Running ‘S4.R’ [0s/1s] Running ‘autoprint.R’ [0s/1s] Comparing ‘autoprint.Rout’ to ‘autoprint.Rout.save’ ... OK Running ‘froll.R’ [14s/17s] Running ‘knitr.R’ [0s/1s] Comparing ‘knitr.Rout’ to ‘knitr.Rout.save’ ... OK Running ‘main.R’ [79s/78s] Running ‘nafill.R’ [1s/1s] Running ‘other.R’ [0s/0s] Running ‘programming.R’ [1s/1s] Running ‘types.R’ [0s/0s] Running the tests in ‘tests/main.R’ failed. Complete output: > require(data.table) Loading required package: data.table > > test.data.table() # runs the main test suite of 5,000+ tests in /inst/tests/tests.Rraw getDTthreads(verbose=TRUE): OpenMP version (_OPENMP) 201511 omp_get_num_procs() 64 R_DATATABLE_NUM_PROCS_PERCENT unset (default 50) R_DATATABLE_NUM_THREADS unset R_DATATABLE_THROTTLE unset (default 1024) omp_get_thread_limit() 3 omp_get_max_threads() 3 OMP_THREAD_LIMIT 3 OMP_NUM_THREADS 3 RestoreAfterFork true data.table is using 3 threads with throttle==1024. See ?setDTthreads. test.data.table() running: /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/data.table/tests/tests.Rraw.bz2 Test 894.00113 ran without errors but failed check that x equals y: > x = fread(f, na.strings = "") a [Key= Types=log Classes=log] 1: TRUE > y = if (nc == 1) rbind(headDT, list(NA)) else headDT a [Key= Types=log Classes=log] 1: NA Column 'a': 'is.NA' value mismatch: 1 in current 0 in target Test 894.00123 ran without errors but failed check that x equals y: > x = fread(f, na.strings = "") a [Key= Types=log Classes=log] 1: TRUE > y = if (nc == 1) rbind(headDT, list(NA)) else headDT a [Key= Types=log Classes=log] 1: NA Column 'a': 'is.NA' value mismatch: 1 in current 0 in target Test 894.00133 ran without errors but failed check that x equals y: > x = fread(f, na.strings = "") a [Key= Types=log Classes=log] 1: TRUE > y = if (nc == 1) rbind(headDT, list(NA)) else headDT a [Key= Types=log Classes=log] 1: NA Column 'a': 'is.NA' value mismatch: 1 in current 0 in target Test 894.00143 ran without errors but failed check that x equals y: > x = fread(f, na.strings = "") a [Key= Types=log Classes=log] 1: TRUE > y = if (nc == 1) rbind(headDT, list(NA)) else headDT a [Key= Types=log Classes=log] 1: NA Column 'a': 'is.NA' value mismatch: 1 in current 0 in target Test 894.00153 ran without errors but failed check that x equals y: > x = fread(f, na.strings = "") a [Key= Types=log Classes=log] 1: TRUE > y = if (nc == 1) rbind(headDT, list(NA)) else headDT a [Key= Types=log Classes=log] 1: NA Column 'a': 'is.NA' value mismatch: 1 in current 0 in target Test 900.2 ran without errors but failed check that x equals y: > x = fread(f, logical01 = TRUE) V1 V2 V3 V4 V5 1: 1 307 930 36.58 FALSE 2: 2 307 940 36.73 FALSE --- 99: 99 308 150 38.04 TRUE 100: 100 308 200 38.07 TRUE [Key= Types=int,int,int,dou,log Classes=int,int,int,num,log] 1: 2: --- 99: 100: > y = as.data.table(read.table(f))[, `:=`(V5, as.logical(V5))] V1 V2 V3 V4 V5 1: 1 307 930 36.58 FALSE 2: 2 307 940 36.73 FALSE --- 99: 99 308 150 38.04 TRUE 100: 100 308 200 38.07 TRUE [Key= Types=int,int,int,dou,log Classes=int,int,int,num,log] 1: 2: --- 99: 100: Column 'V5': 35 element mismatches Test 901.1 ran without errors but failed check that x equals y: > x = DT <- fread(f, strip.white = FALSE) DATE COM COM_MM COM_YY OPEN_1 OPEN_I1 OPEN_2 OPEN_I2 HIGH HIGH_I 1: 20121206 AP NA NA 879.17 TRUE NA TRUE 879.99 TRUE 2: 20121206 EX NA NA 2598.11 TRUE NA TRUE 2617.83 TRUE --- 307: 20121206 ZS 10 2013 0.00 TRUE 0 TRUE 0.00 TRUE 308: 20121206 ZS 11 2013 0.00 TRUE 0 TRUE 0.00 TRUE LOW LOW_I CLSE_1 CLSE_I1 CLSE_2 CLSE_I2 SETTLE VOLUME OINT DEL RECTYP 1: 876.41 TRUE 878.69 TRUE NA TRUE NA NA NA NA 2: 2590.51 TRUE 2603.41 TRUE NA TRUE NA NA NA NA --- 307: 0.00 FALSE 0.00 TRUE 0 TRUE 207950 0 0 0 A 308: 0.00 FALSE 0.00 TRUE 0 TRUE 208700 0 0 0 A [Key= Types=int,cha,int,int,dou,log,int,log,dou,log,dou,log,dou,log,int,log,int,int,int,int,cha Classes=int,cha,int,int,num,log,int,log,num,log,num,log,num,log,int,log,int,int,int,int,cha] 1: 2: --- 307: 308: > y = setDT(read.table(f, sep = "\t", header = TRUE, colClasses = as.vector(sapply(DT, class)))) DATE COM COM_MM COM_YY OPEN_1 OPEN_I1 OPEN_2 OPEN_I2 HIGH HIGH_I 1: 20121206 AP NA NA 879.17 NA NA NA 879.99 NA 2: 20121206 EX NA NA 2598.11 NA NA NA 2617.83 NA --- 307: 20121206 ZS 10 2013 0.00 NA 0 NA 0.00 NA 308: 20121206 ZS 11 2013 0.00 NA 0 NA 0.00 NA LOW LOW_I CLSE_1 CLSE_I1 CLSE_2 CLSE_I2 SETTLE VOLUME OINT DEL RECTYP 1: 876.41 NA 878.69 NA NA NA NA NA NA NA 2: 2590.51 NA 2603.41 NA NA NA NA NA NA NA --- 307: 0.00 NA 0.00 NA 0 NA 207950 0 0 0 A 308: 0.00 NA 0.00 NA 0 NA 208700 0 0 0 A [Key= Types=int,cha,int,int,dou,log,int,log,dou,log,dou,log,dou,log,int,log,int,int,int,int,cha Classes=int,cha,int,int,num,log,int,log,num,log,num,log,num,log,int,log,int,int,int,int,cha] 1: 2: --- 307: 308: Column 'OPEN_I1': 'is.NA' value mismatch: 308 in current 0 in target Test 901.2 ran without errors but failed check that x equals y: > x = DT <- fread(f) DATE COM COM_MM COM_YY OPEN_1 OPEN_I1 OPEN_2 OPEN_I2 HIGH HIGH_I 1: 20121206 AP NA NA 879.17 TRUE NA TRUE 879.99 TRUE 2: 20121206 EX NA NA 2598.11 TRUE NA TRUE 2617.83 TRUE --- 307: 20121206 ZS 10 2013 0.00 TRUE 0 TRUE 0.00 TRUE 308: 20121206 ZS 11 2013 0.00 TRUE 0 TRUE 0.00 TRUE LOW LOW_I CLSE_1 CLSE_I1 CLSE_2 CLSE_I2 SETTLE VOLUME OINT DEL RECTYP 1: 876.41 TRUE 878.69 TRUE NA TRUE NA NA NA NA 2: 2590.51 TRUE 2603.41 TRUE NA TRUE NA NA NA NA --- 307: 0.00 TRUE 0.00 FALSE 0 FALSE 207950 0 0 0 A 308: 0.00 TRUE 0.00 FALSE 0 FALSE 208700 0 0 0 A [Key= Types=int,cha,int,int,dou,log,int,log,dou,log,dou,log,dou,log,int,log,int,int,int,int,cha Classes=int,cha,int,int,num,log,int,log,num,log,num,log,num,log,int,log,int,int,int,int,cha] 1: 2: --- 307: 308: > y = setDT(read.table(f, sep = "\t", header = TRUE, colClasses = as.vector(sapply(DT, class)), strip.white = TRUE)) DATE COM COM_MM COM_YY OPEN_1 OPEN_I1 OPEN_2 OPEN_I2 HIGH HIGH_I 1: 20121206 AP NA NA 879.17 NA NA NA 879.99 NA 2: 20121206 EX NA NA 2598.11 NA NA NA 2617.83 NA --- 307: 20121206 ZS 10 2013 0.00 NA 0 NA 0.00 NA 308: 20121206 ZS 11 2013 0.00 NA 0 NA 0.00 NA LOW LOW_I CLSE_1 CLSE_I1 CLSE_2 CLSE_I2 SETTLE VOLUME OINT DEL RECTYP 1: 876.41 NA 878.69 NA NA NA NA NA NA NA 2: 2590.51 NA 2603.41 NA NA NA NA NA NA NA --- 307: 0.00 NA 0.00 NA 0 NA 207950 0 0 0 A 308: 0.00 NA 0.00 NA 0 NA 208700 0 0 0 A [Key= Types=int,cha,int,int,dou,log,int,log,dou,log,dou,log,dou,log,int,log,int,int,int,int,cha Classes=int,cha,int,int,num,log,int,log,num,log,num,log,num,log,int,log,int,int,int,int,cha] 1: 2: --- 307: 308: Column 'OPEN_I1': 'is.NA' value mismatch: 308 in current 0 in target Test 908 ran without errors but failed check that x equals y: > x = fread("A,B,C\n1,3,\n2,4,\n") A B C [Key= Types=int,int,log Classes=int,int,log] 1: 1 3 TRUE 2: 2 4 TRUE > y = data.table(A = 1:2, B = 3:4, C = NA) A B C [Key= Types=int,int,log Classes=int,int,log] 1: 1 3 NA 2: 2 4 NA Column 'C': 'is.NA' value mismatch: 2 in current 0 in target Test 1010.4 ran without errors but failed check that x equals y: > x = fread(f, logical01 = TRUE) A B [Key= Types=log,int Classes=log,int] 1: TRUE 2 > y = ans A B [Key= Types=log,int Classes=log,int] 1: TRUE 2 Column 'A': 1 element mismatch Test 1010.6 ran without errors but failed check that x equals y: > x = fread(f, logical01 = TRUE) A B [Key= Types=log,int Classes=log,int] 1: TRUE 2 > y = ans A B [Key= Types=log,int Classes=log,int] 1: TRUE 2 Column 'A': 1 element mismatch Test 1081.1 ran without errors but failed check that x equals y: > x = fread("A,B,C\n1,T,2\n", logical01 = TRUE) A B C [Key= Types=log,cha,int Classes=log,cha,int] 1: TRUE T 2 > y = data.table(A = TRUE, B = "T", C = 2L) A B C [Key= Types=log,cha,int Classes=log,cha,int] 1: TRUE T 2 Column 'A': 1 element mismatch Test 1267.1 ran without errors but failed check that x equals y: > x = fread(f)$L First 3 of 3 (type 'logical'): [1] TRUE TRUE TRUE > y = c(TRUE, FALSE, NA) First 3 of 3 (type 'logical'): [1] TRUE FALSE NA 'is.NA' value mismatch: 1 in current 0 in target Test 1267.2 ran without errors but failed check that x equals y: > x = fread(f) I L R [Key= Types=int,log,dou Classes=int,log,num] 1: 1 TRUE 3.14 2: 2 TRUE 3.14 3: 3 TRUE 3.14 > y = as.data.table(read.csv(f)) I L R [Key= Types=int,log,dou Classes=int,log,num] 1: 1 TRUE 3.14 2: 2 FALSE 3.14 3: 3 NA 3.14 Column 'L': 'is.NA' value mismatch: 1 in current 0 in target Test 1336.1 ran without errors but failed check that x equals y: > x = fread(f) A B C D E F 1: 12 0 teacher private nfp\\\\\\\\" "jacoleman high school TRUE TRUE 2: TX 77406 business analyst\\\\\\\\\\\\\\ the boeing co TRUE TRUE 3: CA 94116 na\\none retired TRUE TRUE [Key= Types=cha,int,cha,cha,log,log Classes=cha,int,cha,cha,log,log] 1: 2: 3: > y = data.table(A = c("12", "TX", "CA"), B = c(0L, 77406L, 94116L), C = c("teacher private nfp\\\\\\\\\"", "business analyst\\\\\\\\\\\\\\", "na\\none"), D = c("\"jacoleman high school", "the boeing co", "retired"), E = NA, F = NA) A B C D E F 1: 12 0 teacher private nfp\\\\\\\\" "jacoleman high school NA NA 2: TX 77406 business analyst\\\\\\\\\\\\\\ the boeing co NA NA 3: CA 94116 na\\none retired NA NA [Key= Types=cha,int,cha,cha,log,log Classes=cha,int,cha,cha,log,log] 1: 2: 3: Column 'E': 'is.NA' value mismatch: 3 in current 0 in target Test 1336.2 ran without errors but failed check that x equals y: > x = fread(f) A B C D E F 1: 12 0 teacher private nfp\\\\\\\\" jacoleman high school TRUE TRUE 2: TX 77406 business analyst\\\\\\\\\\\\\\ the boeing co TRUE TRUE 3: CA 94116 na\\none retired TRUE TRUE [Key= Types=cha,int,cha,cha,log,log Classes=cha,int,cha,cha,log,log] 1: 2: 3: > y = data.table(A = c("12", "TX", "CA"), B = c(0L, 77406L, 94116L), C = c("teacher private nfp\\\\\\\\\"", "business analyst\\\\\\\\\\\\\\", "na\\none"), D = c("jacoleman high school", "the boeing co", "retired"), E = NA, F = NA) A B C D E F 1: 12 0 teacher private nfp\\\\\\\\" jacoleman high school NA NA 2: TX 77406 business analyst\\\\\\\\\\\\\\ the boeing co NA NA 3: CA 94116 na\\none retired NA NA [Key= Types=cha,int,cha,cha,log,log Classes=cha,int,cha,cha,log,log] 1: 2: 3: Column 'E': 'is.NA' value mismatch: 3 in current 0 in target Test 1343.3 ran without errors but failed check that x equals y: > x = fread("A,B\n1,TRUE\n2,\n3,FALSE") A B [Key= Types=int,log Classes=int,log] 1: 1 TRUE 2: 2 TRUE 3: 3 TRUE > y = data.table(A = 1:3, B = c(TRUE, NA, FALSE)) A B [Key= Types=int,log Classes=int,log] 1: 1 TRUE 2: 2 NA 3: 3 FALSE Column 'B': 'is.NA' value mismatch: 1 in current 0 in target Test 1343.4 ran without errors but failed check that x equals y: > x = fread("A,B\n1,True\n2,\n3,False") A B [Key= Types=int,log Classes=int,log] 1: 1 TRUE 2: 2 TRUE 3: 3 TRUE > y = data.table(A = 1:3, B = c(TRUE, NA, FALSE)) A B [Key= Types=int,log Classes=int,log] 1: 1 TRUE 2: 2 NA 3: 3 FALSE Column 'B': 'is.NA' value mismatch: 1 in current 0 in target Test 1343.5 ran without errors but failed check that x equals y: > x = fread("A,B\n1,true\n2,\n3,false") A B [Key= Types=int,log Classes=int,log] 1: 1 TRUE 2: 2 TRUE 3: 3 TRUE > y = data.table(A = 1:3, B = c(TRUE, NA, FALSE)) A B [Key= Types=int,log Classes=int,log] 1: 1 TRUE 2: 2 NA 3: 3 FALSE Column 'B': 'is.NA' value mismatch: 1 in current 0 in target Test 1343.6 ran without errors but failed check that x equals y: > x = fread("A,B\n1,true\n2,NA\n3,") A B [Key= Types=int,log Classes=int,log] 1: 1 TRUE 2: 2 FALSE 3: 3 FALSE > y = data.table(A = 1:3, B = c(TRUE, NA, NA)) A B [Key= Types=int,log Classes=int,log] 1: 1 TRUE 2: 2 NA 3: 3 NA Column 'B': 'is.NA' value mismatch: 2 in current 0 in target Test 1344.2 ran without errors but failed check that x equals y: > x = fread("A,B\n1,2\n0,3\n,1\n", logical01 = TRUE) A B [Key= Types=log,int Classes=log,int] 1: TRUE 2 2: FALSE 3 3: FALSE 1 > y = data.table(A = c(TRUE, FALSE, NA), B = c(2L, 3L, 1L)) A B [Key= Types=log,int Classes=log,int] 1: TRUE 2 2: FALSE 3 3: NA 1 Column 'A': 'is.NA' value mismatch: 1 in current 0 in target Test 1550.1 ran without errors but failed check that x equals y: > x = DT_fread int char float bool [Key= Types=int,cha,dou,log Classes=int,cha,num,log] 1: NA o 1.1 TRUE 2: 2 <NA> 2.1 TRUE --- 9: 9 l 9.1 TRUE 10: 10 b 10.1 TRUE > y = DT_NA int char float bool [Key= Types=int,cha,dou,log Classes=int,cha,num,log] 1: NA o 1.1 FALSE 2: 2 <NA> 2.1 TRUE --- 9: 9 l 9.1 FALSE 10: 10 b 10.1 TRUE Column 'bool': 'is.NA' value mismatch: 1 in current 0 in target Test 1550.2 ran without errors but failed check that x equals y: > x = DT_fread int char float bool [Key= Types=int,cha,dou,log Classes=int,cha,num,log] 1: NA o 1.1 TRUE 2: 2 <NA> 2.1 TRUE --- 9: 9 l 9.1 TRUE 10: 10 b 10.1 TRUE > y = DT_NA int char float bool [Key= Types=int,cha,dou,log Classes=int,cha,num,log] 1: NA o 1.1 FALSE 2: 2 <NA> 2.1 TRUE --- 9: 9 l 9.1 FALSE 10: 10 b 10.1 TRUE Column 'bool': 'is.NA' value mismatch: 1 in current 0 in target Test 1550.3 ran without errors but failed check that x equals y: > x = DT_fread int char float bool [Key= Types=int,cha,dou,log Classes=int,cha,num,log] 1: NA o 1.1 TRUE 2: 2 <NA> 2.1 TRUE --- 9: 9 l 9.1 TRUE 10: 10 b 10.1 TRUE > y = DT_NA int char float bool [Key= Types=int,cha,dou,log Classes=int,cha,num,log] 1: NA o 1.1 FALSE 2: 2 <NA> 2.1 TRUE --- 9: 9 l 9.1 FALSE 10: 10 b 10.1 TRUE Column 'bool': 'is.NA' value mismatch: 1 in current 0 in target Test 1550.4 ran without errors but failed check that x equals y: > x = DT_fread int char float bool [Key= Types=int,cha,dou,log Classes=int,cha,num,log] 1: NA o 1.1 TRUE 2: 2 <NA> 2.1 TRUE --- 9: 9 l 9.1 TRUE 10: 10 b 10.1 TRUE > y = DT_NA int char float bool [Key= Types=int,cha,dou,log Classes=int,cha,num,log] 1: NA o 1.1 FALSE 2: 2 <NA> 2.1 TRUE --- 9: 9 l 9.1 FALSE 10: 10 b 10.1 TRUE Column 'bool': 'is.NA' value mismatch: 1 in current 0 in target Test 1550.5 ran without errors but failed check that x equals y: > x = DT_fread int char float bool [Key= Types=int,cha,dou,log Classes=int,cha,num,log] 1: NA o 1.1 TRUE 2: 2 <NA> 2.1 TRUE --- 9: 9 l 9.1 TRUE 10: 10 b 10.1 TRUE > y = DT_NA int char float bool [Key= Types=int,cha,dou,log Classes=int,cha,num,log] 1: NA o 1.1 FALSE 2: 2 <NA> 2.1 TRUE --- 9: 9 l 9.1 FALSE 10: 10 b 10.1 TRUE Column 'bool': 'is.NA' value mismatch: 1 in current 0 in target Test 1550.6 ran without errors but failed check that x equals y: > x = DT_fread int char float bool [Key= Types=int,cha,dou,log Classes=int,cha,num,log] 1: NA o 1.1 TRUE 2: 2 <NA> 2.1 TRUE --- 9: 9 l 9.1 TRUE 10: 10 b 10.1 TRUE > y = DT_NA int char float bool [Key= Types=int,cha,dou,log Classes=int,cha,num,log] 1: NA o 1.1 FALSE 2: 2 <NA> 2.1 TRUE --- 9: 9 l 9.1 FALSE 10: 10 b 10.1 TRUE Column 'bool': 'is.NA' value mismatch: 1 in current 0 in target Test 1550.7 ran without errors but failed check that x equals y: > x = DT_fread int char float bool [Key= Types=int,cha,dou,log Classes=int,cha,num,log] 1: NA o 1.1 TRUE 2: 2 <NA> 2.1 TRUE --- 9: 9 l 9.1 TRUE 10: 10 b 10.1 TRUE > y = DT_NA int char float bool [Key= Types=int,cha,dou,log Classes=int,cha,num,log] 1: NA o 1.1 FALSE 2: 2 <NA> 2.1 TRUE --- 9: 9 l 9.1 FALSE 10: 10 b 10.1 TRUE Column 'bool': 'is.NA' value mismatch: 1 in current 0 in target Test 1550.8 ran without errors but failed check that x equals y: > x = DT_fread int char float bool [Key= Types=int,cha,dou,log Classes=int,cha,num,log] 1: NA o 1.1 TRUE 2: 2 <NA> 2.1 TRUE --- 9: 9 l 9.1 TRUE 10: 10 b 10.1 TRUE > y = DT_NA int char float bool [Key= Types=int,cha,dou,log Classes=int,cha,num,log] 1: NA o 1.1 FALSE 2: 2 <NA> 2.1 TRUE --- 9: 9 l 9.1 FALSE 10: 10 b 10.1 TRUE Column 'bool': 'is.NA' value mismatch: 1 in current 0 in target Test 1550.9 ran without errors but failed check that x equals y: > x = DT_fread int char float bool [Key= Types=int,cha,dou,log Classes=int,cha,num,log] 1: NA o 1.1 TRUE 2: 2 <NA> 2.1 TRUE --- 9: 9 l 9.1 TRUE 10: 10 b 10.1 TRUE > y = DT_NA int char float bool [Key= Types=int,cha,dou,log Classes=int,cha,num,log] 1: NA o 1.1 FALSE 2: 2 <NA> 2.1 TRUE --- 9: 9 l 9.1 FALSE 10: 10 b 10.1 TRUE Column 'bool': 'is.NA' value mismatch: 1 in current 0 in target Test 1551.6 ran without errors but failed check that x equals y: > x = fread(testDir("issue_1095_fread.txt.bz2"), logical01 = FALSE) V1 V2 V3 V4 V5 V6 V7 1: 2013130413CN02422 MONMOUTH ATLANTIC HIGHLANDS BORO 03/22/2013 F 1309 1 2: 2013130413CN02826 MONMOUTH ATLANTIC HIGHLANDS BORO 04/02/2013 TU 1658 1 --- 99: 2013130613-200 MONMOUTH BELMAR BORO 01/09/2013 W 1551 1 100: 2013130613-2046 MONMOUTH BELMAR BORO 03/26/2013 TU 1515 1 V8 V9 V10 V11 V12 V13 V14 V15 V16 V17 V18 V19 1: COLTS NECK PD 0 0 0 0 P B N N 6 2 2: COLTS NECK PD 0 0 0 0 P B N N 11 1 --- 99: BELMAR PD 0 0 0 0 P I N N 9 2 100: BELMAR PD 0 1 0 0 I I N N 1 2 V20 V21 V22 V23 V24 V25 V26 V27 V28 V29 V30 1: 4 PARTRIDGE WAY (DRIVEWAY) NA NA NA 9 1 2 1 1 2: 375 SR 34 (PARKING LOT) NA NA NA 9 1 2 1 1 --- 99: NJ 71 71 NA 00000071__ 5.46 2 1 2 1 1 100: MONMOUTH COUNTY 30 II 30 2 130000302_ 4.45 5 1 2 1 1 V31 V32 V33 V34 V35 V36 V37 V38 V39 V40 V41 V42 V43 1: 1 NA NA NA TRUE TRUE TRUE 0 NA TRUE 2: 1 NA NA NA TRUE TRUE TRUE 0 NA TRUE --- 99: 1 2 1 NA AT W RAILROAD AVE TRUE FALSE FALSE 25 25 FALSE 100: 5 5 1 NA AT 10TH AVE TRUE FALSE FALSE 30 NA FALSE V44 V45 V46 V47 1: TRUE N NONE 84049 2: TRUE N NONE 84057 --- 99: TRUE N NONE 128 100: FALSE N 135 [Key= Types=cha,cha,cha,cha,cha,int,int,cha,cha,int,int,int,int,cha,cha,cha,cha,int,int,cha,cha,int,int,cha,dou,int,int,int,int,int,int,int,int,int,cha,cha,cha,log,log,log,int,int,log,log,cha,cha,cha Classes=cha,cha,cha,cha,cha,int,int,cha,cha,int,int,int,int,cha,cha,cha,cha,int,int,cha,cha,int,int,cha,num,int,int,int,int,int,int,int,int,int,cha,cha,cha,log,log,log,int,int,log,log,cha,cha,cha] 1: 2: --- 99: 100: > y = setDT(rhs) V1 V2 V3 V4 V5 V6 V7 1: 2013130413CN02422 MONMOUTH ATLANTIC HIGHLANDS BORO 03/22/2013 F 1309 1 2: 2013130413CN02826 MONMOUTH ATLANTIC HIGHLANDS BORO 04/02/2013 TU 1658 1 --- 99: 2013130613-200 MONMOUTH BELMAR BORO 01/09/2013 W 1551 1 100: 2013130613-2046 MONMOUTH BELMAR BORO 03/26/2013 TU 1515 1 V8 V9 V10 V11 V12 V13 V14 V15 V16 V17 V18 V19 1: COLTS NECK PD 0 0 0 0 P B N N 6 2 2: COLTS NECK PD 0 0 0 0 P B N N 11 1 --- 99: BELMAR PD 0 0 0 0 P I N N 9 2 100: BELMAR PD 0 1 0 0 I I N N 1 2 V20 V21 V22 V23 V24 V25 V26 V27 V28 V29 V30 1: 4 PARTRIDGE WAY (DRIVEWAY) NA NA NA 9 1 2 1 1 2: 375 SR 34 (PARKING LOT) NA NA NA 9 1 2 1 1 --- 99: NJ 71 71 NA 00000071__ 5.46 2 1 2 1 1 100: MONMOUTH COUNTY 30 II 30 2 130000302_ 4.45 5 1 2 1 1 V31 V32 V33 V34 V35 V36 V37 V38 V39 V40 V41 V42 V43 V44 V45 1: 1 NA NA NA NA NA NA 0 NA NA NA N 2: 1 NA NA NA NA NA NA 0 NA NA NA N --- 99: 1 2 1 NA AT W RAILROAD AVE NA NA NA 25 25 NA NA N 100: 5 5 1 NA AT 10TH AVE NA NA NA 30 NA NA NA N V46 V47 1: NONE 84049 2: NONE 84057 --- 99: NONE 128 100: 135 [Key= Types=cha,cha,cha,cha,cha,int,int,cha,cha,int,int,int,int,cha,cha,cha,cha,int,int,cha,cha,int,int,cha,dou,int,int,int,int,int,int,int,int,int,cha,cha,cha,log,log,log,int,int,log,log,cha,cha,cha Classes=cha,cha,cha,cha,cha,int,int,cha,cha,int,int,int,int,cha,cha,cha,cha,int,int,cha,cha,int,int,cha,num,int,int,int,int,int,int,int,int,int,cha,cha,cha,log,log,log,int,int,log,log,cha,cha,cha] 1: 2: --- 99: 100: Column 'V38': 'is.NA' value mismatch: 100 in current 0 in target Test 1552.1 ran without errors but failed check that x equals y: > x = fread(str, na.strings = "#N/A") a b c d [Key= Types=log,int,cha,cha Classes=log,int,cha,cha] 1: TRUE 1 5.5 FALSE 2: TRUE 5 6.6 TRUE 3: TRUE 1 <NA> -999 4: TRUE NA -999 FALSE 5: TRUE 1 NA TRUE > y = read_table(str, na.strings = "#N/A") a b c d [Key= Types=log,int,cha,cha Classes=log,int,cha,cha] 1: NA 1 5.5 FALSE 2: NA 5 6.6 TRUE 3: NA 1 <NA> -999 4: NA NA -999 FALSE 5: NA 1 NA TRUE Column 'a': 'is.NA' value mismatch: 5 in current 0 in target Test 1552.2 ran without errors but failed check that x equals y: > x = fread(str, na.strings = c("#N/A", "-999")) a b c d [Key= Types=log,int,cha,log Classes=log,int,cha,log] 1: TRUE 1 5.5 TRUE 2: TRUE 5 6.6 TRUE 3: TRUE 1 <NA> TRUE 4: FALSE NA <NA> TRUE 5: TRUE 1 NA TRUE > y = read_table(str, na.strings = c("#N/A", "-999")) a b c d [Key= Types=log,int,cha,log Classes=log,int,cha,log] 1: NA 1 5.5 FALSE 2: NA 5 6.6 TRUE 3: NA 1 <NA> NA 4: NA NA <NA> FALSE 5: NA 1 NA TRUE Column 'a': 'is.NA' value mismatch: 5 in current 0 in target Test 1552.3 ran without errors but failed check that x equals y: > x = fread(str, na.strings = c("#N/A", "-999", "+1")) a b c d [Key= Types=log,int,cha,log Classes=log,int,cha,log] 1: TRUE NA 5.5 TRUE 2: TRUE 5 6.6 TRUE 3: TRUE NA <NA> TRUE 4: TRUE NA <NA> TRUE 5: TRUE 1 NA TRUE > y = read_table(str, na.strings = c("#N/A", "-999", "+1")) a b c d [Key= Types=log,int,cha,log Classes=log,int,cha,log] 1: NA NA 5.5 FALSE 2: NA 5 6.6 TRUE 3: NA NA <NA> NA 4: NA NA <NA> FALSE 5: NA 1 NA TRUE Column 'a': 'is.NA' value mismatch: 5 in current 0 in target Test 1552.4 ran without errors but failed check that x equals y: > x = fread(str, na.strings = c("#N/A", "-999", "+1", "1")) a b c d [Key= Types=log,int,cha,log Classes=log,int,cha,log] 1: TRUE NA 5.5 TRUE 2: TRUE 5 6.6 TRUE 3: TRUE NA <NA> TRUE 4: FALSE NA <NA> TRUE 5: TRUE NA NA TRUE > y = read_table(str, na.strings = c("#N/A", "-999", "+1", "1")) a b c d [Key= Types=log,int,cha,log Classes=log,int,cha,log] 1: NA NA 5.5 FALSE 2: NA 5 6.6 TRUE 3: NA NA <NA> NA 4: NA NA <NA> FALSE 5: NA NA NA TRUE Column 'a': 'is.NA' value mismatch: 5 in current 0 in target Test 1552.9 ran without errors but failed check that x equals y: > x = fread(str, na.strings = c("0", "1")) a b c [Key= Types=log,log,int Classes=log,log,int] 1: TRUE TRUE 2 2: TRUE TRUE 2 > y = data.table(a = c(NA, NA), b = c(NA, NA), c = c(2L, 2L)) a b c [Key= Types=log,log,int Classes=log,log,int] 1: NA NA 2 2: NA NA 2 Column 'a': 'is.NA' value mismatch: 2 in current 0 in target Test 1555.12 ran without errors but failed check that x equals y: > x = fread(testDir("issue_785_fread.txt.gz"), logical01 = FALSE) IFLxID IFLxName Ifcd Tdate Ttime UpdateMillisec Cp Chg ChgPct Cq 1: IFL1 abcd IF1005 20100421 100048 500 3227.2 10.6 0.330 5 2: IFL1 efgh IF1005 20100421 93725 500 3221.4 4.8 0.149 1 3: IFL1 ijkl IF1005 20100421 93726 0 3221.8 5.2 0.162 1 4: IFL1 mnop IF1005 20100421 93726 500 3221.8 5.2 0.162 3 Cm Oc S5 S4 S3 S2 S1 B1 B2 B3 B4 1: 4840740 abc 3228.0 3227.8 3227.6 3227.4 3227.2 3227.0 3226.8 3226.6 3226.4 2: 966420 def 3222.6 3222.4 3222.2 3222.0 3221.8 3221.4 3221.2 3221.0 3220.8 3: 966540 ghi 3222.6 3222.4 3222.2 3222.0 3221.8 3221.4 3221.2 3221.0 3220.8 4: 2899620 jkl 3222.6 3222.4 3222.2 3222.0 3221.8 3221.4 3221.2 3221.0 3220.8 B5 Sv5 Sv4 Sv3 Sv2 Sv1 Bv1 Bv2 Bv3 Bv4 Bv5 BS Bsratio PreClosePrc 1: 3226.2 13 17 10 14 2 7 4 1 20 4 B 0.508 3214.6 2: 3220.6 15 4 14 2 5 4 14 16 1 3 S 0.505 3214.6 3: 3220.6 15 4 14 2 4 4 14 16 1 3 B 0.505 3214.6 4: 3220.6 15 4 15 2 1 4 14 16 1 3 B 0.505 3214.6 OpenPrc Hp Lp ClosePrc UpperLmtPrc LowerLmtPrc Tq Tm 1: 3215 3231.2 3212.2 0 3538.2 2895 18165 17570483640 2: 3215 3226.4 3212.2 0 3538.2 2895 8230 7952392200 3: 3215 3226.4 3212.2 0 3538.2 2895 8231 7953358740 4: 3215 3226.4 3212.2 0 3538.2 2895 8234 7956258360 PreOpnIntrst OpnIntrst PreStlmtPrc StlmtPrc PreDelta Delta SettleGroupID 1: 4496 5970 3216.6 0 0 0 0 2: 4496 5427 3216.6 0 0 0 0 3: 4496 5428 3216.6 0 0 0 0 4: 4496 5429 3216.6 0 0 0 0 SettleID 1: TRUE 2: TRUE 3: TRUE 4: TRUE [Key= Types=cha,cha,cha,int,int,int,dou,dou,dou,int,dou,cha,dou,dou,dou,dou,dou,dou,dou,dou,dou,dou,dou,dou,dou,dou,dou,dou,dou,dou,dou,dou,cha,dou,dou,dou,dou,dou,dou,dou,dou,int,dou,int,int,dou,dou,dou,dou,int,log Classes=cha,cha,cha,int,int,int,num,num,num,int,num,cha,num,num,num,num,num,num,num,num,num,num,num,num,num,num,num,num,num,num,num,num,cha,num,num,num,num,num,num,num,num,int,num,int,int,num,num,num,num,int,log] 1: 2: 3: 4: > y = rhs IFLxID IFLxName Ifcd Tdate Ttime UpdateMillisec Cp Chg ChgPct Cq 1: IFL1 abcd IF1005 20100421 100048 500 3227.2 10.6 0.330 5 2: IFL1 efgh IF1005 20100421 93725 500 3221.4 4.8 0.149 1 3: IFL1 ijkl IF1005 20100421 93726 0 3221.8 5.2 0.162 1 4: IFL1 mnop IF1005 20100421 93726 500 3221.8 5.2 0.162 3 Cm Oc S5 S4 S3 S2 S1 B1 B2 B3 B4 1: 4840740 abc 3228.0 3227.8 3227.6 3227.4 3227.2 3227.0 3226.8 3226.6 3226.4 2: 966420 def 3222.6 3222.4 3222.2 3222.0 3221.8 3221.4 3221.2 3221.0 3220.8 3: 966540 ghi 3222.6 3222.4 3222.2 3222.0 3221.8 3221.4 3221.2 3221.0 3220.8 4: 2899620 jkl 3222.6 3222.4 3222.2 3222.0 3221.8 3221.4 3221.2 3221.0 3220.8 B5 Sv5 Sv4 Sv3 Sv2 Sv1 Bv1 Bv2 Bv3 Bv4 Bv5 BS Bsratio PreClosePrc 1: 3226.2 13 17 10 14 2 7 4 1 20 4 B 0.508 3214.6 2: 3220.6 15 4 14 2 5 4 14 16 1 3 S 0.505 3214.6 3: 3220.6 15 4 14 2 4 4 14 16 1 3 B 0.505 3214.6 4: 3220.6 15 4 15 2 1 4 14 16 1 3 B 0.505 3214.6 OpenPrc Hp Lp ClosePrc UpperLmtPrc LowerLmtPrc Tq Tm 1: 3215 3231.2 3212.2 0 3538.2 2895 18165 17570483640 2: 3215 3226.4 3212.2 0 3538.2 2895 8230 7952392200 3: 3215 3226.4 3212.2 0 3538.2 2895 8231 7953358740 4: 3215 3226.4 3212.2 0 3538.2 2895 8234 7956258360 PreOpnIntrst OpnIntrst PreStlmtPrc StlmtPrc PreDelta Delta SettleGroupID 1: 4496 5970 3216.6 0 0 0 0 2: 4496 5427 3216.6 0 0 0 0 3: 4496 5428 3216.6 0 0 0 0 4: 4496 5429 3216.6 0 0 0 0 SettleID 1: NA 2: NA 3: NA 4: NA [Key= Types=cha,cha,cha,int,int,int,dou,dou,dou,int,dou,cha,dou,dou,dou,dou,dou,dou,dou,dou,dou,dou,dou,dou,dou,dou,dou,dou,dou,dou,dou,dou,cha,dou,dou,dou,dou,dou,dou,dou,dou,int,dou,int,int,dou,dou,dou,dou,int,log Classes=cha,cha,cha,int,int,int,num,num,num,int,num,cha,num,num,num,num,num,num,num,num,num,num,num,num,num,num,num,num,num,num,num,num,cha,num,num,num,num,num,num,num,num,int,num,int,int,num,num,num,num,int,log] 1: 2: 3: 4: Column 'SettleID': 'is.NA' value mismatch: 4 in current 0 in target Test 1635.1 ran without errors but failed check that x equals y: > x = ans1 <- fread(text, fill = TRUE) a b c d e f g 1: 1 P P;A;E; Y YW; H(). 1-3 pro 2: 2 Q9 a;a;a;a; YB YH; M(). 13 pn ba --- 5: 1 P P;O;O;a;a;a; HLA-A HLA-A;; H(). HcIha,A-n 6: 102 P P;O;P;P;P;P;P;P;a;a;a;a;a;a;a;a;a;a; H-A H-A;; H(). HcIha,A h i j k l 1: TRUE TRUE TRUE TRUE TRUE 2: TRUE TRUE TRUE TRUE TRUE --- 5: TRUE TRUE TRUE TRUE TRUE 6: TRUE TRUE TRUE TRUE TRUE [Key= Types=int,cha,cha,cha,cha,cha,cha,log,log,log,log,log Classes=int,cha,cha,cha,cha,cha,cha,log,log,log,log,log] 1: 2: --- 5: 6: > y = setDT(read.table(text = text, stringsAsFactors = FALSE, fill = TRUE, sep = "\t", header = TRUE)) a b c d e f g h 1: 1 P P;A;E; Y YW; H(). 1-3 pro NA 2: 2 Q9 a;a;a;a; YB YH; M(). 13 pn ba NA --- 5: 1 P P;O;O;a;a;a; HLA-A HLA-A;; H(). HcIha,A-n NA 6: 102 P P;O;P;P;P;P;P;P;a;a;a;a;a;a;a;a;a;a; H-A H-A;; H(). HcIha,A NA i j k l 1: NA NA NA NA 2: NA NA NA NA --- 5: NA NA NA NA 6: NA NA NA NA [Key= Types=int,cha,cha,cha,cha,cha,cha,log,log,log,log,log Classes=int,cha,cha,cha,cha,cha,cha,log,log,log,log,log] 1: 2: --- 5: 6: Column 'h': 'is.NA' value mismatch: 6 in current 0 in target Test 1751.4 ran without errors but failed check that x equals y: > x = fread({ fwrite(DT, f <- tempfile()) f }) x [Key= Types=log Classes=log] 1: TRUE > y = DT x [Key= Types=log Classes=log] 1: NA Column 'x': 'is.NA' value mismatch: 1 in current 0 in target Test 1755 ran without errors but failed check that x equals y: > x = fread(testDir("unescaped.csv"), logical01 = TRUE) No 1: TRUE 2: TRUE Comment 1: he said:"wonderful." 2: The problem is: reading table, and also "a problem, yes." keep going on. Type [Key= Types=log,cha,cha Classes=log,cha,cha] 1: A 2: A > y = data.table(No = c(FALSE, TRUE), Comment = c("he said:\"wonderful.\"", "The problem is: reading table, and also \"a problem, yes.\" keep going on."), Type = c("A", "A")) No 1: FALSE 2: TRUE Comment 1: he said:"wonderful." 2: The problem is: reading table, and also "a problem, yes." keep going on. Type [Key= Types=log,cha,cha Classes=log,cha,cha] 1: A 2: A Column 'No': 2 element mismatches Test 1768 did not produce correct output: Expected: <<X1 X2.*1: ABCD021917 NA.*678.0000.*2:.*1314: ABCD032617.*732.9818>> Observed: << X1 X2 X7 X8\n 1: ABCD021917 TRUE 678.00000000 678.0000\n 2: ABCD021917 TRUE 0.00000000 0.0000\n 3: ABCD021917 TRUE 0.00000000 0.0000\n 4: ABCD021917 TRUE 0.00000000 0.0000\n 5: ABCD021917 TRUE 0.00000000 0.0000\n --- \n1310: ABCD032617 TRUE 0.03003439 733.1019\n1311: ABCD032617 TRUE 0.03003439 733.0719\n1312: ABCD032617 TRUE 0.03003439 733.0418\n1313: ABCD032617 TRUE 0.03003439 733.0118\n1314: ABCD032617 TRUE 0.03003439 732.9818>> Test 1827.1 ran without errors but failed check that x equals y: > x = fread("A,B\n1987,1\n1987,3\n", na.strings = c("1987", "NA")) A B [Key= Types=log,int Classes=log,int] 1: TRUE 1 2: TRUE 3 > y = data.table(A = c(NA, NA), B = c(1L, 3L)) A B [Key= Types=log,int Classes=log,int] 1: NA 1 2: NA 3 Column 'A': 'is.NA' value mismatch: 2 in current 0 in target Test 1827.3 ran without errors but failed check that x equals y: > x = fread("A,B\n1987,1\n1987,3\n", na.strings = "1987") A B [Key= Types=log,int Classes=log,int] 1: TRUE 1 2: TRUE 3 > y = data.table(A = c(NA, NA), B = c(1L, 3L)) A B [Key= Types=log,int Classes=log,int] 1: NA 1 2: NA 3 Column 'A': 'is.NA' value mismatch: 2 in current 0 in target Test 1840.2 ran without errors but failed check that x equals y: > x = fread(f) ab cd ce [Key= Types=cha,cha,log Classes=cha,cha,log] 1: abc def TRUE 2: hj kli TRUE > y = data.table(ab = c("abc", "hj"), cd = c("def", "kli"), ce = NA) ab cd ce [Key= Types=cha,cha,log Classes=cha,cha,log] 1: abc def NA 2: hj kli NA Column 'ce': 'is.NA' value mismatch: 2 in current 0 in target Test 1855.2 ran without errors but failed check that x equals y: > x = fread("A\n\n") A [Key= Types=log Classes=log] 1: TRUE > y = data.table(A = NA) A [Key= Types=log Classes=log] 1: NA Column 'A': 'is.NA' value mismatch: 1 in current 0 in target Test 1855.3 ran without errors but failed check that x equals y: > x = fread("A\n\n\n") A [Key= Types=log Classes=log] 1: TRUE 2: TRUE > y = data.table(A = c(NA, NA)) A [Key= Types=log Classes=log] 1: NA 2: NA Column 'A': 'is.NA' value mismatch: 2 in current 0 in target Test 1857.02 ran without errors but failed check that x equals y: > x = fread(f) A [Key= Types=log Classes=log] 1: TRUE > y = DTs[[i]] A [Key= Types=log Classes=log] 1: NA Column 'A': 'is.NA' value mismatch: 1 in current 0 in target Test 1857.03 ran without errors but failed check that x equals y: > x = fread(f) A [Key= Types=log Classes=log] 1: TRUE 2: TRUE > y = DTs[[i]] A [Key= Types=log Classes=log] 1: NA 2: NA Column 'A': 'is.NA' value mismatch: 2 in current 0 in target Test 1867.02 ran without errors but failed check that x equals y: > x = fread("A,B,C,D,E\n1,3,5,7\n2,4,6,8\n") A B C D E [Key= Types=int,int,int,int,log Classes=int,int,int,int,log] 1: 1 3 5 7 TRUE 2: 2 4 6 8 TRUE > y = data.table(A = 1:2, B = 3:4, C = 5:6, D = 7:8, E = NA) A B C D E [Key= Types=int,int,int,int,log Classes=int,int,int,int,log] 1: 1 3 5 7 NA 2: 2 4 6 8 NA Column 'E': 'is.NA' value mismatch: 2 in current 0 in target Test 1867.03 ran without errors but failed check that x equals y: > x = fread(testDir("fillheader.csv.bz2"))[c(1, .N), c(1, 29, 30)] V1 EASTING NORTHING 1: Ashburton District 5154177 TRUE 2: Ashburton District 5144032 TRUE [Key= Types=cha,int,log Classes=cha,int,log] 1: 2: > y = data.table(V1 = "Ashburton District", EASTING = c(5154177L, 5144032L), NORTHING = NA) V1 EASTING NORTHING 1: Ashburton District 5154177 NA 2: Ashburton District 5144032 NA [Key= Types=cha,int,log Classes=cha,int,log] 1: 2: Column 'NORTHING': 'is.NA' value mismatch: 2 in current 0 in target Test 1867.08 ran without errors but failed check that x equals y: > x = fread("A,B,C,D,E\n1,3,5\n2,4,6\n") A B C D E 1: 1 3 5 TRUE TRUE 2: 2 4 6 TRUE NA [Key= Types=int,int,int,log,log Classes=int,int,int,log,log] 1: 2: > y = data.table(A = 1:2, B = 3:4, C = 5:6, D = NA, E = NA) A B C D E [Key= Types=int,int,int,log,log Classes=int,int,int,log,log] 1: 1 3 5 NA NA 2: 2 4 6 NA NA Column 'D': 'is.NA' value mismatch: 2 in current 0 in target Test 1867.09 ran without errors but failed check that x equals y: > x = fread("Heading text\nA,B,C,D,E\n1,3,5\n2,4,6\n") A B C D E 1: 1 3 5 TRUE TRUE 2: 2 4 6 TRUE TRUE [Key= Types=int,int,int,log,log Classes=int,int,int,log,log] 1: 2: > y = data.table(A = 1:2, B = 3:4, C = 5:6, D = NA, E = NA) A B C D E [Key= Types=int,int,int,log,log Classes=int,int,int,log,log] 1: 1 3 5 NA NA 2: 2 4 6 NA NA Column 'D': 'is.NA' value mismatch: 2 in current 0 in target Test 1870.3 ran without errors but failed check that x equals y: > x = fread("A,B,\n,,\n,500,3.4") A B V3 [Key= Types=log,int,dou Classes=log,int,num] 1: TRUE NA NA 2: TRUE 500 3.4 > y = data.table(A = NA, B = c(NA, 500L), V3 = c(NA, 3.4)) A B V3 [Key= Types=log,int,dou Classes=log,int,num] 1: NA NA NA 2: NA 500 3.4 Column 'A': 'is.NA' value mismatch: 2 in current 0 in target Test 1870.4 ran without errors but failed check that x equals y: > x = fread("A,B,200\n,300,400\n,500,600") A B 200 [Key= Types=log,int,int Classes=log,int,int] 1: TRUE 300 400 2: TRUE 500 600 > y = data.table(A = NA, B = c(300L, 500L), `200` = c(400L, 600L)) A B 200 [Key= Types=log,int,int Classes=log,int,int] 1: NA 300 400 2: NA 500 600 Column 'A': 'is.NA' value mismatch: 2 in current 0 in target Test 1870.5 ran without errors but failed check that x equals y: > x = fread("A,B,\n,,\n,500,600") A B V3 [Key= Types=log,int,int Classes=log,int,int] 1: TRUE NA NA 2: TRUE 500 600 > y = data.table(A = NA, B = c(NA, 500L), V3 = c(NA, 600L)) A B V3 [Key= Types=log,int,int Classes=log,int,int] 1: NA NA NA 2: NA 500 600 Column 'A': 'is.NA' value mismatch: 2 in current 0 in target Test 1883 ran without errors but failed check that x equals y: > x = fread(testDir("SA2-by-DJZ.csv.gz"), verbose = TRUE, header = FALSE)[c(1, 2, 1381, .N), ] V1 V2 V3 V4 1: Goulburn 110018063 3499 TRUE 2: 110018064 812 TRUE 3: 0&&&&&&&& 250796 TRUE 4: 0@@@@@@@@ 7305367 TRUE [Key= Types=cha,cha,int,log Classes=cha,cha,int,log] 1: 2: 3: 4: > y = data.table(V1 = c("Goulburn", "", "", ""), V2 = c("110018063", "110018064", "0&&&&&&&&", "0@@@@@@@@"), V3 = INT(3499, 812, 250796, 7305367), V4 = NA) V1 V2 V3 V4 1: Goulburn 110018063 3499 NA 2: 110018064 812 NA 3: 0&&&&&&&& 250796 NA 4: 0@@@@@@@@ 7305367 NA [Key= Types=cha,cha,int,log Classes=cha,cha,int,log] 1: 2: 3: 4: Column 'V4': 'is.NA' value mismatch: 4 in current 0 in target Test 1903.2 ran without errors but failed check that x equals y: > x = fread(",A,B\n1,0,1\n2,0,1\n3,1,1\n", logical01 = TRUE) V1 A B [Key= Types=int,log,log Classes=int,log,log] 1: 1 TRUE TRUE 2: 2 TRUE TRUE 3: 3 TRUE TRUE > y = data.table(V1 = 1:3, A = c(FALSE, FALSE, TRUE), B = TRUE) V1 A B [Key= Types=int,log,log Classes=int,log,log] 1: 1 FALSE TRUE 2: 2 FALSE TRUE 3: 3 TRUE TRUE Column 'A': 3 element mismatches Wed Jan 29 15:06:19 2025 endian==little, sizeof(long double)==16, longdouble.digits==64, sizeof(pointer)==8, TZ==unset, Sys.timezone()=='Europe/Vienna', Sys.getlocale()=='LC_CTYPE=C.UTF-8;LC_NUMERIC=C;LC_TIME=C.UTF-8;LC_COLLATE=C;LC_MONETARY=C.UTF-8;LC_MESSAGES=C.UTF-8;LC_PAPER=C.UTF-8;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C.UTF-8;LC_IDENTIFICATION=C', l10n_info()=='MBCS=TRUE; UTF-8=TRUE; Latin-1=FALSE; codeset=UTF-8', getDTthreads()=='OpenMP version (_OPENMP)==201511; omp_get_num_procs()==64; R_DATATABLE_NUM_PROCS_PERCENT==unset (default 50); R_DATATABLE_NUM_THREADS==unset; R_DATATABLE_THROTTLE==unset (default 1024); omp_get_thread_limit()==3; omp_get_max_threads()==3; OMP_THREAD_LIMIT==3; OMP_NUM_THREADS==3; RestoreAfterFork==true; data.table is using 3 threads with throttle==1024. See ?setDTthreads.', .libPaths()=='/tmp/RtmpCIgplN/RLIBS_4180e6b3247a9','/home/hornik/tmp/R.check/r-devel-gcc/Work/build/library', zlibVersion()==1.3.1 ZLIB_VERSION==1.3.1 Error in test.data.table() : 57 error(s) out of 11396. Search tests/tests.Rraw.bz2 for test number(s) 894.00113, 894.00123, 894.00133, 894.00143, 894.00153, 900.2, 901.1, 901.2, 908, 1010.4, 1010.6, 1081.1, 1267.1, 1267.2, 1336.1, 1336.2, 1343.3, 1343.4, 1343.5, 1343.6, 1344.2, 1550.1, 1550.2, 1550.3, 1550.4, 1550.5, 1550.6, 1550.7, 1550.8, 1550.9, 1551.6, 1552.1, 1552.2, 1552.3, 1552.4, 1552.9, 1555.12, 1635.1, 1751.4, 1755, 1768, 1827.1, 1827.3, 1840.2, 1855.2, 1855.3, 1857.02, 1857.03, 1867.02, 1867.03, 1867.08, 1867.09, 1870.3, 1870.4, 1870.5, 1883, 1903.2. Duration: 00:01:17 elapsed (00:01:18 cpu). Calls: test.data.table -> stopf -> raise_condition -> signal Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.16.4
Check: compiled code
Result: NOTE File 'data.table/libs/x64/data_table.dll': Found non-API calls to R: 'LEVELS', 'SETLENGTH', 'SET_GROWABLE_BIT', 'SET_TRUELENGTH', 'STRING_PTR', 'TRUELENGTH' Compiled code should not call non-API entry points in R. See 'Writing portable packages' in the 'Writing R Extensions' manual, and section 'Moving into C API compliance' for issues with the use of non-API entry points. Flavor: r-devel-windows-x86_64

Version: 1.16.4
Check: installed package size
Result: NOTE installed size is 5.6Mb sub-directories of 1Mb or more: libs 1.8Mb Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64