Skip to content

Commit 76bd3c4

Browse files
committed
reverting atime test cases as there is nothing to compare to from the past
1 parent 21f492e commit 76bd3c4

File tree

1 file changed

+0
-32
lines changed

1 file changed

+0
-32
lines changed

.ci/atime/tests.R

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -22,38 +22,6 @@ for (extra.arg in extra.args.6107){
2222
extra.test.list[[sprintf("fread(%s) improved in #6107", extra.arg)]] <- this.test
2323
}
2424

25-
## Test cases adapted from https://github.com/Rdatatable/data.table/pull/7264#issuecomment-3228438559 which was adapted from R code added to NEWS.md file in that PR.
26-
roll.7264.list <- atime::atime_grid(
27-
"frollapply improved"=data.table::frollapply(value, len_window, max, adaptive=TRUE, align="left"),
28-
"frollmax created"={
29-
tryCatch({
30-
data.table::frollmax(value, len_window, adaptive=TRUE, align="left", has.nf=FALSE)
31-
}, error=function(e){# if frollmax does not exist in the old version of data.table.
32-
data.table::frollapply(value, len_window, max, adaptive=TRUE, align="left")
33-
})
34-
},
35-
"frollmean improved"=data.table::frollmean(value, len_window, adaptive=TRUE, align="right"))
36-
for (prefix in names(roll.7264.list)){
37-
this.test <- atime::atime_test(
38-
setup={
39-
set.seed(108)
40-
setDTthreads(1)
41-
x = data.table(
42-
value = cumsum(rnorm(N, 0.1)),
43-
end_window = 1:N + sample(50:500, N, TRUE),
44-
row = 1:N
45-
)[
46-
, "end_window" := pmin(end_window, .N)
47-
][
48-
, "len_window" := end_window-row+1L
49-
]
50-
},
51-
Slow="a850eed4a469b1217ed920e703d876596a237188",#Parent of the first commit (https://github.com/Rdatatable/data.table/commit/1f7a773af5c97f817c0350016c38bda0733f4ef1) of the PR (https://github.com/Rdatatable/data.table/pull/7264/commits) that introduces these features.
52-
Fast="0bf97fce3f4d72a1c32118feb355e37766f134b1")# A commit in the PR (https://github.com/Rdatatable/data.table/pull/7264/commits) that introduces these features.
53-
this.test$expr <- substitute(data.table:::`[.data.table`(x, , FCALL), list(FCALL=roll.7264.list[[prefix]]))
54-
extra.test.list[[paste(prefix, "in #7264")]] <- this.test
55-
}
56-
5725
# Test case adapted from https://github.com/Rdatatable/data.table/pull/4386#issue-602528139 which is where the performance was improved.
5826
for(retGrp_chr in c("T","F"))extra.test.list[[sprintf(
5927
"forderv(retGrp=%s) improved in #4386", retGrp_chr

0 commit comments

Comments
 (0)