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

Package required but not available: 'AMORE'

See section 'The DESCRIPTION file' in the 'Writing R Extensions'
manual.
Package required but not available: ‘AMORE’

Imports includes 23 non-default packages.
Importing from so many packages makes the package vulnerable to any of
them becoming unavailable.  Move as many as possible to Suggests and
use conditionally.

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
Packages required but not available: 'cairoDevice', 'gWidgets2RGtk2'

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.

'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
File ‘gdmp/libs/gdmp.so’:
  Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’

It is good practice to register native routines and to disable symbol
search.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
'LazyData' is specified without a 'data' directory
File ‘gdmp/libs/gdmp.so’:
  Found no calls to: ‘R_registerRoutines’, ‘R_useDynamicSymbols’

It is good practice to register native routines and to disable symbol
search.

See ‘Writing portable packages’ in the ‘Writing R Extensions’ manual.
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory
'LazyData' is specified without a 'data' directory