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 b8f4fd0 commit 8c11e2dCopy full SHA for 8c11e2d
inst/tests/tests.Rraw
@@ -21076,6 +21076,12 @@ setindex(DT, b)
21076
# can't use output= here because the print() call is outside withCallingHandlers(...)
21077
test(2307, { capture.output(print(DT, class = TRUE, show.indices = TRUE)); TRUE })
21078
21079
+DT <- data.table(a = 1:2, b = 2:1)
21080
+setindex(DT, b)
21081
+# make sure that print(DT) doesn't warn due to the header missing index column types, #6806
21082
+# can't use output= here because the print() call is outside withCallingHandlers(...)
21083
+test(2307, { capture.output(print(DT, class = TRUE, show.indices = TRUE)); TRUE })
21084
+
21085
<<<<<<< HEAD
21086
if (exists("sort_by", "package:base")) {
21087
# sort_by.data.table
0 commit comments