Skip to content

Commit

Permalink
chore: silence CRAN checks
Browse files Browse the repository at this point in the history
  • Loading branch information
be-marc committed Dec 21, 2023
1 parent 3f4d301 commit ffbefa4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions .Rbuildignore
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,4 @@
^CONTRIBUTING.md
^cran-comments\.md$
^CRAN-SUBMISSION$
^benchmark$
7 changes: 4 additions & 3 deletions R/ResultData.R
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,10 @@ ResultData = R6Class("ResultData",
uhashes = data.table(uhash = unique(data$uhash))
setkeyv(data, c("uhash", "iteration"))

data[, task_hash := task[[1]]$hash, by = "uhash"]
data[, learner_phash := learner[[1]]$phash, by = "uhash"]
data[, resampling_hash := resampling[[1]]$hash, by = "uhash"]
task = learner = resampling = NULL
data[, "task_hash" := task[[1]]$hash, by = "uhash"]
data[, "learner_phash" := learner[[1]]$phash, by = "uhash"]
data[, "resampling_hash" := resampling[[1]]$hash, by = "uhash"]

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

0 comments on commit ffbefa4

Please sign in to comment.