diff --git a/README.md b/README.md index d5b1f8000..4a754e65c 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,7 @@ * if the file doesn't exist the error message is clearer ([#486](https://github.com/Rdatatable/data.table/issues/486)) * system commands are now checked to contain at least one space * sep="." now works when dec!=".", [#502](https://github.com/Rdatatable/data.table/issues/502). Thanks to Ananda Mahto for reporting. + * better error message if quoted field is missing an end quote, [#802](https://github.com/Rdatatable/data.table/issues/486). Thanks to Vladimir Sitnikov for the sample file which is now included in the test suite. 6. `as.data.table.list` with list input having 0-length items, e.g. `x = list(a=integer(0), b=3:4)`. `as.data.table(x)` recycles item `a` with `NA`s to fit the length of the longer column `b` (length=2), as before now, but with an additional warning message that the item has been recycled with `NA`. Closes [#847](https://github.com/Rdatatable/data.table/issues/847). Thanks to @tvinodr for the report. This was a regression from 1.9.2. diff --git a/inst/tests/fread_line_error.csv b/inst/tests/fread_line_error.csv new file mode 100644 index 000000000..1e290cfa9 --- /dev/null +++ b/inst/tests/fread_line_error.csv @@ -0,0 +1,69 @@ +3,2-0-6 4:2:7.4 HAV,2,7,0,2,4,RI Y#4,T/U,2,1,1,Q,,OX~JA LI~BC,,OZ~4~FB,,,,,5,,.Q8_2_0W_8_1_7_L-4-U-5_1YSV-S-3-5.X +4,2-1-3 4:6:2.1 MIC,4,,7,0,1,LN V#4,S/BK [LR QT],3,3,7,V RX IF: KU XB,VX~IE TW~LA,FP~NC IK~KJ,HV~4~FP,AW~5~SP,,,,,4,,.A5_0_2U_6_6_6_M-0-Z-2_0KJL-U-3-8.L +5,2-5-4 6:2:8.4 RUF,1,3,4,6,5,UO Y#2,O/VQ I K K ,8,5,3,P TN UP: YC PD,HT~AI OL~SL,LL~UX US~QO,OF~0~CU,IQ~3~PZ,,,,,1,,.M8_4_3Q_5_2_4_V-8-J-1_7SXB-O-6-7.J +8,4-5-8 2:6:0.2 NWF,3,,3,3,8,ZC S#2,P/HF [UU],5,1,3,P JZ: XT,RE~VL QW~IO,PF~ST KJ~JY,CG~8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z (#1 - IA L B G#0 - UZ H#8 - DC X#1 - XD G M D#6 - VM W B#2 - QJ X J#8 - BQ R U#5 - OY T#3 - O-T L Q#8 - NB F B N#6 - PX M Q W#7 - UK H I#2 - MF N#7 - BG I#7 - LZ E X P R#0 - DE T Y#2 - VP S F#4 - OS V#6 - PH J E#0 - ZY A U S#0 - RV J R#3 - IC R#7 - MW G#3 - Z-B#7 - KC F Q#7 - K-L F#3 - AC A N#1 - SU B X-Y#8 - LI X Z- P#3 - MI D B-V#8 - LQ H-X F#3 - XX O-F B#6 - EB I F#7 - IN Y I#1 - SK H N#0 - AN Z H D#2 - YO V J#6 - XL.E X G#7 - OW U-T#6 - DZ N#5 - SU G N#6 - FC P F G#4 - D-B S#6 - BE R X#8 - BX L Z H#0 - HI S#0 - GX D O#0 - CR/H G#3 - HA Q-V J#5 - NN D H D#3 - WS Q D G#1 - L-K V M#1 - QD F I U#4 - OS H#8 - EN P S#7 - RQ/Z#2 - SY B#6 - TD G V#3 - IX U#7 - T-H G-M#1 - GS P Z#0 - ZT W C#2 - NN V T#7 - PG O W#7 - KI B E#3 - KB B-X G#8 - MY A#7 - XP R#8 - IM - R S#7 - VL D#7 - ZM R-O M#5 - LO W#2 - VB T U#8 - ID N M#,IO 4~POWB SV ML~SQ___A/E/Y-I-H.K,BE 4~MNSG NT MN~LZ___O/M/L-R-S.W,ZG 4~5~SWZ=1___J/F/K-H-S.F,UP 2~4~ZKH=7___W/R/Y-H-D.H,,,,,7,,.Y5_1_7M_1_3_8_A-2-D-5_7FCM-A-5-4.R +3,4-0-5 2:1:0.6 YAP,,,,,,SE Y#6,A/GU [CT >],7,7,7,,,,,,,,,,6,,.R7_1_8Y_5_5_2_D-6-X-0_6UUM-J-6-3.W +32,0-0-4 6:6:3.5 XJZ,,,,,,BZ T#3,W/UN [AT],4,2,7,,,,,,,,,,8,,.U5_5_8H_7_6_0_U-5-J-7_2GNY-J-3-5.X +31,3-0-7 4:1:7.5 HVV,,,,,,NK K#6,TT A R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+05,6-1-2 0:3:6.1 CQP,3,3,0,3,5,GB G#3,A/OH G 'VB',3,4,0,O VD,JT 6~WSQK GM XF~AN,LL 6~EXTZ CX VZ~LL,CM 7~2~VU,ZU 4~7~WBQ=0,,,,,7,,.X8_3_2S_6_5_7_J-1-B-8_5LDR-I-6-6.R +66,8-5-6 5:7:0.8 QQX,0,8,3,7,4,RR K#1,V/TO [IR Q],7,8,4,O QH Q,,IK 5~XHED HG WB~KZ___W/G/P-C-J.K,,BH 5~8~RTY=5___X/G/O-B-I.M,,,,,1,,.A8_5_5O_3_5_8_B-5-H-3_8XGC-O-4-5.P +37,3-6-3 1:7:3.1 UII,1,,5,2,0,VJ F#4,D/FN P K J ,7,4,5,"T #2 - OH O-U X D#3 - TO V X-J G#8 - TJ K N#2 - EA R#0 - ZU Q-K#4 - KR I-F#4 - WP O#2 - LM A#1 - ON D M#5 - XN O#3 - PH A F S#5 - WC R#7 - EE E#4 - QJ P#2 - JW M M#0 - JA U Z#8 - PO W#0 - GO M E#6 - VQ D C#8 - IG I O#6 - XS J K#6 - E & R Y#3 - MB D W J#6 - QJ M#1 - XW V F#3 - YE P K Q#2 - XO L T#6 - XS L F#4 - WM B/Z#1 - PH P#4 - DM Y N#6 - OM B L#4 - MM E Q#8 - XO N W O A#2 - RP J B#3 - JP X S#7 - AA S S R#3 - KD O#5 - EQ G#4 - WM J Q#8 - GW A G R#0 - OW X#6 - HQ U#0 - XJ N#7 - WR/M I#3 - ND P#7 - BV W D I#2 - TT W#4 - VP Y O#7 - RM P#7 - UZ K Q X#1 - PM Y#6 - DF J N#4 - JX O Z#7 - KW R W#3 - ZL O U#4 - TD X B#4 - XM#2 - RH#4 - GT#8 - BU E A#2 - BO#1 - JV#3 - DU G K#7 - DU C#2 - RP W L#8 - RF#8 - DC N#7 - WD R#5 - QX X H W#8 - YN X S G#6 - DE H J#6 - ZY O N#7 - DA-T K Y#8 - RD D Q#6 - US S S#2 - LJ R I#0 - IP V K#4 - XD J#7 - MS O C L#8 - JA W V#7 - IK P#0 - LK C#5 - YA P K J Z#3 - FB G N#5 - JT G#6 - CJ L D#1 - YL Y I S#0 - ZS Y W I#2 - YP V R#7 - RE Q T#5 - RA A#8 - RR H K#8 - UO J#5 - KJ Z#3 - MO N H#3 - DX 0/0 K N#5 - ST F Q#2 - JT F Y#4 - WP B S#3 - NN V#4 - DV/M D#1 - LR#3 - MB V#8 - JM U#6 - LX J W#2 - OX#5 - VH P#3 - JD B L#4 - UM E Z#2 - VT M#7 - YA N#3 - PX L#1 - CA A#0 - NJ N#5 - ES/M B Y#6 - KT/O V J#4 - OU/U E W#7 - SJ N O T#0 - PW A V G#7 - JP T#7 - LV Z-L O#0 - JD J#1 - NT A#2 - QV P H#4 - DC M G#,EE 5~ZTLG CK BJ~FR___K/T/N-E-D.T,FF 1~HZKW YA RI~KR___U/B/K-C-Q.G,YP 8~7~HBN=1___Y/C/A-F-Q.L,RR 3~8~OIZ=7___S/O/P-H-A.O,,,,,7,,.A5_0_1E_8_5_3_I-5-N-4_7RSS-U-3-5.E +8,6-4-8 8:3:1.6 TAB,,,,,,CT U#3,S/QB [OW >],4,3,4,,,,,,,,,,6,,.E8_7_8W_8_4_3_M-1-H-7_4NAB-Q-2-2.K +4,3-8-4 5:4:2.5 TZQ,,,,,,RT A#5,L/XQ [FW],8,0,5,,,,,,,,,,2,,.X8_6_5J_7_1_3_H-2-P-8_3AJN-T-8-1.G +8,3-4-7 6:3:4.3 UTS,,,,,,VM U#1,AI L R,3,3,1,,,,,,,,,,8,,#U,C,Z.Y,I.Q,D.U,I.H.F,B.Q.R,C,M,A.R,I.S,H,Y.W,L.A.B,J.N.E,Z.D.Q,K.U.S,T.C,C.I,G.P,Z.UVV,E,I,D +1,0-6-3 3:2:2.2 JRF,8,8,3,8,4,CW E#0,Y/S,4,3,1,Y,,CZ~HC PA~CZ,,YE~4~JD,,,,,0,,.J3_4_5Y_8_0_7_B-4-W-4_0BVK-C-4-8.C +3,6-0-8 3:4:8.4 RBA,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-K-6_2KTE-L-8-4.Y +4,6-8-8 3:6:0.5 NOR,8,,1,2,4,BA E#6,G/MB M X H ,1,6,7,"D #6 - BB H-M P J#5 - SM R J Z K#8 - OH J R#2 - BO O S#6 - PG U G#4 - AF A#7 - TL I-F#2 - CA M-V#1 - VF T#7 - ND W S H#0 - SI - T L#4 - QS G H X#3 - RM Q M/C V-Q#0 - FT B#8 - SX T#2 - ZW D Y S M#1 - EC B E U#0 - CS C (V)#0 - GC#4 - VN T#3 - MW J A#4 - LD N V K#4 - NY B Z#5 - GJ S W#1 - FO C N D#4 - ME Q W D A#3 - VU Q P N#2 - OC I#4 - NI B#1 - CL D N C U#7 - PT D N K#0 - PK R T#4 - YI I W#1 - JX R (N)#2 - BB D (V)#0 - JB H H#2 - RA X H#6 - YP A F D#7 - XF W#1 - YK Z#4 - WM T L#5 - CM I E Q#0 - OV D 2#3 - IK V 5#2 - NP Y 3#3 - ZI F 4#3 - GO/U G#1 - GS I (G)#2 - HX F L L#4 - VX O#3 - FT M#6 - OB B A#6 - LU G M#4 - OV H V#4 - XN Y Q#4 - TY F J#2 - JW H L#0 - VA#3 - FL#6 - JB#7 - FR#8 - MP#8 - AZ Q V#8 - YM F L#3 - JU F#5 - IF O#5 - HE S C W#4 - CG W S J#0 - NO L E#5 - KO I U#5 - HH-K X U#6 - YR J V#2 - YD H W#4 - BF A D#2 - TJ Y#0 - NP K#7 - GJ Z U L#0 - NX M#6 - JS M E M V-G#7 - JO J I#4 - MY T C#0 - YR B#2 - BH K V#2 - FF T B E#4 - BE A Z#1 - PP R M#1 - FR B#1 - QU U K#4 - BD 6/5 G S#8 - ZA Q J#0 - KM E O#3 - HE J O E#5 - YS Y#2 - UX H#3 - OR#1 - SU X#0 - ZD O#0 - IC O H#1 - PV N#0 - JT F F#6 - MK J#6 - QM K#1 - QS Q#6 - KD T#8 - BO E#2 - DQ/P B L#3 - ET/A B E#7 - GN/X O I#0 - RH F B M#1 - MG B G U#6 - EQ H F I#2 - MQ J#0 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-7.L +1,6-3-8 8:7:5.4 WVP,2,6,2,4,0,NL Z#7,O/CH AZ Z UM FP,8,8,0,P HU: MF,,"RD CT (4-6-0) 7 TFDTX MI DF JAN PA 7, KHIBTPIN, ST 6~YDXA DA~YJ",,"SB GQ (6-5-4) 5 CCEAP LQ IB LGX HL 2, FPPJAYEO, KE 1~0~GG",,,,,5,,.I4_2_6L_6_0_7_F-0-C-0_6BGG-S-0-0.R +4,2-5-5 3:4:4.1 VMF,1,1,4,3,5,XT H#1,V/JL A 'MQ VN',5,1,4,M NM FA,,AD 4~YTDX DC AB~FX,,BQ 8~5~EF,,,,,1,,.R4_3_7U_6_5_1_O-0-R-0_2JGX-P-8-1.F +7,7-0-3 1:3:8.4 WQO,6,6,3,8,1,FP K#1,M/RG O 'UI',2,6,3,R TS,XJ 8~AXFD XB KB~OT,YB 0~TPVY RY SL~WZ,YC 8~6~IP,FI 8~6~LVY=2,,,,,5,,.M5_8_0A_4_1_4_C-2-H-1_0QUX-V-3-1.G +1,4-1-2 5:2:6.1 HHF,5,4,6,6,0,NY Q#8,W/BS [SN B],3,4,0,D ZW Y,,WK 3~UMJT PZ XD~LJ___G/D/R-U-J.H,,LO 7~5~XUY=3___Q/A/R-R-F.A,,,,,3,,.L3_2_5G_0_3_2_K-3-Q-8_5QQP-I-5-5.E +6,6-4-0 3:6:4.0 TMP,8,,0,7,6,GH X#8,C/KM Y F V ,3,1,0,"Q #0 - HG A-Q C Q#4 - HS O A-C V#6 - KX I#8 - RJ W-O#2 - SH I-I#3 - NU P#0 - WB A#2 - UZ F#5 - FT V#8 - HS K T X#4 - VS Q#3 - RC E#6 - SJ C#1 - HV P S#2 - HY V P#3 - JH Z#0 - LE Z X#3 - RF Y Z#5 - XU Y U#4 - GW B L#6 - MT V J L#4 - US D I D#5 - HD R#3 - CI I M#1 - QR D B W#4 - JF L T#6 - HL L K#3 - HU K/D#2 - JH C#8 - SY B W#4 - LB H L#1 - WL M C#1 - UX F N#4 - UK Y#8 - DI Q#0 - CY N A#4 - VA S M M#5 - XM C 2#0 - AH Y 8#3 - EF K 2#0 - YI O 8#7 - IQ/K W#0 - EQ H#8 - CD Q O#7 - JL O#5 - NP H N W#1 - PC F#1 - AC K E#0 - MY O N#1 - VH V W#1 - MK F V#2 - EY Z E#6 - UU#8 - KT#7 - FN#8 - AE K K#0 - YA#2 - ZX#7 - LY Y P#6 - CZ C#4 - EE V A#7 - RA#4 - OS C#3 - UW I#5 - UB L H X#6 - AD Z V G#1 - EL B K#2 - BA T M#5 - CC-R N A#3 - MW L L#7 - AE I P#8 - NI S Z#3 - RU G I#0 - PK R#0 - PE G V M#1 - DH G I#5 - ZM H N#5 - DC X#5 - FV K#5 - AJ Q G U K#2 - VX R N#4 - QF Z#4 - DG C N#6 - HJ Q V Q#7 - NA G G#6 - ET S Q#1 - YN E#1 - FK T R#7 - UR A V#7 - UK 1/2 F X#0 - UB H P#2 - VO V M#1 - UB V T J#4 - YU T#3 - AP/Q X#6 - BD E T#8 - KF#4 - PU H#1 - AD W#0 - PN Z D#3 - EK M#6 - BH N#2 - QS G B#4 - JT V H-C#2 - LF Q#0 - KY M#5 - HV O#4 - TJ A#4 - SG W#2 - WZ T#2 - LW/U P F#8 - LG/E L B#6 - EY/T E Q#5 - FB J#8 - EY - Z R#0 - EQ Q#7 - NT Q#5 - XL A G#,CM 1~OSKA GM YJ~FT___I/G/X-Q-B.J,QR 2~AGXF XM BT~JY___M/E/H-V-M.F,SN 1~1~BUA=5___U/U/O-G-A.I,XL 0~7~GKZ=3___V/F/P-M-N.A,,,,,6,,.D0_5_2O_4_7_2_E-6-C-2_3PJV-A-8-3.H +8,3-6-5 3:1:6.5 CXO,,,,,,BG Y#2,X/DO [ZM >],6,8,1,,,,,,,,,,2,,.W5_2_1A_7_0_8_T-8-S-8_8QMR-V-3-7.S +1,8-0-1 1:1:0.4 YYA,,,,,,RK V#5,Z/PP [PG],1,0,0,,,,,,,,,,2,,.U3_0_6Z_6_1_6_N-4-J-4_7OCG-L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,,,,4,,.Q5_1_5P_3_1_3_A-6-F-0_7QBH-N-5-8.J +2,4-8-7 7:4:5.0 MOE,3,7,8,2,1,AI B#6,G/TI S 'NB',5,7,4,N IY,DD 5~QLTA VK YV~RP,TE 6~EGFG AH BX~OT,GP 2~6~PH,MO 8~3~ALM=1,,,,,4,,.E1_7_7F_5_7_3_W-0-R-7_2CXX-Z-7-2.Z +2,0-2-3 8:2:1.7 WUW,8,1,5,3,0,FU L#3,C/ON [GA T],5,6,7,A HK E,,AI 7~FVYO IQ BE~JK___X/X/K-M-V.M,,IP 1~5~KDZ=0___N/Y/M-J-Y.F,,,,,4,,.V5_1_8L_7_7_8_Z-3-X-4_8SQA-A-1-7.A +6,3-6-3 4:5:0.6 POL,6,,3,2,7,WU E#8,J/TD C B B ,5,2,6,"X #2 - TH X-H E Q#8 - TW I D-I I#4 - OP K#2 - FC N-F#6 - UL C-C#5 - KI J#7 - SP Y#4 - DI K#7 - NX G S W#0 - YE Q#3 - NY M#2 - SM Q#5 - GC X A#1 - BC P U#8 - EW S#1 - KS U L N#6 - AX U I#1 - XY P P#8 - CI A B#4 - WW G A Q#0 - AY K J K#8 - AA Q#3 - VY E P#0 - GF P E U#1 - XB P A#7 - IU N A#3 - MK M/O#0 - OR A#0 - OX Z V#7 - WE E V#2 - OH X U#4 - BI A Q#4 - CK V E#0 - QP N#2 - KZ P#1 - GQ H X#7 - GB Q F H#2 - DS R 1#2 - BM D 0#5 - OZ Y 5#8 - VG B 7#2 - ET/B Q#8 - SB P#6 - DV E H#7 - TB J Q#5 - RK I Y#1 - UT U H#0 - KR R F#1 - TR P E#6 - LG N P#6 - RV V Q#1 - GX#3 - DL#7 - SR#1 - YX S I#1 - FG!#0 - AP#2 - GG N L#4 - HY H#1 - NS R C#1 - GP#7 - CO W#1 - ZD K C W#3 - DZ L N N#7 - HR D#6 - VJ K V#1 - SE-J L R#8 - WW R Y#0 - YI D V#8 - US L Y#6 - BT Q A#4 - HM P Y B#5 - JH C A#7 - HC G#2 - OG O#8 - HM A X L D-C#1 - RO T Z#3 - EB M#7 - MD C E#3 - DN D J B#3 - UL P K#5 - ID J G#0 - YU F#6 - GU K D#8 - LR D X#8 - FQ 1/4 U Y#7 - UH K V#4 - KU U X#4 - AD B Q F#3 - SF T#1 - OG#1 - UL E#2 - MQ X#4 - DD S D#4 - RK T#2 - EJ D#3 - AT O G#7 - MG, Y & U#2 - LQ F#8 - PE J#6 - TU Z#7 - QX Z#4 - QA A#0 - DO/U T E#1 - SM/I B W#0 - AU/B R G#8 - RW J L P#4 - XU L F H#0 - BO H O S#6 - JY - X X#6 - SG R#7 - DG I#7 - YW R - D/O#4 - BE X H#,DA 0~YYFK LM IX~CF___U/I/C-P-L.U,BV 0~IQZK BD XZ~YC___D/R/V-D-X.K,AO 8~8~DGE=7___Q/A/P-U-K.H,PA 1~8~OZU=8___N/Y/B-A-E.H,,,,,2,,.Z5_5_6F_1_2_5_H-6-X-0_6HUX-Q-4-2.E +0,8-3-5 8:3:1.7 HOA,,,,,,FJ V#7,Z/KQ [AA >],6,2,1,,,,,,,,,,5,,.R7_1_7O_6_1_7_S-7-H-8_7YYL-Y-2-1.Q +8,2-1-5 3:7:4.6 ZNW,,,,,,IV J#7,M/XA [OO],0,1,2,,,,,,,,,,5,,.P5_6_3S_5_3_0_P-0-N-3_2URR-O-1-7.C +8,2-5-0 5:0:3.0 FXN,,,,,,AT F#1,WX I I,6,8,3,,,,,,,,,,8,,#V,I,N.K,L.Y,C.V,D.B.T,K.E.M,L,Q,R.Y,J.L,L,V.Z,E.Y.R,F.F.G,O.W.R,N.U.Z,E.P,B.T,Q.Y,Z.UOD,S,Y,J +8,3-3-3 1:8:2.3 TOO,3,8,2,1,3,YA I#5,S/I,2,5,4,H,,KT~IW UG~LN,,LE~4~IY,,,,,4,,.B5_3_2M_5_7_4_L-1-D-2_7JLS-R-6-5.I +8,7-1-7 3:7:8.2 UNV,7,,6,7,0,LF C#6,B/RM [LV DA],1,0,8,K OM HO: FF OM,Q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3-7-6 8:4:2.1 UCA,7,0,3,4,7,EC G#2,B/NE T N,5,4,3,D SR: BO,VT~UI LY~BJ,NL GZ~TL UV~DW,LG~3~WZ,OK AQ~7~BHS=8,,,,,8,"P",.H4_1_7V_0_0_2_K-3-E-8_1HSG-W-6-7.W diff --git a/inst/tests/tests.Rraw b/inst/tests/tests.Rraw index a4affc7d9..21137eebf 100644 --- a/inst/tests/tests.Rraw +++ b/inst/tests/tests.Rraw @@ -5575,6 +5575,8 @@ test(1453.2, fread(input, sep=".", dec="*"), ans<-data.table(V1=192L,V2=168L,V3= test(1453.3, fread(paste(paste("192. 168. 1. ", 1:10, sep = ""), collapse="\n"), sep=".", dec="*"), ans, warning="Unable") test(1453.4, fread(paste(paste("Hz.BB.GHG.", 1:10, sep = ""), collapse="\n"), sep=".", dec="*"), data.table(V1="Hz",V2="BB",V3="GHG",V4=1:10), warning="Unable") +# Test for #802 +test(1454, fread("fread_line_error.csv"), error="Field 25 on line 9 starts with quote.*but then has a problem.*Check for unbalanced unescaped quotes") ##########################