Skip to content

Commit ffbefa4

Browse files
committed
chore: silence CRAN checks
1 parent 3f4d301 commit ffbefa4

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,4 @@
2222
^CONTRIBUTING.md
2323
^cran-comments\.md$
2424
^CRAN-SUBMISSION$
25+
^benchmark$

R/ResultData.R

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@ ResultData = R6Class("ResultData",
4949
uhashes = data.table(uhash = unique(data$uhash))
5050
setkeyv(data, c("uhash", "iteration"))
5151

52-
data[, task_hash := task[[1]]$hash, by = "uhash"]
53-
data[, learner_phash := learner[[1]]$phash, by = "uhash"]
54-
data[, resampling_hash := resampling[[1]]$hash, by = "uhash"]
52+
task = learner = resampling = NULL
53+
data[, "task_hash" := task[[1]]$hash, by = "uhash"]
54+
data[, "learner_phash" := learner[[1]]$phash, by = "uhash"]
55+
data[, "resampling_hash" := resampling[[1]]$hash, by = "uhash"]
5556

5657
tasks = data[, list(task = .SD$task[1L]),
5758
keyby = "task_hash"]

0 commit comments

Comments
 (0)