CRAN Package Check Results for Package mlr3tuning

Last updated on 2025-12-04 02:50:33 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.5.0 14.66 579.41 594.07 OK
r-devel-linux-x86_64-debian-gcc 1.5.0 8.42 391.75 400.17 OK
r-devel-linux-x86_64-fedora-clang 1.5.0 105.00 853.84 958.84 ERROR
r-devel-linux-x86_64-fedora-gcc 1.5.0 78.00 852.33 930.33 ERROR
r-devel-windows-x86_64 1.5.0 15.00 562.00 577.00 OK
r-patched-linux-x86_64 1.5.0 18.67 544.95 563.62 OK
r-release-linux-x86_64 1.5.0 13.83 546.87 560.70 OK
r-release-macos-arm64 1.5.0 OK
r-release-macos-x86_64 1.5.0 27.00 690.00 717.00 OK
r-release-windows-x86_64 1.5.0 16.00 541.00 557.00 OK
r-oldrel-macos-arm64 1.5.0 OK
r-oldrel-macos-x86_64 1.5.0 14.00 624.00 638.00 OK
r-oldrel-windows-x86_64 1.5.0 22.00 715.00 737.00 OK

Check Details

Version: 1.5.0
Check: examples
Result: ERROR Running examples in ‘mlr3tuning-Ex.R’ failed The error most likely occurred in: > ### Name: mlr_tuners_internal > ### Title: Hyperparameter Tuning with Internal Tuning > ### Aliases: mlr_tuners_internal TunerBatchInternal > > ### ** Examples > > ## Don't show: > if (mlr3misc::require_namespaces(c("mlr3learners", "xgboost"), quietly = TRUE)) withAutoprint({ # examplesIf + ## End(Don't show) + library(mlr3learners) + + # Retrieve task + task = tsk("pima") + + # Load learner and set search space + learner = lrn("classif.xgboost", + nrounds = to_tune(upper = 1000, internal = TRUE), + early_stopping_rounds = 10, + validate = "test", + eval_metric = "merror" + ) + + # Internal hyperparameter tuning on the pima indians diabetes data set + instance = tune( + tnr("internal"), + tsk("iris"), + learner, + rsmp("cv", folds = 3), + msr("internal_valid_score", minimize = TRUE, select = "merror") + ) + + # best performing hyperparameter configuration + instance$result_learner_param_vals + + instance$result_learner_param_vals$internal_tuned_values + ## Don't show: + }) # examplesIf > library(mlr3learners) > task = tsk("pima") > learner = lrn("classif.xgboost", nrounds = to_tune(upper = 1000, internal = TRUE), + early_stopping_rounds = 10, validate = "test", eval_metric = "merror") > instance = tune(tnr("internal"), tsk("iris"), learner, rsmp("cv", folds = 3), + msr("internal_valid_score", minimize = TRUE, select = "merror")) INFO [20:17:30.659] [bbotk] Starting to optimize 0 parameter(s) with '<TunerBatchInternal>' and '<TerminatorNone>' INFO [20:17:30.676] [bbotk] Evaluating 1 configuration(s) INFO [20:17:30.736] [mlr3] Running benchmark with 3 resampling iterations INFO [20:17:30.836] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 1/3) INFO [20:17:31.098] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 2/3) INFO [20:17:31.340] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 3/3) Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning: Caught simpleError. Canceling all iterations ... Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Error in names(x) <- nm : attempt to set an attribute on NULL Calls: withAutoprint ... tryCatchList -> tryCatchOne -> <Anonymous> -> onError Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.5.0
Check: examples
Result: ERROR Running examples in ‘mlr3tuning-Ex.R’ failed The error most likely occurred in: > ### Name: mlr_tuners_internal > ### Title: Hyperparameter Tuning with Internal Tuning > ### Aliases: mlr_tuners_internal TunerBatchInternal > > ### ** Examples > > ## Don't show: > if (mlr3misc::require_namespaces(c("mlr3learners", "xgboost"), quietly = TRUE)) withAutoprint({ # examplesIf + ## End(Don't show) + library(mlr3learners) + + # Retrieve task + task = tsk("pima") + + # Load learner and set search space + learner = lrn("classif.xgboost", + nrounds = to_tune(upper = 1000, internal = TRUE), + early_stopping_rounds = 10, + validate = "test", + eval_metric = "merror" + ) + + # Internal hyperparameter tuning on the pima indians diabetes data set + instance = tune( + tnr("internal"), + tsk("iris"), + learner, + rsmp("cv", folds = 3), + msr("internal_valid_score", minimize = TRUE, select = "merror") + ) + + # best performing hyperparameter configuration + instance$result_learner_param_vals + + instance$result_learner_param_vals$internal_tuned_values + ## Don't show: + }) # examplesIf > library(mlr3learners) > task = tsk("pima") > learner = lrn("classif.xgboost", nrounds = to_tune(upper = 1000, internal = TRUE), + early_stopping_rounds = 10, validate = "test", eval_metric = "merror") > instance = tune(tnr("internal"), tsk("iris"), learner, rsmp("cv", folds = 3), + msr("internal_valid_score", minimize = TRUE, select = "merror")) INFO [19:00:37.686] [bbotk] Starting to optimize 0 parameter(s) with '<TunerBatchInternal>' and '<TerminatorNone>' INFO [19:00:37.698] [bbotk] Evaluating 1 configuration(s) INFO [19:00:37.757] [mlr3] Running benchmark with 3 resampling iterations INFO [19:00:37.868] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 1/3) INFO [19:00:38.209] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 2/3) INFO [19:00:38.486] [mlr3] Applying learner 'classif.xgboost' on task 'iris' (iter 3/3) Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning: Caught simpleError. Canceling all iterations ... Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Warning in check.deprecation(deprecated_train_params, match.call(), ...) : Passed invalid function arguments: eval_metric, nthread, num_class. These should be passed as a list to argument 'params'. Conversion from argument to 'params' entry will be done automatically, but this behavior will become an error in a future version. Warning in throw_err_or_depr_msg("Parameter '", match_old, "' has been renamed to '", : Parameter 'watchlist' has been renamed to 'evals'. This warning will become an error in a future version. Warning in check.custom.obj(params, objective) : Argument 'objective' is only for custom objectives. For built-in objectives, pass the objective under 'params'. This warning will become an error in a future version. Error in names(x) <- nm : attempt to set an attribute on NULL Calls: withAutoprint ... tryCatchList -> tryCatchOne -> <Anonymous> -> onError Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc