Last updated on 2024-06-08 09:49:39 CEST.
Package | ERROR | OK |
---|---|---|
miesmuschel | 13 | |
mlr3pipelines | 1 | 12 |
Current CRAN status: OK: 13
Current CRAN status: ERROR: 1, OK: 12
Version: 0.5.2
Check: examples
Result: ERROR
Running examples in ‘mlr3pipelines-Ex.R’ failed
The error most likely occurred in:
> ### Name: mlr_graphs_stacking
> ### Title: Create A Graph to Perform Stacking.
> ### Aliases: mlr_graphs_stacking pipeline_stacking
>
> ### ** Examples
>
> ## Don't show:
> if (requireNamespace("rpart")) {
+ ## End(Don't show)
+ if (requireNamespace("kknn")) {
+ library(mlr3)
+ library(mlr3learners)
+
+ base_learners = list(
+ lrn("classif.rpart", predict_type = "prob"),
+ lrn("classif.kknn", predict_type = "prob")
+ )
+ super_learner = lrn("classif.log_reg")
+
+ graph_stack = pipeline_stacking(base_learners, super_learner)
+ graph_learner = as_learner(graph_stack)
+ graph_learner$train(tsk("german_credit"))
+ }
+ ## Don't show:
+ }
Loading required namespace: kknn
Error in library(mlr3learners) :
there is no package called ‘mlr3learners’
Execution halted
Flavor: r-release-macos-x86_64