Closed jeroenrook closed 2 years ago
Thanks Jeroen. Do you have any idea why test-coverage fails? It seems to be reticulate/python issue.
Did that test ran on my system? I that case it had to do with conflicting architectures. R uses arm64 and Python X86_64 which causes problems when one calls the other internally. I changed Python now to a version that is based on arm64 and that works:
ℹ Loading smoof
Loading required package: ParamHelpers
Loading required package: checkmate
ℹ Testing smoof
✔ | F W S OK | Context
✔ | 7 | Expected Running Time
✔ | 20 | conversion of minimization to maximization problem and vice versa
✔ | 6 | counting evaluations
✔ | 18 | function filtering works well [0.2s]
✔ | 99 | test some getter and setter functions [0.6s]
✔ | 6 | isMultiobjective/isSingleObjective
✔ | 89 | logging x and y values
✔ | 7 | makeFunctionsByName helper
✔ | 2 | makeMultiObjectiveFunction
✔ | 54 | makeSingleObjectiveFunction
✔ | 59 | autoplot function [2.4s]
✔ | 4 | shortcut functions, i.e., snof and smof
✔ | 1719 | single-objective test functions [4.7s]
✔ | 5 | violatesConstraints
══ Result ════════════════════════════════════════════════
Duration: 8.2 s
[ FAIL 0 | WARN 0 | SKIP 0 | PASS 2095 ]
No, the test runs on the CI-system. However, you did not change anything in the CI-system configuration. Let's merge now and deal with it later.
Succesfully ran tests with devtools::test() after changes