Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with new smoof version #10

Open
jakobbossek opened this issue Mar 10, 2023 · 0 comments
Open

Issue with new smoof version #10

jakobbossek opened this issue Mar 10, 2023 · 0 comments

Comments

@jakobbossek
Copy link

Hi,

I had to fix some warnings in the smoof package recently which were raised in the r-devel versions. In this context, I moved the mco package from Imports to Suggests. Reverse dependency checks on CRAN now throw the following error.
Can you please take care in your package and import mco?

Best wishes,
Jakob

══ Failed tests ════════════════════════════════════════════════════════════════
   ── Error ('test_objective.R:172'): 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(...)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant