Running 'testthat.R' [98s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > 
  > library("checkmate")
  > library("testthat")
  > library("ParamHelpers")
  > library("mlr")
  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.
  > library("mlrCPO")
  > 
  > test_check("mosmafs")
  Loading required package: mosmafs
  Loading required package: ecr
  Loading required package: BBmisc
  
  Attaching package: 'BBmisc'
  
  The following object is masked from 'package:base':
  
      isFALSE
  
  Loading required package: smoof
  
  Attaching package: 'ecr'
  
  The following objects are masked from 'package:BBmisc':
  
      explode, normalize
  
  The following object is masked from 'package:testthat':
  
      setup
  
  The following object is masked from 'package:utils':
  
      toLatex
  
  
  Attaching package: 'mosmafs'
  
  The following objects are masked from 'package:ecr':
  
      getPopulations, getStatistics
  
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 456 ]
  
  ══ Failed tests ════════════════════════════════════════════════════════════════
  ── Error ('test_objective.R:172:3'): makeBaselineObjective ─────────────────────
  Error in `requirePackages(c("mco", "emoa"), why = "multi-objective optimization")`: For multi-objective optimization please install the following packages: mco
  Backtrace:
       ▆
    1. ├─... %>% setMBOControlTermination(iters = 1) at test_objective.R:172:2
    2. ├─mlrMBO::setMBOControlTermination(., iters = 1)
    3. │ └─checkmate::assertClass(control, "MBOControl")
    4. │   └─checkmate::checkClass(x, classes, ordered, null.ok)
    5. ├─mlrMBO::setMBOControlInfill(., makeMBOInfillCritDIB())
    6. │ └─checkmate::assertClass(control, "MBOControl")
    7. │   └─checkmate::checkClass(x, classes, ordered, null.ok)
    8. └─mlrMBO::makeMBOControl(n.objectives = 2)
    9.   └─mlrMBO::setMBOControlMultiObj(control)
   10.     └─BBmisc::requirePackages(c("mco", "emoa"), why = "multi-objective optimization")
   11.       └─BBmisc::stopf(...)
  
  [ FAIL 1 | WARN 1 | SKIP 0 | PASS 456 ]
  Error: Test failures
  Execution halted