Running 'testthat.R' [23s/26s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > library(testthat)
  > library(trustOptim)
  > 
  > test_check("trustOptim")
  == Failed tests ================================================================
  -- Failure (test_binary.R:46:5): Binary ----------------------------------------
  `norm_gr` not equal to 0.
  1/1 mismatches
  [1] 0.00566 - 0 == 0.00566
  -- Failure (test_binary.R:47:5): Binary ----------------------------------------
  opt0\$status does not match "Success".
  Actual value: "Radius of trust region is less than stop\.trust\.radius"
  Backtrace:
      x
   1. \-testthat::expect_match(opt0$status, "Success") test_binary.R:47:4
   2.   \-testthat:::expect_match_(...)
  
  [ FAIL 2 | WARN 0 | SKIP 0 | PASS 22 ]
  Error: Test failures
  Execution halted
installed size is  7.5Mb
  sub-directories of 1Mb or more:
    libs   7.2Mb
installed size is  9.8Mb
  sub-directories of 1Mb or more:
    libs   9.5Mb
installed size is  9.1Mb
  sub-directories of 1Mb or more:
    libs   8.8Mb
installed size is  9.1Mb
  sub-directories of 1Mb or more:
    libs   8.8Mb