Package: WpProj Check: tests New result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [86s/100s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(WpProj) > > testthat::skip_if_not_installed("stats") > library(stats) > > test_check("WpProj") Saving _problems/test-xtyUpdate-742.R Saving _problems/test-xtyUpdate-743.R Saving _problems/test-xtyUpdate-874.R Saving _problems/test-xtyUpdate-875.R [ FAIL 4 | WARN 54 | SKIP 25 | PASS 806 ] ══ Skipped tests (25) ══════════════════════════════════════════════════════════ • On CRAN (18): 'test-WPL0.R:23:3', 'test-WPL0.R:74:3', 'test-WPL0.R:123:3', 'test-WPL1.R:87:3', 'test-WPL1.R:138:3', 'test-WPL1.R:208:3', 'test-WPR2.R:172:3', 'test-WPR2.R:190:3', 'test-WPSA.R:47:3', 'test-WPSA.R:193:3', 'test-WPSA.R:341:3', 'test-WPSA.R:404:3', 'test-WpSLIM.R:142:3', 'test-distanceCompare.R:66:3', 'test-distanceCompare.R:135:3', 'test-parallel.R:22:3', 'test-parallel.R:37:3', 'test-parallel.R:54:3' • Rmosek installed but mosek optimizer not found for tests. (7): 'test-W1L1.R:53:3', 'test-W1L1.R:153:3', 'test-W1L1.R:192:3', 'test-W2IP.R:55:3', 'test-WInftyL1.R:59:3', 'test-WInftyL1.R:148:5', 'test-WInftyL1.R:267:5' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-xtyUpdate.R:742:3'): test sinkhorn xtyupdate ───────────────── Expected `norm(out.same$XtY - out, "F")` < 7e-08. Actual comparison: 0.00000062 >= 0.00000007 Difference: 0.00000055 >= 0 ── Failure ('test-xtyUpdate.R:743:3'): test sinkhorn xtyupdate ───────────────── Expected `norm(out.same$XtY - dat$xty, "F")` < 7e-08. Actual comparison: 0.00000062 >= 0.00000007 Difference: 0.00000055 >= 0 ── Failure ('test-xtyUpdate.R:874:3'): test greenkhorn xtyupdate ─────────────── Expected `norm(out.same$XtY - out, "F")` < 7e-08. Actual comparison: 0.00000062 >= 0.00000007 Difference: 0.00000055 >= 0 ── Failure ('test-xtyUpdate.R:875:3'): test greenkhorn xtyupdate ─────────────── Expected `norm(out.same$XtY - dat$xty, "F")` < 7e-08. Actual comparison: 0.00000062 >= 0.00000007 Difference: 0.00000055 >= 0 [ FAIL 4 | WARN 54 | SKIP 25 | PASS 806 ] Error: ! Test failures. Execution halted