CRAN Package Check Results for Package DALEXtra

Last updated on 2021-12-02 20:51:26 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.1.1 10.97 251.90 262.87 OK
r-devel-linux-x86_64-debian-gcc 2.1.1 7.45 176.10 183.55 ERROR
r-devel-linux-x86_64-fedora-clang 2.1.1 327.30 OK
r-devel-linux-x86_64-fedora-gcc 2.1.1 307.13 OK
r-devel-windows-x86_64-new-UL 2.1.1 26.00 423.00 449.00 OK
r-devel-windows-x86_64-new-TK 2.1.1 OK
r-devel-windows-x86_64-old 2.1.1 20.00 331.00 351.00 OK
r-patched-linux-x86_64 2.1.1 10.56 231.14 241.70 OK
r-patched-solaris-x86 2.1.1 474.10 OK
r-release-linux-x86_64 2.1.1 10.35 233.47 243.82 OK
r-release-macos-arm64 2.1.1 OK
r-release-macos-x86_64 2.1.1 OK
r-release-windows-ix86+x86_64 2.1.1 31.00 385.00 416.00 OK
r-oldrel-macos-x86_64 2.1.1 OK
r-oldrel-windows-ix86+x86_64 2.1.1 30.00 369.00 399.00 OK

Check Details

Version: 2.1.1
Check: examples
Result: ERROR
    Running examples in ‘DALEXtra-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: explain_tidymodels
    > ### Title: Create explainer from your tidymodels workflow.
    > ### Aliases: explain_tidymodels
    >
    > ### ** Examples
    >
    > library("DALEXtra")
    > library("tidymodels")
    ── Attaching packages ────────────────────────────────────── tidymodels 0.1.4 ──
    ✔ broom 0.7.10 ✔ recipes 0.1.17
    ✔ dials 0.0.10 ✔ rsample 0.1.1
    ✔ dplyr 1.0.7 ✔ tibble 3.1.6
    ✔ ggplot2 3.3.5 ✔ tidyr 1.1.4
    ✔ infer 1.0.0 ✔ tune 0.1.6
    ✔ modeldata 0.1.1 ✔ workflows 0.2.4
    ✔ parsnip 0.1.7 ✔ workflowsets 0.1.0
    ✔ purrr 0.3.4 ✔ yardstick 0.0.9
    ── Conflicts ───────────────────────────────────────── tidymodels_conflicts() ──
    ✖ purrr::discard() masks scales::discard()
    ✖ dplyr::explain() masks DALEX::explain()
    ✖ dplyr::filter() masks stats::filter()
    ✖ dplyr::lag() masks stats::lag()
    ✖ recipes::step() masks stats::step()
    • Dig deeper into tidy modeling with R at https://www.tmwr.org
    > library("recipes")
    > data <- titanic_imputed
    > data$survived <- as.factor(data$survived)
    > rec <- recipe(survived ~ ., data = data) %>%
    + step_normalize(fare)
    > model <- decision_tree(tree_depth = 25) %>%
    + set_engine("rpart") %>%
    + set_mode("classification")
    >
    > wflow <- workflow() %>%
    + add_recipe(rec) %>%
    + add_model(model)
    >
    >
    > model_fitted <- wflow %>%
    + fit(data = data)
    Error: `x` cannot be a vector.
    Backtrace:
     █
     1. ├─wflow %>% fit(data = data)
     2. ├─generics::fit(., data = data)
     3. └─workflows:::fit.workflow(., data = data)
     4. └─workflows::.fit_model(workflow, control)
     5. ├─generics::fit(action_model, workflow = workflow, control = control)
     6. └─workflows:::fit.action_model(...)
     7. └─workflows:::fit_from_xy(spec, mold, control_parsnip)
     8. ├─generics::fit_xy(...)
     9. └─parsnip::fit_xy.model_spec(...)
     10. └─parsnip:::xy_form(...)
     11. └─parsnip::.convert_xy_to_form_fit(...)
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc