diff --git a/R/mlr_coercions.R b/R/mlr_coercions.R index 2590a8309..da0809378 100644 --- a/R/mlr_coercions.R +++ b/R/mlr_coercions.R @@ -13,9 +13,6 @@ #' @return Coerced object. The default method will return the object as-is. #' Failed coercions have to be handled by on of the assertions in [mlr_assertions]. #' @examples -#' # convert a dictionary key to object -#' as_task("iris") -#' #' # convert single measure to list of measures #' measure = msr("classif.ce") #' as_measures(measure) diff --git a/man/mlr_coercions.Rd b/man/mlr_coercions.Rd index ca611b190..828195840 100644 --- a/man/mlr_coercions.Rd +++ b/man/mlr_coercions.Rd @@ -114,9 +114,6 @@ Failed coercions have to be handled by on of the assertions in \link{mlr_asserti S3 generics and methods to coerce to (lists of) \link{Task}, \link{Learner}, \link{Resampling}, and \link{Measure}. } \examples{ -# convert a dictionary key to object -as_task("iris") - # convert single measure to list of measures measure = msr("classif.ce") as_measures(measure)