Skip to content

Commit c898b5b

Browse files
Update tests.R
1 parent a01f00f commit c898b5b

1 file changed

Lines changed: 20 additions & 1 deletion

File tree

.ci/atime/tests.R

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,25 @@ test.list <- atime::atime_test_list(
119119
data.table:::setDT(L)
120120
},
121121
Slow = "c4a2085e35689a108d67dacb2f8261e4964d7e12", # Parent of the first commit in the PR that fixes the issue (https://github.com/Rdatatable/data.table/commit/7cc4da4c1c8e568f655ab5167922dcdb75953801)
122-
Fast = "1872f473b20fdcddc5c1b35d79fe9229cd9a1d15") # Last commit in the PR that fixes the issue (https://github.com/Rdatatable/data.table/pull/5427/commits)
122+
Fast = "1872f473b20fdcddc5c1b35d79fe9229cd9a1d15"), # Last commit in the PR that fixes the issue (https://github.com/Rdatatable/data.table/pull/5427/commits)
123+
124+
# Issue reported in: https://github.com/Rdatatable/data.table/issues/4200
125+
# To be fixed in: https://github.com/Rdatatable/data.table/pull/4558
126+
"groupby with dogroups #4558" = atime::atime_test(
127+
N = 10^seq(1, 7),
128+
setup = {
129+
d <- data.table(
130+
id3 = sample(c(seq.int(N*0.9), sample(N*0.9, N*0.1, TRUE))),
131+
v1 = sample(5L, N, TRUE),
132+
v2 = sample(5L, N, TRUE)
133+
)
134+
},
135+
expr = {
136+
expr=data.table:::`[.data.table`(d, , (max(v1)-min(v2)), by = id3)
137+
},
138+
Before="793f8545c363d222de18ac892bc7abb80154e724",#parent of the PR that introduced the regression(https://github.com/Rdatatable/data.table/commit/4aadde8f5a51cd7c8f3889964e7280432ec65bbc) as stated here (https://github.com/Rdatatable/data.table/issues/4200#issuecomment-646111420) https://github.com/Rdatatable/data.table/commit/793f8545c363d222de18ac892bc7abb80154e724
139+
Regression="c152ced0e5799acee1589910c69c1a2c6586b95d", #praent of the first commit in the PR (https://github.com/Rdatatable/data.table/commit/15f0598b9828d3af2eb8ddc9b38e0356f42afe4f)
140+
Fixed="f750448a2efcd258b3aba57136ee6a95ce56b302")#second commit in the PR that fixes the regression(https://github.com/Rdatatable/data.table/pull/4558/commits)
123141
)
142+
124143
# nolint end: undesirable_operator_linter.

0 commit comments

Comments
 (0)