We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 133ed2b commit bbdabe0Copy full SHA for bbdabe0
R/LearnerTorch.R
@@ -357,7 +357,7 @@ LearnerTorch = R6Class("LearnerTorch",
357
}
358
private$.callbacks = callbacks
359
private$.param_set = NULL
360
- self$packages = unique(c(self$packages, unlist(map(private$.callbacks, "packages"))))
+ self$packages = unique(c(self$packages, unlist(map(private$.callbacks, "packages")))) %??% character(0)
361
362
private$.callbacks
363
},
0 commit comments