Skip to content

Commit

Permalink
use mlr3pipelines::pos() explicitly in example
Browse files Browse the repository at this point in the history
Fixes #751
  • Loading branch information
mb706 committed Aug 16, 2024
1 parent e755230 commit 9624fb2
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
3 changes: 2 additions & 1 deletion R/po.R
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down
2 changes: 1 addition & 1 deletion man/mlr_pipeops_nmf.Rd

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

5 changes: 2 additions & 3 deletions man/mlr_pipeops_rowapply.Rd

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

2 changes: 1 addition & 1 deletion man/po.Rd

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

0 comments on commit 9624fb2

Please sign in to comment.