Running 'run-base.R' [487s]
Running the tests in 'tests/run-base.R' failed.
Complete output:
  > library(testthat)
  > test_check("mlr", filter = "base_")
  Loading required package: mlr
  Loading required package: ParamHelpers
  
  Attaching package: 'rex'
  
  The following object is masked from 'package:testthat':
  
      matches
  
  -- 1. Error: measures (@test_base_measures.R#53)  ------------------------------
  Please install the following packages: Hmisc
  1: performance(pred, model = mod, task = surv.task, measures = ms) at testthat/test_base_measures.R:53
  2: vnapply(measures, doPerformanceIteration, pred = pred, task = task, model = model, 
         td = NULL, feats = feats)
  3: vapply(X = x, FUN = fun, ..., FUN.VALUE = NA_real_, USE.NAMES = use.names)
  4: FUN(X[[i]], ...)
  5: measure$fun(task, model, pred, feats, m$extra.args)
  6: requirePackages("_Hmisc")
  7: stopf("Please install the following packages: %s", ps)
  
  -- 2. Error: check measure calculations (@test_base_measures.R#756)  -----------
  Please install the following packages: Hmisc
  1: performance(pred.surv, measures = cindex, model = mod.surv) at testthat/test_base_measures.R:756
  2: vnapply(measures, doPerformanceIteration, pred = pred, task = task, model = model, 
         td = NULL, feats = feats)
  3: vapply(X = x, FUN = fun, ..., FUN.VALUE = NA_real_, USE.NAMES = use.names)
  4: FUN(X[[i]], ...)
  5: measure$fun(task, model, pred, feats, m$extra.args)
  6: requirePackages("_Hmisc")
  7: stopf("Please install the following packages: %s", ps)
  
  Error in inDL(x, as.logical(local), as.logical(now), ...) : 
    unable to load shared object 'D:/temp/RtmpYdFIUl/RLIBS_27e5818144191/kknn/libs/x64/kknn.dll':
    `maximal number of DLLs reached...
  -- 3. Error: predict preserves rownames (@test_base_predict.R#92)  -------------
  For learner classif.kknn please install the following packages: kknn
  1: train("classif.kknn", task = task) at testthat/test_base_predict.R:92
  2: checkLearner(learner)
  3: makeLearner(learner)
  4: do.call(constructor, list())
  5: (function () 
     {
         makeRLearnerClassif(cl = "classif.kknn", package = "!kknn", par.set = makeParamSet(makeIntegerLearnerParam(id = "k", 
             default = 7L, lower = 1L), makeNumericLearnerParam(id = "distance", default = 2, 
             lower = 0), makeDiscreteLearnerParam(id = "kernel", default = "optimal", 
             values = list("rectangular", "triangular", "epanechnikov", "biweight", "triweight", 
                 "cos", "inv", "gaussian", "optimal")), makeLogicalLearnerParam(id = "scale", 
             default = TRUE)), properties = c("twoclass", "multiclass", "numerics", "factors", 
             "prob"), name = "k-Nearest Neighbor", short.name = "kknn", callees = "kknn")
     })()
  6: makeRLearnerClassif(cl = "classif.kknn", package = "!kknn", par.set = makeParamSet(makeIntegerLearnerParam(id = "k", 
         default = 7L, lower = 1L), makeNumericLearnerParam(id = "distance", default = 2, 
         lower = 0), makeDiscreteLearnerParam(id = "kernel", default = "optimal", values = list("rectangular", 
         "triangular", "epanechnikov", "biweight", "triweight", "cos", "inv", "gaussian", 
         "optimal")), makeLogicalLearnerParam(id = "scale", default = TRUE)), properties = c("twoclass", 
         "multiclass", "numerics", "factors", "prob"), name = "k-Nearest Neighbor", short.name = "kknn", 
         callees = "kknn")
  7: addClasses(makeRLearnerInternal(cl, "classif", package, par.set, par.vals, properties, 
         name, short.name, note, callees), c(cl, "RLearnerClassif"))
  8: makeRLearnerInternal(cl, "classif", package, par.set, par.vals, properties, name, 
         short.name, note, callees)
  9: requirePackages(package, why = stri_paste("learner", id, sep = " "), default.method = "load")
  10: stopf("For %s please install the following packages: %s", why, ps)
  
  == testthat results  ===========================================================
  OK: 3549 SKIPPED: 0 FAILED: 3
  1. Error: measures (@test_base_measures.R#53) 
  2. Error: check measure calculations (@test_base_measures.R#756) 
  3. Error: predict preserves rownames (@test_base_predict.R#92) 
  
  Error: testthat unit tests failed
  Execution halted