Skip to content

Commit bbdabe0

Browse files
committed
fix: packages
1 parent 133ed2b commit bbdabe0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/LearnerTorch.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ LearnerTorch = R6Class("LearnerTorch",
357357
}
358358
private$.callbacks = callbacks
359359
private$.param_set = NULL
360-
self$packages = unique(c(self$packages, unlist(map(private$.callbacks, "packages"))))
360+
self$packages = unique(c(self$packages, unlist(map(private$.callbacks, "packages")))) %??% character(0)
361361
}
362362
private$.callbacks
363363
},

0 commit comments

Comments
 (0)