- using R Under development (unstable) (2023-12-01 r85656)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-13 (GCC) 13.2.0
GNU Fortran (GCC) 13.2.0
- running under: Fedora Linux 36 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- checking for file ‘mlr3pipelines/DESCRIPTION’ ... OK
- this is package ‘mlr3pipelines’ version ‘0.5.0-1’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘mlr3pipelines’ can be installed ... [48s/66s] OK
See the install log for details.
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... OK
- checking whether startup messages can be suppressed ... OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [119s/153s] OK
- checking Rd files ... OK
- checking Rd metadata ... OK
- checking Rd line widths ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [24s/29s] ERROR
Running examples in ‘mlr3pipelines-Ex.R’ failed
The error most likely occurred in:
> ### Name: mlr_pipeops_colroles
> ### Title: Change Column Roles of a Task
> ### Aliases: mlr_pipeops_colroles PipeOpColRoles
>
> ### ** Examples
>
> library("mlr3")
>
> task = tsk("boston_housing")
> pop = po("colroles", param_vals = list(
+ new_role = list(cmedv = "order")
+ ))
>
> pop$train(list(task))
Error: Cannot change the role of a target.
This happened PipeOp colroles's $train()
Execution halted
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [404s/202s] ERROR
Running ‘testthat.R’ [403s/201s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> if (requireNamespace("testthat", quietly = TRUE)) {
+ library("checkmate")
+ library("testthat")
+ library("mlr3")
+ library("paradox")
+ library("mlr3pipelines")
+ test_check("mlr3pipelines")
+ }
Starting 2 test processes
[ FAIL 3 | WARN 9 | SKIP 79 | PASS 12916 ]
══ Skipped tests (79) ══════════════════════════════════════════════════════════
• On CRAN (77): 'test_Graph.R:275:3', 'test_GraphLearner.R:4:3',
'test_GraphLearner.R:177:3', 'test_GraphLearner.R:245:3',
'test_GraphLearner.R:309:3', 'test_dictionary.R:5:3',
'test_learner_weightedaverage.R:4:3', 'test_learner_weightedaverage.R:56:3',
'test_learner_weightedaverage.R:103:3',
'test_learner_weightedaverage.R:149:3', 'test_meta.R:39:3',
'test_mlr_graphs_bagging.R:5:3', 'test_mlr_graphs_branching.R:25:3',
'test_mlr_graphs_robustify.R:4:3', 'test_pipeop_branch.R:4:3',
'test_pipeop_chunk.R:4:3', 'test_pipeop_classbalancing.R:10:3',
'test_pipeop_boxcox.R:8:3', 'test_pipeop_classweights.R:10:3',
'test_pipeop_colroles.R:10:3', 'test_pipeop_colapply.R:9:3',
'test_pipeop_copy.R:5:3', 'test_pipeop_encode.R:21:3',
'test_pipeop_encodeimpact.R:11:3', 'test_pipeop_datefeatures.R:13:3',
'test_pipeop_encodelmer.R:13:3', 'test_pipeop_encodelmer.R:34:3',
'test_pipeop_encodelmer.R:75:3', 'test_pipeop_featureunion.R:9:3',
'test_pipeop_featureunion.R:132:3', 'test_pipeop_ensemble.R:6:3',
'test_pipeop_filter.R:6:3', 'test_pipeop_fixfactors.R:9:3',
'test_pipeop_ica.R:6:3', 'test_pipeop_histbin.R:9:3',
'test_pipeop_impute.R:4:3', 'test_pipeop_kernelpca.R:9:3',
'test_pipeop_imputelearner.R:40:3', 'test_pipeop_learner.R:17:3',
'test_pipeop_missind.R:6:3', 'test_pipeop_modelmatrix.R:7:3',
'test_pipeop_multiplicityexply.R:9:3', 'test_pipeop_learnercv.R:31:3',
'test_pipeop_mutate.R:9:3', 'test_pipeop_multiplicityimply.R:9:3',
'test_pipeop_ovr.R:9:3', 'test_pipeop_ovr.R:48:3', 'test_pipeop_pca.R:8:3',
'test_pipeop_nmf.R:9:3', 'test_pipeop_quantilebin.R:5:3',
'test_pipeop_randomprojection.R:8:3', 'test_pipeop_randomresponse.R:5:3',
'test_pipeop_proxy.R:14:3', 'test_pipeop_removeconstants.R:10:3',
'test_pipeop_renamecolumns.R:11:3', 'test_pipeop_replicate.R:9:3',
'test_pipeop_scale.R:8:3', 'test_pipeop_scale.R:18:3',
'test_pipeop_scalemaxabs.R:7:3', 'test_pipeop_select.R:9:3',
'test_pipeop_scalerange.R:8:3', 'test_pipeop_smote.R:9:3',
'test_pipeop_subsample.R:10:3', 'test_pipeop_targetinvert.R:4:3',
'test_pipeop_targetmutate.R:4:3', 'test_pipeop_targettrafo.R:4:3',
'test_pipeop_targettrafoscalerange.R:4:3', 'test_pipeop_task_preproc.R:4:3',
'test_pipeop_task_preproc.R:14:3', 'test_pipeop_spatialsign.R:7:3',
'test_pipeop_textvectorizer.R:38:3', 'test_pipeop_textvectorizer.R:189:3',
'test_pipeop_unbranch.R:10:3', 'test_pipeop_updatetarget.R:88:3',
'test_pipeop_yeojohnson.R:7:3', 'test_pipeop_vtreat.R:9:3',
'test_typecheck.R:186:3'
• empty test (2): 'test_pipeop_missind.R:101:1', 'test_pipeop_learnercv.R:52:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_pipeop_targetmutate.R:59:2'): PipeOpTargetMutate - log base 2 trafo ──
Error in `log(dat$medv, base = 2)`: non-numeric argument to mathematical function
── Failure ('test_pipeop_targettrafoscalerange.R:84:3'): PipeOpTargetTrafoScaleRange - row use subsets ──
(predict_out1$truth - a)/b not equivalent to predict_out2[[1L]]$truth.
506/506 mismatches (average diff: NaN)
[1] NA - 24.0 == NA
[2] NA - 21.6 == NA
[3] NA - 34.7 == NA
[4] NA - 33.4 == NA
[5] NA - 36.2 == NA
[6] NA - 28.7 == NA
[7] NA - 22.9 == NA
[8] NA - 22.1 == NA
[9] NA - 16.5 == NA
...
Backtrace:
▆
1. └─mlr3pipelines:::expect_equivalent(...) at test_pipeop_targettrafoscalerange.R:84:3
2. ├─base::suppressWarnings(testthat::expect_equivalent(...)) at tests/testthat/helper_compat.R:10:21
3. │ └─base::withCallingHandlers(...)
4. └─testthat::expect_equivalent(...)
── Failure ('test_pipeop_targettrafoscalerange.R:85:3'): PipeOpTargetTrafoScaleRange - row use subsets ──
(predict_out1$response - a)/b not equivalent to predict_out2[[1L]]$response.
506/506 mismatches (average diff: NaN)
[1] NaN - 30.5 == NaN
[2] NaN - 21.0 == NaN
[3] NaN - 30.5 == NaN
[4] NaN - 30.5 == NaN
[5] NaN - 30.5 == NaN
[6] NaN - 30.5 == NaN
[7] NaN - 21.0 == NaN
[8] NaN - 17.4 == NaN
[9] NaN - 17.4 == NaN
...
Backtrace:
▆
1. └─mlr3pipelines:::expect_equivalent(...) at test_pipeop_targettrafoscalerange.R:85:3
2. ├─base::suppressWarnings(testthat::expect_equivalent(...)) at tests/testthat/helper_compat.R:10:21
3. │ └─base::withCallingHandlers(...)
4. └─testthat::expect_equivalent(...)
[ FAIL 3 | WARN 9 | SKIP 79 | PASS 12916 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes in ‘inst/doc’ ... OK
- checking re-building of vignette outputs ... [17s/21s] OK
- checking PDF version of manual ... [34s/48s] OK
- checking HTML version of manual ... [22s/32s] OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 2 ERRORs