CRAN Package Check Results for Package mlr3learners

Last updated on 2022-05-26 23:53:00 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5.2 12.31 261.59 273.90 ERROR
r-devel-linux-x86_64-debian-gcc 0.5.2 11.32 195.42 206.74 ERROR
r-devel-linux-x86_64-fedora-clang 0.5.3 286.60 OK
r-devel-linux-x86_64-fedora-gcc 0.5.3 264.03 OK
r-devel-windows-x86_64 0.5.2 97.00 278.00 375.00 OK
r-patched-linux-x86_64 0.5.2 17.82 222.74 240.56 ERROR
r-release-linux-x86_64 0.5.3 8.46 210.04 218.50 OK
r-release-macos-arm64 0.5.3 91.00 OK
r-release-macos-x86_64 0.5.2 109.00 OK
r-release-windows-x86_64 0.5.3 96.00 203.00 299.00 OK
r-oldrel-macos-arm64 0.5.3 81.00 OK
r-oldrel-macos-x86_64 0.5.2 107.00 OK
r-oldrel-windows-ix86+x86_64 0.5.3 21.00 233.00 254.00 ERROR

Check Details

Version: 0.5.2
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: 'mlr3proba'
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64

Version: 0.5.2
Check: Rd cross-references
Result: NOTE
    Unknown package 'mlr3proba' in Rd xrefs
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64

Version: 0.5.2
Check: examples
Result: ERROR
    Running examples in 'mlr3learners-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: mlr_learners_surv.cv_glmnet
    > ### Title: Cross-Validated GLM with Elastic Net Regularization Survival
    > ### Learner
    > ### Aliases: mlr_learners_surv.cv_glmnet LearnerSurvCVGlmnet
    >
    > ### ** Examples
    >
    > if (requireNamespace("glmnet", quietly = TRUE)) {
    + learner = mlr3::lrn("surv.cv_glmnet")
    + print(learner)
    +
    + # available parameters:
    + learner$param_set$ids()
    + }
    Error in loadNamespace(x) : there is no package called 'mlr3proba'
    Calls: <Anonymous> ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64

