From 16b2e9fef62e76d4e8230e72468b57c241920aba Mon Sep 17 00:00:00 2001 From: Michel Lang Date: Sun, 25 Aug 2019 23:55:29 +0200 Subject: [PATCH] fix example --- R/mlr_coercions.R | 3 --- man/mlr_coercions.Rd | 3 --- 2 files changed, 6 deletions(-) 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)