CRAN Package Check Results for Package nloptr

Last updated on 2017-05-27 22:46:23.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.4 3.46 25.06 28.52 NOTE
r-devel-linux-x86_64-debian-gcc 1.0.4 3.18 24.01 27.19 NOTE
r-devel-linux-x86_64-fedora-clang 1.0.4 47.15 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0.4 44.69 NOTE
r-devel-windows-ix86+x86_64 1.0.4 17.00 64.00 81.00 OK
r-patched-linux-x86_64 1.0.4 2.99 23.62 26.61 NOTE
r-patched-solaris-sparc 1.0.4 793.20 ERROR
r-patched-solaris-x86 1.0.4 206.30 OK
r-release-linux-x86_64 1.0.4 3.50 24.25 27.75 NOTE
r-release-windows-ix86+x86_64 1.0.4 10.00 62.00 72.00 OK
r-release-osx-x86_64 1.0.4 OK
r-oldrel-windows-ix86+x86_64 1.0.4 16.00 61.00 77.00 ERROR
r-oldrel-osx-x86_64 1.0.4 OK

Additional issues

valgrind

Check Details

Version: 1.0.4
Check: compiled code
Result: NOTE
    File ‘nloptr/libs/nloptr.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.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-release-linux-x86_64

Version: 1.0.4
Check: tests
Result: ERROR
     Running ‘test-all.R’ [24s/24s]
    Running the tests in ‘tests/test-all.R’ failed.
    Complete output:
     > if(require("testthat", quietly = TRUE)) {
     + test_check("nloptr")
     + } else {
     + print( "package 'testthat' not available, cannot run unit tests" )
     + }
     Loading required package: nloptr
     Error: nlopt_add_inequality_mconstraint returned NLOPT_INVALID_ARGS.
     1. Failure: Test HS023. (@test-hs023.R#90) -------------------------------------
     res$solution not equal to `solution.opt`.
     1/2 mismatches
     [1] 3 - 1 == 2
    
    
     2. Failure: Test HS023. (@test-hs023.R#95) -------------------------------------
     all(eval_g_ineq(res$solution)$constr <= res$options$tol_constraints_ineq) isn't true.
    
    
     testthat results ================================================================
     OK: 41 SKIPPED: 0 FAILED: 2
     1. Failure: Test HS023. (@test-hs023.R#90)
     2. Failure: Test HS023. (@test-hs023.R#95)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-patched-solaris-sparc

Version: 1.0.4
Check: running tests for arch ‘i386’
Result: ERROR
     Running 'test-all.R' [2s]
    Running the tests in 'tests/test-all.R' failed.
    Last 13 lines of output:
     + print( "package 'testthat' not available, cannot run unit tests" )
     + }
     Loading required package: nloptr
     1. Failure: Test derivative checker. (@test-derivative-checker.R#27) -----------
     sum(res$flag_derivative_warning) not equal to 0.
     1/1 mismatches
     [1] 1 - 0 == 1
    
    
     testthat results ================================================================
     OK: 42 SKIPPED: 0 FAILED: 1
     1. Failure: Test derivative checker. (@test-derivative-checker.R#27)
    
     Error: testthat unit tests failed
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64