diff --git a/R/po.R b/R/po.R index c60cdaea3..123cd2dd2 100644 --- a/R/po.R +++ b/R/po.R @@ -43,8 +43,9 @@ #' mlr_pipeops$get("learner", lrn("classif.rpart"), #' param_vals = list(cp = 0.3)) #' -#' pos(c("pca", original = "nop")) +#' mlr3pipelines::pos(c("pca", original = "nop")) #' \dontshow{ \} } +# mlr3pipelines::pos instead of just pos() because of https://github.com/mlr-org/mlr3pipelines/issues/751 po = function(.obj, ...) { UseMethod("po") } diff --git a/man/mlr_pipeops_nmf.Rd b/man/mlr_pipeops_nmf.Rd index 7c8c351df..979dca4a4 100644 --- a/man/mlr_pipeops_nmf.Rd +++ b/man/mlr_pipeops_nmf.Rd @@ -96,7 +96,7 @@ See \code{\link[NMF:nmf]{nmf()}}. \section{Internals}{ -Uses the \code{\link[NMF:nmf]{nmf()}} function as well as \code{\link[NMF:basis]{basis()}}, \code{\link[NMF:coef]{coef()}} and +Uses the \code{\link[NMF:nmf]{nmf()}} function as well as \code{\link[NMF:basis-coef-methods]{basis()}}, \code{\link[NMF:basis-coef-methods]{coef()}} and \code{\link[MASS:ginv]{ginv()}}. } diff --git a/man/mlr_pipeops_rowapply.Rd b/man/mlr_pipeops_rowapply.Rd index 85e0ac30e..cc15306ab 100644 --- a/man/mlr_pipeops_rowapply.Rd +++ b/man/mlr_pipeops_rowapply.Rd @@ -46,14 +46,13 @@ Function to apply to each row in the affected columns of the task. The return value should be a vector of the same length for every input. Initialized as \code{\link[base:identity]{identity()}}. \item \code{col_prefix} :: \code{character(1)}\cr -If specified, prefix to be prepended to the column names of affected columns, separated by a dot (\code{.}). Default is \code{""}. +If specified, prefix to be prepended to the column names of affected columns, separated by a dot (\code{.}). Initialized as \code{""}. } } \section{Internals}{ -Calls \code{\link{apply}} on the data, using the value of \code{applicator} as \code{FUN} and \code{simplify = TRUE}, then coerces the output via -\code{\link[data.table:as.data.table]{as.data.table()}}. +Calls \code{\link{apply}} on the data, using the value of \code{applicator} as \code{FUN}. } \section{Fields}{ diff --git a/man/po.Rd b/man/po.Rd index 4f44dd219..504375142 100644 --- a/man/po.Rd +++ b/man/po.Rd @@ -59,6 +59,6 @@ po(lrn("classif.rpart"), cp = 0.3) mlr_pipeops$get("learner", lrn("classif.rpart"), param_vals = list(cp = 0.3)) -pos(c("pca", original = "nop")) +mlr3pipelines::pos(c("pca", original = "nop")) \dontshow{ \} } }