Running ‘testthat.R’ [10s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(mixsqp)
  > test_check("mixsqp")
  ── 1. Error: mix-SQP and KWDual return the same solution for 1000 x 10 likelihoo
  Unknown exported object. Please use 'Rmosek::mosek_attachbuilder' to complete the installation of Rmosek.
  1: mixkwdual(L) at testthat/test_mixsqp.R:88
  2: REBayes::KWDual(L, d, w, ...)
  3: Rmosek::mosek(P, opts = list(verbose = verb))
  4: stop(msg)
  
  ── 2. Error: mix-SQP & KWDual return the same solution for 1000 x 10 likelihood 
  Unknown exported object. Please use 'Rmosek::mosek_attachbuilder' to complete the installation of Rmosek.
  1: mixkwdual(L, w) at testthat/test_mixsqp.R:116
  2: REBayes::KWDual(L, d, w, ...)
  3: Rmosek::mosek(P, opts = list(verbose = verb))
  4: stop(msg)
  
  ── 3. Error: mix-SQP gives correct solution for "short and fat" matrix, even whe
  Unknown exported object. Please use 'Rmosek::mosek_attachbuilder' to complete the installation of Rmosek.
  1: mixkwdual(L) at testthat/test_mixsqp.R:192
  2: REBayes::KWDual(L, d, w, ...)
  3: Rmosek::mosek(P, opts = list(verbose = verb))
  4: stop(msg)
  
  ── 4. Error: mix-SQP converges, and outputs correct solution, for example in whi
  Unknown exported object. Please use 'Rmosek::mosek_attachbuilder' to complete the installation of Rmosek.
  1: mixkwdual(L) at testthat/test_mixsqp.R:225
  2: REBayes::KWDual(L, d, w, ...)
  3: Rmosek::mosek(P, opts = list(verbose = verb))
  4: stop(msg)
  
  ══ testthat results  ═══════════════════════════════════════════════════════════
  OK: 28 SKIPPED: 0 FAILED: 4
  1. Error: mix-SQP and KWDual return the same solution for 1000 x 10 likelihood matrix (@test_mixsqp.R#88) 
  2. Error: mix-SQP & KWDual return the same solution for 1000 x 10 likelihood matrix with unequal row weights (@test_mixsqp.R#116) 
  3. Error: mix-SQP gives correct solution for "short and fat" matrix, even when linear systems in active-set method are not necessarily s.p.d. (@test_mixsqp.R#192) 
  4. Error: mix-SQP converges, and outputs correct solution, for example in which the "dual residual" never reaches exactly zero (@test_mixsqp.R#225) 
  
  Error: testthat unit tests failed
  Execution halted