CRAN Package Check Results for Package Rdsdp

Last updated on 2024-03-28 10:49:45 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.5.2.1 25.68 27.67 53.35 OK
r-devel-linux-x86_64-debian-gcc 1.0.5.2.1 24.30 21.73 46.03 OK
r-devel-linux-x86_64-fedora-clang 1.0.5.2.1 69.16 OK
r-devel-linux-x86_64-fedora-gcc 1.0.5.2.1 80.73 OK
r-devel-windows-x86_64 1.0.5.2.1 34.00 390.00 424.00 ERROR
r-patched-linux-x86_64 1.0.5.2.1 30.64 26.82 57.46 OK
r-release-linux-x86_64 1.0.5.2.1 28.43 26.40 54.83 OK
r-release-macos-arm64 1.0.5.2.1 31.00 OK
r-release-macos-x86_64 1.0.5.2.1 58.00 OK
r-release-windows-x86_64 1.0.5.2.1 35.00 54.00 89.00 OK
r-oldrel-macos-arm64 1.0.5.2.1 36.00 OK
r-oldrel-windows-x86_64 1.0.5.2.1 39.00 70.00 109.00 OK

Check Details

Version: 1.0.5.2.1
Check: tests
Result: ERROR Running 'test1.R' [170s] Running 'test2.R' [0s] Running 'test3.R' [168s] Running the tests in 'tests/test1.R' failed. Complete output: > # Test a simple example (Sanity check) > library(Rdsdp) > > # Sedumi format example > K=c() > K$s=c(2,3) > K$l=2 > > C=matrix(c(0,0,2,1,1,2,c(3,0,1, + 0,2,0, + 1,0,3)),1,15,byrow=TRUE) > A=matrix(c(0,1,0,0,0,0,c(3,0,1, + 0,4,0, + 1,0,5), + 1,0,3,1,1,3,rep(0,9)), 2,15,byrow=TRUE) > b <- c(1,2) > C=-C > > ret = dsdp(A,b,C,K) Iter PP Objective DD Objective PInfeas DInfeas Nu StepLength Pnrm --------------------------------------------------------------------------------------- 0 1.00000000e+10 -3.60077894e+11 3.2e+00 3.6e+03 3.6e+11 0.00 0.00 0.00 10 -2.49999819e+00 -2.50000023e+00 4.0e-21 0.0e+00 7.1e-08 1.00 0.04 26.62 12 -2.49999986e+00 -2.50000001e+00 3.2e-22 0.0e+00 3.3e-09 1.00 0.11 9.10 > stopifnot(all.equal(ret$y,c(-1.0,-0.75),tolerance=1e-05)) > > proc.time() user system elapsed 0.21 0.06 0.26 Running the tests in 'tests/test3.R' failed. Complete output: > # Test a simple example > library(Rdsdp) > > # Sedumi format example > K=c() > K$s=c(3) > K$l=0 > OPTIONS=NULL > OPTIONS$gaptol=1e-10 > > A1 = c(2,-0.5,-0.6, -0.5,2,0.4, -0.6,0.4,3) > C = -A1 > # A1 = c(0,1,0, 1,0,0, 0,0,0) > A2 = c(0,0,1, 0,0,0, 1,0,0) > A3 = c(0,0,0, 0,0,1, 0,1,0) > A4 = -c(1,0,0, 0,1,0, 0,0,1) > A=rbind(A2,A3,A4) > b <- -c(0,0,1) > > ret = dsdp(A,b,C,K,OPTIONS) Iter PP Objective DD Objective PInfeas DInfeas Nu StepLength Pnrm --------------------------------------------------------------------------------------- 0 1.00000000e+10 -2.98174193e+11 2.0e+00 3.0e+03 3.0e+11 0.00 0.00 0.00 10 -2.99999999e+00 -3.00000000e+00 1.1e-22 0.0e+00 3.2e-10 1.00 1.00 0.34 13 -3.00000000e+00 -3.00000000e+00 7.0e-25 0.0e+00 2.3e-12 1.00 0.26 3.70 > y = ret$y > > stopifnot(all.equal(y,c(0.6,-0.4,3),tolerance=1e-05)) > > > > > proc.time() user system elapsed 0.21 0.04 0.25 Flavor: r-devel-windows-x86_64