CRAN Package Check Results for Package scs

Last updated on 2019-09-24 07:48:46 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.2-3 7.52 17.61 25.13 OK
r-devel-linux-x86_64-debian-gcc 1.2-3 5.11 14.68 19.79 OK
r-devel-linux-x86_64-fedora-clang 1.2-3 34.57 NOTE
r-devel-linux-x86_64-fedora-gcc 1.2-3 30.78 NOTE
r-devel-windows-ix86+x86_64 1.2-3 46.00 53.00 99.00 OK
r-patched-linux-x86_64 1.2-3 5.49 17.24 22.73 OK
r-patched-solaris-x86 1.2-3 48.00 ERROR
r-release-linux-x86_64 1.2-3 5.40 17.46 22.86 OK
r-release-windows-ix86+x86_64 1.2-3 70.00 58.00 128.00 OK
r-release-osx-x86_64 1.2-3 OK
r-oldrel-windows-ix86+x86_64 1.2-3 40.00 39.00 79.00 OK
r-oldrel-osx-x86_64 1.2-3 OK

Check Details

Version: 1.2-3
Check: compiled code
Result: NOTE
    File ‘scs/libs/scs.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-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 1.2-3
Check: tests
Result: ERROR
     Running ‘test.R’
    Running the tests in ‘tests/test.R’ failed.
    Complete output:
     >
     > library(slam)
     > library(scs)
     >
     > cat(rep("#", 80), "\n", "# SOCP - Test\n", rep("#", 80), "\n", sep = "")
     ################################################################################
     # SOCP - Test
     ################################################################################
     > A <- simple_triplet_matrix(i = 1:4, j = c(1L, 1L, 2L, 3L), v = c(1, -1, -1, -1), nrow = 4L, ncol = 3L)
     > rhs <- c(1.4142135623731, 0, 0, 0)
     > obj <- c(1, 1, 1)
     > cone <- list(f = 1L, l = 0L, q = 3L)
     >
     > sol <- scs(A = A, b = rhs, obj = obj, cone = cone)
     > max(abs(sol$x - c(sqrt(2), -1, -1)))
     [1] 1.199126e-10
     >
     >
     > cat(rep("#", 80), "\n", "# PSD - Test\n", rep("#", 80), "\n", sep = "")
     ################################################################################
     # PSD - Test
     ################################################################################
     > A <- simple_triplet_matrix(
     + i = c(1L, 2L, 3L, 4L, 5L, 7L, 8L, 9L, 1L, 2L, 3L, 5L, 6L, 7L, 8L, 9L, 1L,
     + 2L, 3L, 4L, 5L, 6L, 7L, 8L, 9L),
     + j = c(1L, 1L, 1L, 1L, 1L, 1L, 1L, 1L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 2L, 3L,
     + 3L, 3L, 3L, 3L, 3L, 3L, 3L, 3L),
     + v = c(-7, -15.556349186104, 3, -21, -15.556349186104, 10, 11.3137084989848,
     + 5, 7, -25.4558441227157, 8, 14.142135623731, 22.6274169979695,
     + -10, -14.142135623731, 3, -2, -11.3137084989848, 1, -5, 2.82842712474619,
     + -24.0416305603426, -6, 11.3137084989848, 6), nrow = 9L, ncol = 3L)
     >
     > rhs <- c(33, -12.7279220613579, 26, 14, 12.7279220613579, 56.5685424949238, 91, 14.142135623731, 15)
     > obj <- c(1, -1, 1)
     > cone <- list(f = 0L, l = 0L, s = c(2, 3))
     >
     > sol <- scs(A = A, b = rhs, obj = obj, cone = cone)
    
     *** caught segfault ***
     address 0, cause 'memory not mapped'
    
     Traceback:
     1: scs(A = A, b = rhs, obj = obj, cone = cone)
     An irrecoverable exception occurred. R is aborting now ...
Flavor: r-patched-solaris-x86