Skip to content

Commit 89b3b5d

Browse files
aitapMichaelChirico
andcommitted
Clarify test comment
Co-Authored-By: Michael Chirico <chiricom@google.com>
1 parent f2b8c58 commit 89b3b5d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

inst/tests/tests.Rraw

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21670,7 +21670,8 @@ test(2375.4, print(data.table(x="abcdefghijklmnopqrstuvwxyz")), output="abcdefgh
2167021670
test(2375.5, print(data.table(id=1L, score=99.1, txt="abcdefghijklmnopqrstuvwxyz")), output="abcdefghijklmn...", options=list(width=20, datatable.prettyprint.char=NULL))
2167121671
test(2375.6, print(data.table(x=rep("ABCDEFGHIJKLMNOPQRSTUVWXYZ", 1e6)), topn=1), output="1000000: ABCDEFGHIJKLM...", options=list(width=25, datatable.prettyprint.char=NULL))
2167221672

21673-
# rbindlist() used to put O(ncol(...)) > R_PPStackSize = 50000 items on the protect stack, #7793
21673+
# rbindlist() used to put O(ncol(...)) > R_PPStackSize items on the protect stack, #7793
21674+
# Assuming 50000 as the default protection stack size, although R --max-ppsize=... can increase it to 500000.
2167421675
x = as.data.table(as.list(1:50001))
2167521676
test(2376, rbindlist(list(x)), x)
2167621677
rm(x)

0 commit comments

Comments
 (0)