diff --git a/R/LearnerClustPAM.R b/R/LearnerClustPAM.R index 884738c5..2cc2872c 100644 --- a/R/LearnerClustPAM.R +++ b/R/LearnerClustPAM.R @@ -27,7 +27,7 @@ LearnerClustPAM = R6Class("LearnerClustPAM", k = p_int(lower = 1L, tags = c("required", "train")), metric = p_fct(levels = c("euclidian", "manhattan"), tags = "train"), medoids = p_uty(default = NULL, tags = "train", - custom_check = custom(function(x) { + custom_check = crate(function(x) { if (test_integerish(x)) { return(TRUE) } else if (test_null(x)) {