Last updated on 2020-08-07 01:50:24 CEST.
Package | ERROR | NOTE | OK |
---|---|---|---|
modelDown | 1 | 4 | 7 |
Current CRAN status: ERROR: 1, NOTE: 4, OK: 7
Version: 1.1
Check: dependencies in R code
Result: NOTE
Namespaces in Imports field not imported from:
‘DALEX’ ‘DT’ ‘auditor’ ‘breakDown’ ‘drifter’ ‘svglite’
All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-macos-x86_64, r-oldrel-macos-x86_64
Version: 1.1
Check: tests
Result: ERROR
Running ‘testthat.R’ [1902s/590s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(DALEX)
Welcome to DALEX (version: 1.3.1.1).
Find examples and detailed introduction at: https://pbiecek.github.io/ema/
Additional features will be available after installation of: ggpubr.
Use 'install_dependencies()' to get all suggested dependencies
> library(devtools)
Loading required package: usethis
Attaching package: 'devtools'
The following object is masked from 'package:testthat':
test_file
> library(modelDown)
>
> test_check("modelDown")
Preparation of a new explainer is initiated
-> model label : ranger ( <1b>[33m default <1b>[39m )
-> data : 3000 rows 10 cols
-> target variable : 3000 values
-> predict function : function(model, data) { return(predict(model, data)$prediction[, 2]) }
-> predicted values : numerical, min = 0.0002222222 , mean = 0.668284 , max = 1
-> model_info : package ranger , ver. 0.12.1 , task classification ( <1b>[33m default <1b>[39m )
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -0.6927289 , mean = -0.001617305 , max = 0.7141873
<1b>[32m A new explainer has been created! <1b>[39m
Preparation of a new explainer is initiated
-> model label : lm ( <1b>[33m default <1b>[39m )
-> data : 3000 rows 10 cols
-> target variable : 3000 values
-> predict function : yhat.glm will be used ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 0.001706436 , mean = 0.6666667 , max = 1
-> model_info : package stats , ver. 4.0.2 , task classification ( <1b>[33m default <1b>[39m )
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -0.9989112 , mean = 1.673979e-09 , max = 0.9848484
<1b>[32m A new explainer has been created! <1b>[39m
Preparation of a new explainer is initiated
-> model label : lm ( <1b>[33m default <1b>[39m )
-> data : 4000 rows 10 cols
-> target variable : 4000 values
-> predict function : yhat.glm will be used ( <1b>[33m default <1b>[39m )
-> predicted values : numerical, min = 0.001281044 , mean = 0.5 , max = 1
-> model_info : package stats , ver. 4.0.2 , task classification ( <1b>[33m default <1b>[39m )
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
-> residuals : numerical, min = -0.9970616 , mean = 1.253319e-09 , max = 0.9891096
<1b>[32m A new explainer has been created! <1b>[39m
[1] "Generating auditor..."
[1] "Generating drifter..."
Preparation of a new explainer is initiated
-> model label : model_old
-> data : 4000 rows 10 cols
-> target variable : not specified! ( <1b>[31m WARNING <1b>[39m )
-> predict function : predict_function
-> predicted values : numerical, min = 0.001706436 , mean = 0.5897454 , max = 1
-> model_info : package stats , ver. 4.0.2 , task classification ( <1b>[33m default <1b>[39m )
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
<1b>[32m A new explainer has been created! <1b>[39m
Preparation of a new explainer is initiated
-> model label : model_new
-> data : 4000 rows 10 cols
-> target variable : not specified! ( <1b>[31m WARNING <1b>[39m )
-> predict function : predict_function
-> predicted values : numerical, min = 0.001706436 , mean = 0.5897454 , max = 1
-> model_info : package stats , ver. 4.0.2 , task classification ( <1b>[33m default <1b>[39m )
-> residual function : difference between y and yhat ( <1b>[33m default <1b>[39m )
<1b>[32m A new explainer has been created! <1b>[39m
[1] "Generating model_performance..."
[1] "Generating variable_importance..."
[1] "Generating variable_response..."
Flavor: r-patched-solaris-x86