Running ‘testthat.R’ [15s/21s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > suppressMessages(library(testthat))
  > suppressMessages(library(fbar))
  > 
  > test_check("fbar")
  1. Error: toy model 1 (@test-ROI.R#18) -----------------------------------------
  unknown solver status code. Please contact the ROI.plugin.ecos maintainer.
  1: ROI::ROI_solve(model) at testthat/test-ROI.R:18
  2: SOLVE(x, cntrl)
  3: ROI_plugin_canonicalize_solution(solution = x_sol, optimum = optimum, status = out[["retcodes"]]["exitFlag"], 
         solver = solver, message = out)
  4: make_OP_solution(solution = solution, objval = optimum, status = status, solver = solver, 
         message = message, ...)
  5: stop(sprintf("unknown solver status code. Please contact the ROI.plugin.%s maintainer.", 
         solver))
  
  2. Error: toy model 2 (@test-ROI.R#37) -----------------------------------------
  unknown solver status code. Please contact the ROI.plugin.ecos maintainer.
  1: ROI::ROI_solve(model) at testthat/test-ROI.R:37
  2: SOLVE(x, cntrl)
  3: ROI_plugin_canonicalize_solution(solution = x_sol, optimum = optimum, status = out[["retcodes"]]["exitFlag"], 
         solver = solver, message = out)
  4: make_OP_solution(solution = solution, objval = optimum, status = status, solver = solver, 
         message = message, ...)
  5: stop(sprintf("unknown solver status code. Please contact the ROI.plugin.%s maintainer.", 
         solver))
  
  3. Failure: same results on ecoli_core (@test-ROI_plugins.R#26) ----------------
  .$error is not null.
  
  
  4. Failure: same results on iJO1366 (@test-ROI_plugins.R#43) -------------------
  .$error is not null.
  
  
  5. Error: find_fluxes_df gives sensible result with minimization (@test-convenience.R#9) 
  unknown solver status code. Please contact the ROI.plugin.ecos maintainer.
  1: find_fluxes_df(ecoli_core) at testthat/test-convenience.R:9
  2: ROI::ROI_solve(mod1)
  3: SOLVE(x, cntrl)
  4: ROI_plugin_canonicalize_solution(solution = x_sol, optimum = optimum, status = out[["retcodes"]]["exitFlag"], 
         solver = solver, message = out)
  5: make_OP_solution(solution = solution, objval = optimum, status = status, solver = solver, 
         message = message, ...)
  6: stop(sprintf("unknown solver status code. Please contact the ROI.plugin.%s maintainer.", 
         solver))
  
  6. Error: find_fluxes_df gives sensible result without minimization (@test-convenience.R#17) 
  unknown solver status code. Please contact the ROI.plugin.ecos maintainer.
  1: find_fluxes_df(ecoli_core, do_minimization = FALSE) at testthat/test-convenience.R:17
  2: ROI::ROI_solve(mod1)
  3: SOLVE(x, cntrl)
  4: ROI_plugin_canonicalize_solution(solution = x_sol, optimum = optimum, status = out[["retcodes"]]["exitFlag"], 
         solver = solver, message = out)
  5: make_OP_solution(solution = solution, objval = optimum, status = status, solver = solver, 
         message = message, ...)
  6: stop(sprintf("unknown solver status code. Please contact the ROI.plugin.%s maintainer.", 
         solver))
  
  7. Error: find_fluxes_df works in grouped context (@test-full-size.R#12) -------
  unknown solver status code. Please contact the ROI.plugin.ecos maintainer.
  1: find_fluxes_df(iJO1366) at testthat/test-full-size.R:12
  2: ROI::ROI_solve(mod1)
  3: SOLVE(x, cntrl)
  4: ROI_plugin_canonicalize_solution(solution = x_sol, optimum = optimum, status = out[["retcodes"]]["exitFlag"], 
         solver = solver, message = out)
  5: make_OP_solution(solution = solution, objval = optimum, status = status, solver = solver, 
         message = message, ...)
  6: stop(sprintf("unknown solver status code. Please contact the ROI.plugin.%s maintainer.", 
         solver))
  
  testthat results ================================================================
  OK: 24 SKIPPED: 2 FAILED: 7
  1. Error: toy model 1 (@test-ROI.R#18) 
  2. Error: toy model 2 (@test-ROI.R#37) 
  3. Failure: same results on ecoli_core (@test-ROI_plugins.R#26) 
  4. Failure: same results on iJO1366 (@test-ROI_plugins.R#43) 
  5. Error: find_fluxes_df gives sensible result with minimization (@test-convenience.R#9) 
  6. Error: find_fluxes_df gives sensible result without minimization (@test-convenience.R#17) 
  7. Error: find_fluxes_df works in grouped context (@test-full-size.R#12) 
  
  Error: testthat unit tests failed
  Execution halted