Skip to content

Commit

Permalink
use examplesif
Browse files Browse the repository at this point in the history
  • Loading branch information
advieser committed Feb 28, 2025
1 parent 8bb594d commit be9b1b5
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion R/PipeOpEncodePL.R
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ mlr_pipeops$add("encodeplquantiles", PipeOpEncodePLQuantiles)
#' @template seealso_pipeopslist
#' @include PipeOpTaskPreproc.R
#' @export
#' @examples
#' @examplesIf requireNamespace("rpart")
#' library(mlr3)
#'
#' # For classification task
Expand Down
4 changes: 1 addition & 3 deletions R/PipeOpLearnerPICVPlus.R
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,7 @@
#' @template seealso_pipeopslist
#' @include PipeOp.R
#' @export
#' @examples
#' \dontshow{ if (requireNamespace("rpart")) \{ }
#' @examplesIf requireNamespace("rpart")
#' library("mlr3")
#'
#' task = tsk("mtcars")
Expand All @@ -93,7 +92,6 @@
#'
#' lrncvplus_po$train(list(task))
#' lrncvplus_po$predict(list(task))
#' \dontshow{ \} }
PipeOpLearnerPICVPlus = R6Class("PipeOpLearnerPICVPlus",
inherit = PipeOp,
public = list(
Expand Down
2 changes: 2 additions & 0 deletions man/mlr_pipeops_encodepltree.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions man/mlr_pipeops_learner_pi_cvplus.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit be9b1b5

Please sign in to comment.