Running ‘tinytest.R’ [0s/1s]
Running the tests in ‘tests/tinytest.R’ failed.
Complete output:
  > if (requireNamespace("tinytest", quietly = TRUE))
  +     tinytest.results <- tinytest::test_package("NMOF")
  
  Running test_portfolio.R..............    0 tests    Loading required namespace: quadprog
  
  Running test_portfolio.R..............    0 tests    
  Running test_portfolio.R..............    1 tests [0;32mOK[0m 
  Running test_portfolio.R..............    2 tests [0;32mOK[0m 
  Running test_portfolio.R..............    3 tests [0;32mOK[0m 
  Running test_portfolio.R..............    4 tests [0;32mOK[0m 
  Running test_portfolio.R..............    4 tests [0;32mOK[0m 
  Running test_portfolio.R..............    5 tests [0;32mOK[0m 
  Running test_portfolio.R..............    6 tests [0;32mOK[0m 
  Running test_portfolio.R..............    7 tests [0;32mOK[0m 
  Running test_portfolio.R..............    8 tests [0;32mOK[0m 
  Running test_portfolio.R..............    9 tests [0;32mOK[0m 
  Running test_portfolio.R..............   10 tests [0;32mOK[0m 
  Running test_portfolio.R..............   10 tests [0;32mOK[0m 
  Running test_portfolio.R..............   11 tests [0;32mOK[0m 
  Running test_portfolio.R..............   12 tests [0;32mOK[0m 
  Running test_portfolio.R..............   13 tests [0;32mOK[0m 
  Running test_portfolio.R..............   14 tests [0;32mOK[0m 
  Running test_portfolio.R..............   15 tests [0;32mOK[0m 
  Running test_portfolio.R..............   16 tests [0;32mOK[0m 
  Running test_portfolio.R..............   17 tests [0;32mOK[0m 
  Running test_portfolio.R..............   17 tests [0;32mOK[0m 
  Running test_portfolio.R..............   17 tests [0;32mOK[0m 
  Running test_portfolio.R..............   17 tests [0;32mOK[0m 
  Running test_portfolio.R..............   17 tests [0;32mOK[0m 
  Running test_portfolio.R..............   17 tests [0;32mOK[0m 
  Running test_portfolio.R..............   17 tests [0;32mOK[0m 
  Running test_portfolio.R..............   17 tests [0;32mOK[0m 
  Running test_portfolio.R..............   18 tests [0;32mOK[0m 
  Running test_portfolio.R..............   18 tests [0;32mOK[0m 
  Running test_portfolio.R..............   19 tests [0;32mOK[0m 
  Running test_portfolio.R..............   19 tests [0;32mOK[0m 
  Running test_portfolio.R..............   19 tests [0;32mOK[0m 
  Running test_portfolio.R..............   19 tests [0;32mOK[0m 
  Running test_portfolio.R..............   19 tests [0;32mOK[0m 
  Running test_portfolio.R..............   20 tests [0;31m1 fails[0m 
  Running test_portfolio.R..............   21 tests [0;31m1 fails[0m 
  Running test_portfolio.R..............   22 tests [0;31m1 fails[0m 
  Running test_portfolio.R..............   23 tests [0;31m1 fails[0m 
  Running test_portfolio.R..............   23 tests [0;31m1 fails[0m 
  Running test_portfolio.R..............   24 tests [0;31m2 fails[0m 
  Running test_portfolio.R..............   25 tests [0;31m2 fails[0m 
  Running test_portfolio.R..............   26 tests [0;31m2 fails[0m 
  Running test_portfolio.R..............   27 tests [0;31m2 fails[0m 
  Running test_portfolio.R..............   28 tests [0;31m2 fails[0m [0;34m0.1s[0m
  ----- FAILED[data]: test_portfolio.R<94--94>
   call| expect_true(sol1[1] >= 0.25)
   diff| Expected TRUE, got FALSE
  ----- FAILED[data]: test_portfolio.R<107--107>
   call| expect_true(sol2[1] >= 0.25)
   diff| Expected TRUE, got FALSE
  Error: 2 out of 28 tests failed
  Execution halted