We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd7e004 commit 1aeb6aeCopy full SHA for 1aeb6ae
inst/tests/tests.Rraw
@@ -1648,9 +1648,9 @@ test(514, x %chin% y, x %in% y)
1648
1649
# Test new function set() in v1.8.0
1650
DT = data.table(a=1:3,b=4:6)
1651
-test(515, set(DT,2,1,3), data.table(a=c(1L,3L,3L),b=4:6), warning=c("Coerced i from numeric to integer","Coerced j from numeric to integer"))
+test(515, set(DT,2,1,3), data.table(a=c(1L,3L,3L),b=4:6), warning="Coerced i from numeric to integer")
1652
test(516, set(DT,"2",1,3), error="i is type 'character'")
1653
-test(517, set(DT,2L,1,3), DT, warning="Coerced j")
+test(517, options=c(datatable.verbose=TRUE), set(DT,2L,1,3), DT, output="Coerced j")
1654
# FR #2551 implemented - removed warning from 518
1655
# test(518, set(DT,2L,1L,3), DT, warning="Coerced 'double' RHS to 'integer'")
1656
test(518, set(DT,2L,1L,3), DT)
0 commit comments