Running 'testthat.R' [48s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(checkmate)
  > library(iml)
  > 
  > test_check("iml")
  -- 1. Error: FeatureEffect (method=pdp) works for single output and single featu
  object 'tibble_update_attrs' not found
  Backtrace:
    1. iml:::checkPlot(pdp.obj)
    3. ggplot2:::plot.ggplot(p)
    5. ggplot2:::ggplot_build.ggplot(x)
    6. ggplot2:::by_layer(function(l, d) l$compute_aesthetics(d, plot))
    7. ggplot2:::f(l = layers[[i]], d = data[[i]])
    8. l$compute_aesthetics(d, plot)
    9. ggplot2:::f(..., self = self)
   10. ggplot2:::as_gg_data_frame(evaled)
   13. tibble:::as_tibble.list(x)
   14. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   15. tibble:::recycle_columns(x, .rows, lengths)
   16. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   17. tibble:::update_tibble_attrs(x, ...)
  
  -- 2. Error: FeatureEffect (method=pdp) works for single output and 2 features, 
  object 'tibble_update_attrs' not found
  Backtrace:
    1. iml:::checkPlot(pdp.obj)
    3. ggplot2:::plot.ggplot(p)
    5. ggplot2:::ggplot_build.ggplot(x)
    6. ggplot2:::by_layer(function(l, d) l$compute_aesthetics(d, plot))
    7. ggplot2:::f(l = layers[[i]], d = data[[i]])
    8. l$compute_aesthetics(d, plot)
    9. ggplot2:::f(..., self = self)
   10. ggplot2:::as_gg_data_frame(evaled)
   13. tibble:::as_tibble.list(x)
   14. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   15. tibble:::recycle_columns(x, .rows, lengths)
   16. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   17. tibble:::update_tibble_attrs(x, ...)
  
  -- 3. Error: FeatureEffect (method=pdp) works for single output and 2 numerical 
  object 'tibble_update_attrs' not found
  Backtrace:
    1. iml:::checkPlot(pdp.obj)
    3. ggplot2:::plot.ggplot(p)
    5. ggplot2:::ggplot_build.ggplot(x)
    6. ggplot2:::by_layer(function(l, d) l$compute_aesthetics(d, plot))
    7. ggplot2:::f(l = layers[[i]], d = data[[i]])
    8. l$compute_aesthetics(d, plot)
    9. ggplot2:::f(..., self = self)
   10. ggplot2:::as_gg_data_frame(evaled)
   13. tibble:::as_tibble.list(x)
   14. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   15. tibble:::recycle_columns(x, .rows, lengths)
   16. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   17. tibble:::update_tibble_attrs(x, ...)
  
  -- 4. Error: FeatureEffect (method=pdp) works for single output and numerical + 
  object 'tibble_update_attrs' not found
  Backtrace:
    1. iml:::checkPlot(pdp.obj)
    3. ggplot2:::plot.ggplot(p)
    5. ggplot2:::ggplot_build.ggplot(x)
    6. ggplot2:::by_layer(function(l, d) l$compute_aesthetics(d, plot))
    7. ggplot2:::f(l = layers[[i]], d = data[[i]])
    8. l$compute_aesthetics(d, plot)
    9. ggplot2:::f(..., self = self)
   10. ggplot2:::as_gg_data_frame(evaled)
   13. tibble:::as_tibble.list(x)
   14. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   15. tibble:::recycle_columns(x, .rows, lengths)
   16. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   17. tibble:::update_tibble_attrs(x, ...)
  
  -- 5. Error: FeatureEffect (pdp) works for categorical output (@test-FeatureEffe
  object 'tibble_update_attrs' not found
  Backtrace:
    1. iml:::checkPlot(pdp.obj)
    3. ggplot2:::plot.ggplot(p)
    5. ggplot2:::ggplot_build.ggplot(x)
    6. ggplot2:::by_layer(function(l, d) l$compute_aesthetics(d, plot))
    7. ggplot2:::f(l = layers[[i]], d = data[[i]])
    8. l$compute_aesthetics(d, plot)
    9. ggplot2:::f(..., self = self)
   10. ggplot2:::as_gg_data_frame(evaled)
   13. tibble:::as_tibble.list(x)
   14. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   15. tibble:::recycle_columns(x, .rows, lengths)
   16. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   17. tibble:::update_tibble_attrs(x, ...)
  
  -- 6. Error: FeatureEffect (pdp) works for multiple output (@test-FeatureEffect.
  object 'tibble_update_attrs' not found
  Backtrace:
    1. iml:::checkPlot(pdp.obj)
    3. ggplot2:::plot.ggplot(p)
    5. ggplot2:::ggplot_build.ggplot(x)
    6. layout$setup(data, plot$data, plot$plot_env)
    7. ggplot2:::f(..., self = self)
    8. self$facet$compute_layout(data, self$facet_params)
    9. ggplot2:::f(...)
   12. ggplot2::combine_vars(data, params$plot_env, vars, drop = params$drop)
   15. base::lapply(data, eval_facets, facets = vars, possible_columns = possible_columns)
   16. ggplot2:::FUN(X[[i]], ...)
   19. tibble:::as_tibble.list(vars)
   20. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   21. tibble:::recycle_columns(x, .rows, lengths)
   22. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   23. tibble:::update_tibble_attrs(x, ...)
  
  -- 7. Error: FeatureEffect (pdp+ice) works for multiple output (@test-FeatureEff
  object 'tibble_update_attrs' not found
  Backtrace:
    1. iml:::checkPlot(pdp.obj)
    3. ggplot2:::plot.ggplot(p)
    5. ggplot2:::ggplot_build.ggplot(x)
    6. layout$setup(data, plot$data, plot$plot_env)
    7. ggplot2:::f(..., self = self)
    8. self$facet$compute_layout(data, self$facet_params)
    9. ggplot2:::f(...)
   12. ggplot2::combine_vars(data, params$plot_env, vars, drop = params$drop)
   15. base::lapply(data, eval_facets, facets = vars, possible_columns = possible_columns)
   16. ggplot2:::FUN(X[[i]], ...)
   19. tibble:::as_tibble.list(vars)
   20. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   21. tibble:::recycle_columns(x, .rows, lengths)
   22. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   23. tibble:::update_tibble_attrs(x, ...)
  
  -- 8. Error: FeatureEffect (ice) works for single output and single feature (@te
  object 'tibble_update_attrs' not found
  Backtrace:
    1. iml:::checkPlot(ice.obj)
    3. ggplot2:::plot.ggplot(p)
    5. ggplot2:::ggplot_build.ggplot(x)
    6. ggplot2:::by_layer(function(l, d) l$compute_aesthetics(d, plot))
    7. ggplot2:::f(l = layers[[i]], d = data[[i]])
    8. l$compute_aesthetics(d, plot)
    9. ggplot2:::f(..., self = self)
   10. ggplot2:::as_gg_data_frame(evaled)
   13. tibble:::as_tibble.list(x)
   14. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   15. tibble:::recycle_columns(x, .rows, lengths)
   16. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   17. tibble:::update_tibble_attrs(x, ...)
  
  -- 9. Error: FeatureEffect (ice) works for multiple output (@test-FeatureEffect.
  object 'tibble_update_attrs' not found
  Backtrace:
    1. iml:::checkPlot(ice.obj)
    3. ggplot2:::plot.ggplot(p)
    5. ggplot2:::ggplot_build.ggplot(x)
    6. layout$setup(data, plot$data, plot$plot_env)
    7. ggplot2:::f(..., self = self)
    8. self$facet$compute_layout(data, self$facet_params)
    9. ggplot2:::f(...)
   12. ggplot2::combine_vars(data, params$plot_env, vars, drop = params$drop)
   15. base::lapply(data, eval_facets, facets = vars, possible_columns = possible_columns)
   16. ggplot2:::FUN(X[[i]], ...)
   19. tibble:::as_tibble.list(vars)
   20. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   21. tibble:::recycle_columns(x, .rows, lengths)
   22. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   23. tibble:::update_tibble_attrs(x, ...)
  
  -- 10. Error: method='ale' works for 1D numerical (@test-FeatureEffect.R#339)  -
  object 'tibble_update_attrs' not found
  Backtrace:
    1. iml:::checkPlot(ale)
    3. ggplot2:::plot.ggplot(p)
    5. ggplot2:::ggplot_build.ggplot(x)
    6. ggplot2:::by_layer(function(l, d) l$compute_aesthetics(d, plot))
    7. ggplot2:::f(l = layers[[i]], d = data[[i]])
    8. l$compute_aesthetics(d, plot)
    9. ggplot2:::f(..., self = self)
   10. ggplot2:::as_gg_data_frame(evaled)
   13. tibble:::as_tibble.list(x)
   14. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   15. tibble:::recycle_columns(x, .rows, lengths)
   16. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   17. tibble:::update_tibble_attrs(x, ...)
  
  -- 11. Error: method='ale' works for 2D numerical (@test-FeatureEffect.R#389)  -
  object 'tibble_update_attrs' not found
  Backtrace:
    1. iml:::checkPlot(ale)
    3. ggplot2:::plot.ggplot(p)
    5. ggplot2:::ggplot_build.ggplot(x)
    6. ggplot2:::by_layer(function(l, d) l$compute_aesthetics(d, plot))
    7. ggplot2:::f(l = layers[[i]], d = data[[i]])
    8. l$compute_aesthetics(d, plot)
    9. ggplot2:::f(..., self = self)
   10. ggplot2:::as_gg_data_frame(evaled)
   13. tibble:::as_tibble.list(x)
   14. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   15. tibble:::recycle_columns(x, .rows, lengths)
   16. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   17. tibble:::update_tibble_attrs(x, ...)
  
  -- 12. Error: method='ale' works for 1D categorical (@test-FeatureEffect.R#527) 
  object 'tibble_update_attrs' not found
  Backtrace:
    1. iml:::checkPlot(ale)
    3. ggplot2:::plot.ggplot(p)
    5. ggplot2:::ggplot_build.ggplot(x)
    6. ggplot2:::by_layer(function(l, d) l$compute_aesthetics(d, plot))
    7. ggplot2:::f(l = layers[[i]], d = data[[i]])
    8. l$compute_aesthetics(d, plot)
    9. ggplot2:::f(..., self = self)
   10. ggplot2:::as_gg_data_frame(evaled)
   13. tibble:::as_tibble.list(x)
   14. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   15. tibble:::recycle_columns(x, .rows, lengths)
   16. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   17. tibble:::update_tibble_attrs(x, ...)
  
  -- 13. Error: method='ale' works for 2D numerical x categorical (@test-FeatureEf
  object 'tibble_update_attrs' not found
  Backtrace:
    1. iml:::checkPlot(ale)
    3. ggplot2:::plot.ggplot(p)
    5. ggplot2:::ggplot_build.ggplot(x)
    6. ggplot2:::by_layer(function(l, d) l$compute_aesthetics(d, plot))
    7. ggplot2:::f(l = layers[[i]], d = data[[i]])
    8. l$compute_aesthetics(d, plot)
    9. ggplot2:::f(..., self = self)
   10. ggplot2:::as_gg_data_frame(evaled)
   13. tibble:::as_tibble.list(x)
   14. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   15. tibble:::recycle_columns(x, .rows, lengths)
   16. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   17. tibble:::update_tibble_attrs(x, ...)
  
  -- 14. Error: Interaction works for all features (@test-Interaction.R#18)  -----
  object 'tibble_update_attrs' not found
  Backtrace:
    1. iml:::checkPlot(inter.obj)
    4. ggplot2:::plot.ggplot(p)
    6. ggplot2:::ggplot_build.ggplot(x)
    7. ggplot2:::by_layer(function(l, d) l$compute_aesthetics(d, plot))
    8. ggplot2:::f(l = layers[[i]], d = data[[i]])
    9. l$compute_aesthetics(d, plot)
   10. ggplot2:::f(..., self = self)
   11. ggplot2:::as_gg_data_frame(evaled)
   14. tibble:::as_tibble.list(x)
   15. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   16. tibble:::recycle_columns(x, .rows, lengths)
   17. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   18. tibble:::update_tibble_attrs(x, ...)
  
  -- 15. Error: Interaction works for 2-way interactions (@test-Interaction.R#28) 
  object 'tibble_update_attrs' not found
  Backtrace:
    1. iml:::checkPlot(inter.obj)
    4. ggplot2:::plot.ggplot(p)
    6. ggplot2:::ggplot_build.ggplot(x)
    7. ggplot2:::by_layer(function(l, d) l$compute_aesthetics(d, plot))
    8. ggplot2:::f(l = layers[[i]], d = data[[i]])
    9. l$compute_aesthetics(d, plot)
   10. ggplot2:::f(..., self = self)
   11. ggplot2:::as_gg_data_frame(evaled)
   14. tibble:::as_tibble.list(x)
   15. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   16. tibble:::recycle_columns(x, .rows, lengths)
   17. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   18. tibble:::update_tibble_attrs(x, ...)
  
  -- 16. Error: Interaction for multiclass (@test-Interaction.R#53)  -------------
  object 'tibble_update_attrs' not found
  Backtrace:
    1. iml:::checkPlot(ia)
    4. ggplot2:::plot.ggplot(p)
    6. ggplot2:::ggplot_build.ggplot(x)
    7. layout$setup(data, plot$data, plot$plot_env)
    8. ggplot2:::f(..., self = self)
    9. self$facet$compute_layout(data, self$facet_params)
   10. ggplot2:::f(...)
   13. ggplot2::combine_vars(data, params$plot_env, vars, drop = params$drop)
   16. base::lapply(data, eval_facets, facets = vars, possible_columns = possible_columns)
   17. ggplot2:::FUN(X[[i]], ...)
   20. tibble:::as_tibble.list(vars)
   21. tibble:::lst_to_tibble(x, .rows, .name_repair, col_lengths(x))
   22. tibble:::recycle_columns(x, .rows, lengths)
   23. tibble::new_tibble(x, nrow = nrow, subclass = NULL)
   24. tibble:::update_tibble_attrs(x, ...)
  
  == testthat results  ===========================================================
  [ OK: 417 | SKIPPED: 11 | WARNINGS: 1 | FAILED: 16 ]
  1. Error: FeatureEffect (method=pdp) works for single output and single feature (@test-FeatureEffect.R#71) 
  2. Error: FeatureEffect (method=pdp) works for single output and 2 features, 2D grid.size (@test-FeatureEffect.R#135) 
  3. Error: FeatureEffect (method=pdp) works for single output and 2 numerical features, 1D grid.size (@test-FeatureEffect.R#163) 
  4. Error: FeatureEffect (method=pdp) works for single output and numerical + categorical feature (@test-FeatureEffect.R#183) 
  5. Error: FeatureEffect (pdp) works for categorical output (@test-FeatureEffect.R#214) 
  6. Error: FeatureEffect (pdp) works for multiple output (@test-FeatureEffect.R#231) 
  7. Error: FeatureEffect (pdp+ice) works for multiple output (@test-FeatureEffect.R#247) 
  8. Error: FeatureEffect (ice) works for single output and single feature (@test-FeatureEffect.R#265) 
  9. Error: FeatureEffect (ice) works for multiple output (@test-FeatureEffect.R#287) 
  1. ...
  
  Error: testthat unit tests failed
  Execution halted