CRAN Package Check Results for Package nloptr

Last updated on 2020-12-04 00:48:28 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2.2.2 8.64 49.86 58.50 OK
r-devel-linux-x86_64-debian-gcc 1.2.2.2 5.37 39.67 45.04 OK
r-devel-linux-x86_64-fedora-clang 1.2.2.2 72.38 OK
r-devel-linux-x86_64-fedora-gcc 1.2.2.2 63.30 OK
r-devel-windows-ix86+x86_64 1.2.2.2 14.00 85.00 99.00 OK
r-patched-linux-x86_64 1.2.2.2 6.19 47.71 53.90 OK
r-patched-solaris-x86 1.2.2.2 237.40 OK
r-release-linux-x86_64 1.2.2.2 6.48 47.94 54.42 OK
r-release-macos-x86_64 1.2.2.2 WARN
r-release-windows-ix86+x86_64 1.2.2.2 12.00 85.00 97.00 OK
r-oldrel-macos-x86_64 1.2.2.2 WARN
r-oldrel-windows-ix86+x86_64 1.2.2.2 11.00 99.00 110.00 ERROR

Check Details

Version: 1.2.2.2
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
     DIRsubrout.c:505:10: warning: explicitly assigning value of variable of type 'integer' (aka 'int') to itself [-Wself-assign]
     hybrid.c:91:12: warning: 'nlopt_minimize' is deprecated [-Wdeprecated-declarations]
     newuoa.c:184:9: warning: 'nlopt_minimize_constrained' is deprecated [-Wdeprecated-declarations]
     newuoa.c:1241:10: warning: 'nlopt_minimize_constrained' is deprecated [-Wdeprecated-declarations]
     general.c:134:38: warning: 'syscall' is deprecated: first deprecated in macOS 10.12 - syscall(2) is unsupported; please switch to a supported interface. For SYS_kdebug_trace use kdebug_signpost(). [-Wdeprecated-declarations]
     ./f77funcs.h:57:14: warning: 'nlopt_minimize_constrained' is deprecated [-Wdeprecated-declarations]
     ./f77funcs.h:96:6: warning: 'nlopt_get_local_search_algorithm' is deprecated [-Wdeprecated-declarations]
     ./f77funcs.h:104:6: warning: 'nlopt_set_local_search_algorithm' is deprecated [-Wdeprecated-declarations]
     ./f77funcs.h:109:13: warning: 'nlopt_get_stochastic_population' is deprecated [-Wdeprecated-declarations]
     ./f77funcs.h:113:6: warning: 'nlopt_set_stochastic_population' is deprecated [-Wdeprecated-declarations]
     testopt.cpp:218:11: warning: 'nlopt_minimize' is deprecated [-Wdeprecated-declarations]
Flavor: r-release-macos-x86_64

Version: 1.2.2.2
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     clang-7: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
     DIRsubrout.c:505:10: warning: explicitly assigning value of variable of type 'integer' (aka 'int') to itself [-Wself-assign]
Flavor: r-oldrel-macos-x86_64

Version: 1.2.2.2
Check: running tests for arch ‘i386’
Result: ERROR
     Running 'test-all.R' [11s]
    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
     -- FAILURE (test-options-maxtime.R:45:5): Test that solver stops when maxtime is
     res$status not equal to 6L.
     1/1 mismatches
     [1] 1 - 6 == -5
    
     == testthat results ===========================================================
     FAILURE (test-options-maxtime.R:45:5): Test that solver stops when maxtime is reached.
    
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 46 ]
     Error: Test failures
     Execution halted
Flavor: r-oldrel-windows-ix86+x86_64