Running 'testthat.R'
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(vivid)
  > 
  > test_check("vivid")
  
  Attaching package: 'dplyr'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  The following objects are masked from 'package:stats':
  
      filter, lag
  
  The following objects are masked from 'package:base':
  
      intersect, setdiff, setequal, union
  
  Embedded permutation variable importance method used.
  Calculating interactions...
  Embedded variable importance method used.
  Calculating interactions...
  Generating ice/pdp fits... waiting...
  Finished ice/pdp
  Generating ice/pdp fits... waiting...
  Finished ice/pdp
  Generating ice/pdp fits... waiting...
  Finished ice/pdp
  Generating ice/pdp fits... waiting...
  Finished ice/pdp
  Generating ice/pdp fits... waiting...
  Finished ice/pdp
  Generating ice/pdp fits... waiting...
  Finished ice/pdp
  Generating ice/pdp fits... waiting...
  Finished ice/pdp
  Generating ice/pdp fits... waiting...
  Finished ice/pdp
  Generating ice/pdp fits... waiting...
  Finished ice/pdp
  Generating ice/pdp fits... waiting...
  Finished ice/pdp
  Generating ice/pdp fits... waiting...
  Finished ice/pdp
  Generating ice/pdp fits... waiting...
  Finished ice/pdp
  Generating ice/pdp fits... waiting...
  Finished ice/pdp
  No variable importance mode available.
  Agnostic variable importance method used.
  Calculating interactions...
  Generating ice/pdp fits... waiting...
  Finished ice/pdp
  Generating ice/pdp fits... waiting...
  Finished ice/pdp
  Generating ice/pdp fits... waiting...
  Finished ice/pdp
  Generating ice/pdp fits... waiting...
  Finished ice/pdp
  Generating ice/pdp fits... waiting...
  Finished ice/pdp
  Generating ice/pdp fits... waiting...
  Finished ice/pdp
  Generating ice/pdp fits... waiting...
  Finished ice/pdp
  Generating ice/pdp fits... waiting...
  Finished ice/pdp
  Generating ice/pdp fits... waiting...
  Finished ice/pdp
  No variable importance mode available.
  Agnostic variable importance method used.
  Calculating interactions...
  ── Attaching packages ────────────────────────────────────── tidymodels 0.1.3 ──
  ✔ broom        0.7.9      ✔ rsample      0.1.0 
  ✔ dials        0.0.10     ✔ tibble       3.1.4 
  ✔ ggplot2      3.3.5      ✔ tidyr        1.1.3 
  ✔ infer        1.0.0      ✔ tune         0.1.6 
  ✔ modeldata    0.1.1      ✔ workflows    0.2.3 
  ✔ parsnip      0.1.7      ✔ workflowsets 0.1.0 
  ✔ purrr        0.3.4      ✔ yardstick    0.0.8 
  ✔ recipes      0.1.16     
  ── Conflicts ───────────────────────────────────────── tidymodels_conflicts() ──
  ✖ purrr::discard()        masks scales::discard()
  ✖ dplyr::filter()         masks stats::filter()
  ✖ purrr::is_null()        masks testthat::is_null()
  ✖ dplyr::lag()            masks stats::lag()
  ✖ tidyr::matches()        masks rsample::matches(), dplyr::matches(), testthat::matches()
  ✖ rsample::permutations() masks e1071::permutations()
  ✖ recipes::step()         masks stats::step()
  ✖ tune::tune()            masks e1071::tune()
  • Use tidymodels_prefer() to resolve common conflicts.
  randomForest 4.6-14
  Type rfNews() to see new features/changes/bug fixes.
  
  Attaching package: 'randomForest'
  
  The following object is masked from 'package:ggplot2':
  
      margin
  
  The following object is masked from 'package:dplyr':
  
      combine
  
  The following object is masked from 'package:ranger':
  
      importance
  
  
  Attaching package: 'MASS'
  
  The following object is masked from 'package:dplyr':
  
      select
  
  Loading required package: ParamHelpers
  Warning message: 'mlr' is in 'maintenance-only' mode since July 2019.
  Future development will only happen in 'mlr3'
  (<https://mlr3.mlr-org.com>). Due to the focus on 'mlr3' there might be
  uncaught bugs meanwhile in {mlr} - please consider switching.
  
  Attaching package: 'mlr'
  
  The following object is masked from 'package:e1071':
  
      impute
  
  The following objects are masked from 'package:mlr3':
  
      benchmark, resample
  
  No variable importance mode available.
  Agnostic variable importance method used.
  Calculating interactions...
  No variable importance mode available.
  Agnostic variable importance method used.
  Calculating interactions...
  Agnostic variable importance method used.
  Calculating interactions...
  No variable importance mode available.
  Agnostic variable importance method used.
  Calculating interactions...
  Embedded impurity variable importance method used.
  Calculating interactions...
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  Embedded impurity variable importance method used.
  Calculating interactions...
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  logits not available, as probabilites are not available.
  Agnostic variable importance method used.
  Calculating interactions...
  No importanceType selected. Returning IncNodePurity importance values
  Calculating interactions...
  IncNodePurity importance selected.
  Calculating interactions...
  %IncMSE importance selected.
  Calculating interactions...
  No importanceType selected. Returning IncNodePurity importance values
  Calculating interactions...
  Agnostic variable importance method used.
  Flashlight importance works for numeric and numeric binary response only; setting importance to 1.
  Calculating interactions...
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error (test_vivi.R:68:3): Works for old mlr models ──────────────────────────
  Error: there is no package called 'XML'
  Backtrace:
       █
    1. ├─mlr::makeLearner("regr.randomForest", importance = TRUE) test_vivi.R:68:2
    2. │ ├─base::do.call(constructor, list())
    3. │ └─(function () ...
    4. │   └─mlr::makeRLearnerRegr(...)
    5. │     ├─BBmisc::addClasses(...)
    6. │     └─mlr:::makeRLearnerInternal(...)
    7. │       └─mlr:::makeParamHelpList(callees, package, par.set)
    8. └─base::loadNamespace(x)
    9.   └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL)
   10.     └─base:::withOneRestart(expr, restarts[[1L]])
   11.       └─base:::doWithOneRestart(return(expr), restart)
  
  [ FAIL 1 | WARN 0 | SKIP 0 | PASS 61 ]
  Error: Test failures
  Execution halted