CRAN Package Check Results for Package localModel

Last updated on 2019-11-16 02:48:37 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.11 3.79 70.43 74.22 OK
r-devel-linux-x86_64-debian-gcc 0.3.11 3.04 52.73 55.77 OK
r-devel-linux-x86_64-fedora-clang 0.3.11 90.40 OK
r-devel-linux-x86_64-fedora-gcc 0.3.11 86.49 OK
r-devel-windows-ix86+x86_64 0.3.11 21.00 118.00 139.00 OK
r-patched-linux-x86_64 0.3.11 2.70 64.63 67.33 OK
r-patched-solaris-x86 0.3.11 128.50 OK
r-release-linux-x86_64 0.3.11 3.48 64.89 68.37 OK
r-release-windows-ix86+x86_64 0.3.11 9.00 75.00 84.00 ERROR
r-release-osx-x86_64 0.3.11 OK
r-oldrel-windows-ix86+x86_64 0.3.11 6.00 76.00 82.00 OK
r-oldrel-osx-x86_64 0.3.11 OK

Check Details

Version: 0.3.11
Check: tests
Result: ERROR
     Running 'testthat.R' [8s]
    Running the tests in 'tests/testthat.R' failed.
    Complete output:
     > library(testthat)
     > library(localModel)
     > library(DALEX)
     Welcome to DALEX (version: 0.4.9).
     Find examples and detailed introduction at: https://pbiecek.github.io/PM_VEE/
     Additional features will be available after installation of: iBreakDown, ALEPlot, breakDown, pdp, factorMerger, ggpubr.
     Use 'install_dependencies()' to get all suggested dependencies
     > library(randomForest)
     randomForest 4.6-14
     Type rfNews() to see new features/changes/bug fixes.
     >
     > data('HR')
     > data('apartments')
     >
     > m_rf_hr <- randomForest(status ~., data = HR[1:500, ], ntree = 10)
     > m_rf_ap <- randomForest(m2.price ~., data = apartments[1:500, ], ntree = 10)
     >
     > hr_explainer <- explain(m_rf_hr, HR[1:500, ])
     Preparation of a new explainer is initiated
     -> model label : randomForest ( <1b>[33m default <1b>[39m )
     -> data : 500 rows 6 cols
     -> target variable : not specified! ( <1b>[31m WARNING <1b>[39m )
     -> predict function : yhat.randomForest will be used ( <1b>[33m default <1b>[39m )
     -> predicted values : numerical, min = 0 , mean = 0.3333333 , max = 1
     -> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
     -> model_info : package randomForest , ver. 4.6.14 , task classification ( <1b>[33m default <1b>[39m )
     <1b>[32m A new explainer has been created! <1b>[39m
     Warning message:
     In if (class(y_hat) == "try-error") { :
     the condition has length > 1 and only the first element will be used
     > ap_explainer <- explain(m_rf_ap, apartments[1:500, ])
     Preparation of a new explainer is initiated
     -> model label : randomForest ( <1b>[33m default <1b>[39m )
     -> data : 500 rows 6 cols
     -> target variable : not specified! ( <1b>[31m WARNING <1b>[39m )
     -> predict function : yhat.randomForest will be used ( <1b>[33m default <1b>[39m )
     -> predicted values : numerical, min = 1940.099 , mean = 3508.814 , max = 5782.949
     -> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
     -> model_info : package randomForest , ver. 4.6.14 , task regression ( <1b>[33m default <1b>[39m )
     <1b>[32m A new explainer has been created! <1b>[39m
     >
     > local_model_explainer_hr <- individual_surrogate_model(hr_explainer,
     + HR[5, -6],
     + size = 50,
     + seed = 17)
     > local_model_explainer_ap <- individual_surrogate_model(ap_explainer,
     + apartments[5, -1],
     + size = 50,
     + seed = 17)
     >
     > test_check("localModel")
     -- 1. Failure: Plots work with different geoms (@test_generic.R#7) ------------
     `{ ... }` produced messages.
    
     == testthat results ===========================================================
     [ OK: 12 | SKIPPED: 0 | WARNINGS: 0 | FAILED: 1 ]
     1. Failure: Plots work with different geoms (@test_generic.R#7)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-release-windows-ix86+x86_64