You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: inst/tests/tests.Rraw
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -20634,9 +20634,8 @@ test(2296, d2[x %no such operator% 1], error = '%no such operator%')
20634
20634
# fix coercing integer/double for joins on multiple columns, #6602
20635
20635
x = data.table(a=1L)
20636
20636
y = data.table(c=1L, d=1)
20637
-
# 2297.01 and 02: previous test was "Coercing .*a to type double.*Coercing .*c to type double" in which 2nd ".*" silently captures "for join"
20638
-
test(2297.01, y[x, on=.(c == a, d == a), verbose=TRUE], data.table(c=1L, d=1L), output="Coercing .*a (.for join.)? to type double.*Coercing .*c to type double")
20639
-
test(2297.02, y[x, on=.(d == a, c == a), verbose=TRUE], data.table(c=1L, d=1L), output="Coercing .*a (.for join.)? to type double.*Coercing .*c to type double")
20637
+
test(2297.01, y[x, on=.(c == a, d == a), verbose=TRUE], data.table(c=1L, d=1L), output="Coercing .*a .for join. to type double.*Coercing .*c to type double")
20638
+
test(2297.02, y[x, on=.(d == a, c == a), verbose=TRUE], data.table(c=1L, d=1L), output="Coercing .*a .for join. to type double.*Coercing .*c to type double")
20640
20639
x = data.table(a=1)
20641
20640
y = data.table(c=1, d=1L)
20642
20641
test(2297.03, y[x, on=.(c == a, d == a), verbose=TRUE], data.table(c=1L, d=1L), output="Coercing .*a .*no fractions.* to type integer.*Coercing .*c .*no fractions.* to type integer")
0 commit comments