Version: 0.5.2
Check: tests
Result: ERROR
     Running 'testthat.R' [155s/184s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > if (requireNamespace("testthat", quietly = TRUE)) {
     + library("testthat")
     + library("mlr3learners")
     + test_check("mlr3learners")
     + }
     Loading required package: mlr3
     [ FAIL 7 | WARN 0 | SKIP 2 | PASS 617 ]
    
     == Skipped tests ===============================================================
     * On CRAN (2)
    
     == Failed tests ================================================================
     -- Error (test_surv_cv_glmnet.R:5:3): autotest ---------------------------------
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'mlr3proba'
     Backtrace:
     x
     1. +-mlr3::lrn("surv.cv_glmnet") at test_surv_cv_glmnet.R:5:2
     2. | \-mlr3misc::dictionary_sugar_get(mlr_learners, .key, ...)
     3. | \-mlr3misc:::dictionary_get(dict, .key)
     4. | \-mlr3misc:::dictionary_initialize_item(key, obj, dots)
     5. | +-base::do.call(constructor$new, cargs)
     6. | \-R6 `<fn>`()
     7. | \-R6 get_inherit()
     8. | \-base::eval(inherit, parent_env, NULL)
     9. | \-base::eval(inherit, parent_env, NULL)
     10. \-base::loadNamespace(x)
     11. \-base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     12. \-base withOneRestart(expr, restarts[[1L]])
     13. \-base doWithOneRestart(return(expr), restart)
     -- Error (test_surv_cv_glmnet.R:14:3): selected_features -----------------------
     Error: Element with key 'gbcs' not found in DictionaryTask!
     Backtrace:
     x
     1. \-mlr3::tsk("gbcs") at test_surv_cv_glmnet.R:14:2
     2. \-mlr3misc::dictionary_sugar_get(mlr_tasks, .key, ...)
     3. \-mlr3misc:::dictionary_get(dict, .key)
     4. \-mlr3misc:::dictionary_retrieve_item(self, key)
     5. \-mlr3misc::stopf(...)
     -- Error (test_surv_glmnet.R:5:3): autotest ------------------------------------
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'mlr3proba'
     Backtrace:
     x
     1. +-mlr3::lrn("surv.glmnet", lambda = 0.1) at test_surv_glmnet.R:5:2
     2. | \-mlr3misc::dictionary_sugar_get(mlr_learners, .key, ...)
     3. | +-checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
     4. | | \-checkmate::checkR6(...)
     5. | \-mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
     6. | +-base::do.call(constructor$new, cargs)
     7. | \-R6 `<fn>`()
     8. | \-R6 get_inherit()
     9. | \-base::eval(inherit, parent_env, NULL)
     10. | \-base::eval(inherit, parent_env, NULL)
     11. \-base::loadNamespace(x)
     12. \-base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     13. \-base withOneRestart(expr, restarts[[1L]])
     14. \-base doWithOneRestart(return(expr), restart)
     -- Error (test_surv_glmnet.R:14:3): selected_features --------------------------
     Error: Element with key 'gbcs' not found in DictionaryTask!
     Backtrace:
     x
     1. \-mlr3::tsk("gbcs") at test_surv_glmnet.R:14:2
     2. \-mlr3misc::dictionary_sugar_get(mlr_tasks, .key, ...)
     3. \-mlr3misc:::dictionary_get(dict, .key)
     4. \-mlr3misc:::dictionary_retrieve_item(self, key)
     5. \-mlr3misc::stopf(...)
     -- Error (test_surv_ranger.R:2:3): autotest ------------------------------------
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'mlr3proba'
     Backtrace:
     x
     1. +-global with_seed(...) at test_surv_ranger.R:2:2
     2. | \-base::force(expr)
     3. +-mlr_learners$get("surv.ranger") at test_surv_ranger.R:3:4
     4. | \-mlr3misc:::dictionary_get(self, key, ...)
     5. | \-mlr3misc:::dictionary_initialize_item(key, obj, dots)
     6. | +-base::do.call(constructor$new, cargs)
     7. | \-R6 `<fn>`()
     8. | \-R6 get_inherit()
     9. | \-base::eval(inherit, parent_env, NULL)
     10. | \-base::eval(inherit, parent_env, NULL)
     11. \-base::loadNamespace(x)
     12. \-base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     13. \-base withOneRestart(expr, restarts[[1L]])
     14. \-base doWithOneRestart(return(expr), restart)
     -- Error (test_surv_ranger.R:12:3): importance ---------------------------------
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'mlr3proba'
     Backtrace:
     x
     1. +-mlr_learners$get("surv.ranger") at test_surv_ranger.R:12:2
     2. | \-mlr3misc:::dictionary_get(self, key, ...)
     3. | \-mlr3misc:::dictionary_initialize_item(key, obj, dots)
     4. | +-base::do.call(constructor$new, cargs)
     5. | \-R6 `<fn>`()
     6. | \-R6 get_inherit()
     7. | \-base::eval(inherit, parent_env, NULL)
     8. | \-base::eval(inherit, parent_env, NULL)
     9. \-base::loadNamespace(x)
     10. \-base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     11. \-base withOneRestart(expr, restarts[[1L]])
     12. \-base doWithOneRestart(return(expr), restart)
     -- Error (test_surv_ranger.R:18:3): mtry.ratio ---------------------------------
     Error: Element with key 'rats' not found in DictionaryTask!
     Backtrace:
     x
     1. \-mlr3::tsk("rats") at test_surv_ranger.R:18:2
     2. \-mlr3misc::dictionary_sugar_get(mlr_tasks, .key, ...)
     3. \-mlr3misc:::dictionary_get(dict, .key)
     4. \-mlr3misc:::dictionary_retrieve_item(self, key)
     5. \-mlr3misc::stopf(...)
    
     [ FAIL 7 | WARN 0 | SKIP 2 | PASS 617 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-clang

Version: 0.5.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [104s/205s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > if (requireNamespace("testthat", quietly = TRUE)) {
     + library("testthat")
     + library("mlr3learners")
     + test_check("mlr3learners")
     + }
     Loading required package: mlr3
     [ FAIL 7 | WARN 0 | SKIP 2 | PASS 617 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (2)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test_surv_cv_glmnet.R:5:3): autotest ─────────────────────────────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'mlr3proba'
     Backtrace:
     ▆
     1. ├─mlr3::lrn("surv.cv_glmnet") at test_surv_cv_glmnet.R:5:2
     2. │ └─mlr3misc::dictionary_sugar_get(mlr_learners, .key, ...)
     3. │ └─mlr3misc:::dictionary_get(dict, .key)
     4. │ └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
     5. │ ├─base::do.call(constructor$new, cargs)
     6. │ └─R6 `<fn>`()
     7. │ └─R6 get_inherit()
     8. │ └─base::eval(inherit, parent_env, NULL)
     9. │ └─base::eval(inherit, parent_env, NULL)
     10. └─base::loadNamespace(x)
     11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     12. └─base withOneRestart(expr, restarts[[1L]])
     13. └─base doWithOneRestart(return(expr), restart)
     ── Error (test_surv_cv_glmnet.R:14:3): selected_features ───────────────────────
     Error: Element with key 'gbcs' not found in DictionaryTask!
     Backtrace:
     ▆
     1. └─mlr3::tsk("gbcs") at test_surv_cv_glmnet.R:14:2
     2. └─mlr3misc::dictionary_sugar_get(mlr_tasks, .key, ...)
     3. └─mlr3misc:::dictionary_get(dict, .key)
     4. └─mlr3misc:::dictionary_retrieve_item(self, key)
     5. └─mlr3misc::stopf(...)
     ── Error (test_surv_glmnet.R:5:3): autotest ────────────────────────────────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'mlr3proba'
     Backtrace:
     ▆
     1. ├─mlr3::lrn("surv.glmnet", lambda = 0.1) at test_surv_glmnet.R:5:2
     2. │ └─mlr3misc::dictionary_sugar_get(mlr_learners, .key, ...)
     3. │ ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
     4. │ │ └─checkmate::checkR6(...)
     5. │ └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
     6. │ ├─base::do.call(constructor$new, cargs)
     7. │ └─R6 `<fn>`()
     8. │ └─R6 get_inherit()
     9. │ └─base::eval(inherit, parent_env, NULL)
     10. │ └─base::eval(inherit, parent_env, NULL)
     11. └─base::loadNamespace(x)
     12. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     13. └─base withOneRestart(expr, restarts[[1L]])
     14. └─base doWithOneRestart(return(expr), restart)
     ── Error (test_surv_glmnet.R:14:3): selected_features ──────────────────────────
     Error: Element with key 'gbcs' not found in DictionaryTask!
     Backtrace:
     ▆
     1. └─mlr3::tsk("gbcs") at test_surv_glmnet.R:14:2
     2. └─mlr3misc::dictionary_sugar_get(mlr_tasks, .key, ...)
     3. └─mlr3misc:::dictionary_get(dict, .key)
     4. └─mlr3misc:::dictionary_retrieve_item(self, key)
     5. └─mlr3misc::stopf(...)
     ── Error (test_surv_ranger.R:2:3): autotest ────────────────────────────────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'mlr3proba'
     Backtrace:
     ▆
     1. ├─global with_seed(...) at test_surv_ranger.R:2:2
     2. │ └─base::force(expr)
     3. ├─mlr_learners$get("surv.ranger") at test_surv_ranger.R:3:4
     4. │ └─mlr3misc:::dictionary_get(self, key, ...)
     5. │ └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
     6. │ ├─base::do.call(constructor$new, cargs)
     7. │ └─R6 `<fn>`()
     8. │ └─R6 get_inherit()
     9. │ └─base::eval(inherit, parent_env, NULL)
     10. │ └─base::eval(inherit, parent_env, NULL)
     11. └─base::loadNamespace(x)
     12. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     13. └─base withOneRestart(expr, restarts[[1L]])
     14. └─base doWithOneRestart(return(expr), restart)
     ── Error (test_surv_ranger.R:12:3): importance ─────────────────────────────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'mlr3proba'
     Backtrace:
     ▆
     1. ├─mlr_learners$get("surv.ranger") at test_surv_ranger.R:12:2
     2. │ └─mlr3misc:::dictionary_get(self, key, ...)
     3. │ └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
     4. │ ├─base::do.call(constructor$new, cargs)
     5. │ └─R6 `<fn>`()
     6. │ └─R6 get_inherit()
     7. │ └─base::eval(inherit, parent_env, NULL)
     8. │ └─base::eval(inherit, parent_env, NULL)
     9. └─base::loadNamespace(x)
     10. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     11. └─base withOneRestart(expr, restarts[[1L]])
     12. └─base doWithOneRestart(return(expr), restart)
     ── Error (test_surv_ranger.R:18:3): mtry.ratio ─────────────────────────────────
     Error: Element with key 'rats' not found in DictionaryTask!
     Backtrace:
     ▆
     1. └─mlr3::tsk("rats") at test_surv_ranger.R:18:2
     2. └─mlr3misc::dictionary_sugar_get(mlr_tasks, .key, ...)
     3. └─mlr3misc:::dictionary_get(dict, .key)
     4. └─mlr3misc:::dictionary_retrieve_item(self, key)
     5. └─mlr3misc::stopf(...)
    
     [ FAIL 7 | WARN 0 | SKIP 2 | PASS 617 ]
     Error: Test failures
     Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.5.2
Check: tests
Result: ERROR
     Running ‘testthat.R’ [123s/153s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > if (requireNamespace("testthat", quietly = TRUE)) {
     + library("testthat")
     + library("mlr3learners")
     + test_check("mlr3learners")
     + }
     Loading required package: mlr3
     [ FAIL 7 | WARN 0 | SKIP 2 | PASS 617 ]
    
     ══ Skipped tests ═══════════════════════════════════════════════════════════════
     • On CRAN (2)
    
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test_surv_cv_glmnet.R:5:3): autotest ─────────────────────────────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'mlr3proba'
     Backtrace:
     ▆
     1. ├─mlr3::lrn("surv.cv_glmnet") at test_surv_cv_glmnet.R:5:2
     2. │ └─mlr3misc::dictionary_sugar_get(mlr_learners, .key, ...)
     3. │ └─mlr3misc:::dictionary_get(dict, .key)
     4. │ └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
     5. │ ├─base::do.call(constructor$new, cargs)
     6. │ └─R6 `<fn>`()
     7. │ └─R6 get_inherit()
     8. │ └─base::eval(inherit, parent_env, NULL)
     9. │ └─base::eval(inherit, parent_env, NULL)
     10. └─base::loadNamespace(x)
     11. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     12. └─base withOneRestart(expr, restarts[[1L]])
     13. └─base doWithOneRestart(return(expr), restart)
     ── Error (test_surv_cv_glmnet.R:14:3): selected_features ───────────────────────
     Error: Element with key 'gbcs' not found in DictionaryTask!
     Backtrace:
     ▆
     1. └─mlr3::tsk("gbcs") at test_surv_cv_glmnet.R:14:2
     2. └─mlr3misc::dictionary_sugar_get(mlr_tasks, .key, ...)
     3. └─mlr3misc:::dictionary_get(dict, .key)
     4. └─mlr3misc:::dictionary_retrieve_item(self, key)
     5. └─mlr3misc::stopf(...)
     ── Error (test_surv_glmnet.R:5:3): autotest ────────────────────────────────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'mlr3proba'
     Backtrace:
     ▆
     1. ├─mlr3::lrn("surv.glmnet", lambda = 0.1) at test_surv_glmnet.R:5:2
     2. │ └─mlr3misc::dictionary_sugar_get(mlr_learners, .key, ...)
     3. │ ├─checkmate::assert_r6(dictionary_initialize_item(.key, obj, dots[ii]))
     4. │ │ └─checkmate::checkR6(...)
     5. │ └─mlr3misc:::dictionary_initialize_item(.key, obj, dots[ii])
     6. │ ├─base::do.call(constructor$new, cargs)
     7. │ └─R6 `<fn>`()
     8. │ └─R6 get_inherit()
     9. │ └─base::eval(inherit, parent_env, NULL)
     10. │ └─base::eval(inherit, parent_env, NULL)
     11. └─base::loadNamespace(x)
     12. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     13. └─base withOneRestart(expr, restarts[[1L]])
     14. └─base doWithOneRestart(return(expr), restart)
     ── Error (test_surv_glmnet.R:14:3): selected_features ──────────────────────────
     Error: Element with key 'gbcs' not found in DictionaryTask!
     Backtrace:
     ▆
     1. └─mlr3::tsk("gbcs") at test_surv_glmnet.R:14:2
     2. └─mlr3misc::dictionary_sugar_get(mlr_tasks, .key, ...)
     3. └─mlr3misc:::dictionary_get(dict, .key)
     4. └─mlr3misc:::dictionary_retrieve_item(self, key)
     5. └─mlr3misc::stopf(...)
     ── Error (test_surv_ranger.R:2:3): autotest ────────────────────────────────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'mlr3proba'
     Backtrace:
     ▆
     1. ├─global with_seed(...) at test_surv_ranger.R:2:2
     2. │ └─base::force(expr)
     3. ├─mlr_learners$get("surv.ranger") at test_surv_ranger.R:3:4
     4. │ └─mlr3misc:::dictionary_get(self, key, ...)
     5. │ └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
     6. │ ├─base::do.call(constructor$new, cargs)
     7. │ └─R6 `<fn>`()
     8. │ └─R6 get_inherit()
     9. │ └─base::eval(inherit, parent_env, NULL)
     10. │ └─base::eval(inherit, parent_env, NULL)
     11. └─base::loadNamespace(x)
     12. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     13. └─base withOneRestart(expr, restarts[[1L]])
     14. └─base doWithOneRestart(return(expr), restart)
     ── Error (test_surv_ranger.R:12:3): importance ─────────────────────────────────
     <packageNotFoundError/error/condition>
     Error in `loadNamespace(x)`: there is no package called 'mlr3proba'
     Backtrace:
     ▆
     1. ├─mlr_learners$get("surv.ranger") at test_surv_ranger.R:12:2
     2. │ └─mlr3misc:::dictionary_get(self, key, ...)
     3. │ └─mlr3misc:::dictionary_initialize_item(key, obj, dots)
     4. │ ├─base::do.call(constructor$new, cargs)
     5. │ └─R6 `<fn>`()
     6. │ └─R6 get_inherit()
     7. │ └─base::eval(inherit, parent_env, NULL)
     8. │ └─base::eval(inherit, parent_env, NULL)
     9. └─base::loadNamespace(x)
     10. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
     11. └─base withOneRestart(expr, restarts[[1L]])
     12. └─base doWithOneRestart(return(expr), restart)
     ── Error (test_surv_ranger.R:18:3): mtry.ratio ─────────────────────────────────
     Error: Element with key 'rats' not found in DictionaryTask!
     Backtrace:
     ▆
     1. └─mlr3::tsk("rats") at test_surv_ranger.R:18:2
     2. └─mlr3misc::dictionary_sugar_get(mlr_tasks, .key, ...)
     3. └─mlr3misc:::dictionary_get(dict, .key)
     4. └─mlr3misc:::dictionary_retrieve_item(self, key)
     5. └─mlr3misc::stopf(...)
    
     [ FAIL 7 | WARN 0 | SKIP 2 | PASS 617 ]
     Error: Test failures
     Execution halted
Flavor: r-patched-linux-x86_64

Version: 0.5.3
Check: tests
Result: ERROR
     Running 'testthat.R' [135s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > if (requireNamespace("testthat", quietly = TRUE)) {
     + library("testthat")
     + library("mlr3learners")
     + test_check("mlr3learners")
     + }
     Loading required package: mlr3
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 618 ]
    
     == Failed tests ================================================================
     -- Failure (test_classif_nnet.R:7:3): autotest ---------------------------------
     `result` is not TRUE
    
     `actual` is a list
     `expected` is a logical vector (TRUE)
     Response is different for different predict types
    
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 618 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64