CRAN Package Check Results for Package ConConPiWiFun

Last updated on 2014-09-02 03:49:34.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.4.2 9.41 21.20 30.61 OK
r-devel-linux-x86_64-debian-gcc 0.4.2 14.11 20.92 35.04 OK
r-devel-linux-x86_64-fedora-clang 0.4.2 70.45 NOTE
r-devel-linux-x86_64-fedora-gcc 0.4.2 71.07 OK
r-devel-osx-x86_64-clang 0.4.2 56.02 OK
r-devel-windows-ix86+x86_64 0.4.2 46.00 47.00 93.00 ERROR
r-patched-linux-x86_64 0.4.2 14.32 22.99 37.31 OK
r-patched-solaris-sparc 0.4.2 503.40 OK
r-patched-solaris-x86 0.4.2 95.30 OK
r-release-linux-ix86 0.4.2 19.06 29.58 48.64 OK
r-release-linux-x86_64 0.4.2 14.40 22.45 36.85 OK
r-release-osx-x86_64-mavericks 0.4.2 OK
r-release-osx-x86_64-snowleopard 0.4.2 OK
r-release-windows-ix86+x86_64 0.4.2 55.00 55.00 110.00 OK
r-oldrel-windows-ix86+x86_64 0.4.2 43.00 68.00 111.00 OK

Check Details

Version: 0.4.2
Check: installed package size
Result: NOTE
     installed size is 5.3Mb
     sub-directories of 1Mb or more:
     libs 5.1Mb
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.4.2
Check: running examples for arch 'i386'
Result: ERROR
    Running examples in 'ConConPiWiFun-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: cplfunctionvec
    > ### Title: This class implements "optimized list" of continuous convex
    > ### piecewise linear functions
    > ### Aliases: cplfunctionvec Rcpp_cplfunctionvec-class
    > ### SerialOptimPriceStorage OptimPriceStorage
    > ### show,Rcpp_cplfunctionvec-method
    > ### Keywords: ~kwd1 ~kwd2
    >
    > ### ** Examples
    >
    >
    >
    > #### function OptimPriceStorage solves
    > # min_x sum_i=1^n Y_i x_i
    > # Pmoins_i<= x_i <=Pplus_i i=1,...,n
    > # Cmoins_i<= sum_j=1^i x_j <=Cplus_i i=1,...,n
    >
    > n=10000; Y=runif(n,0,10); B0=array(-Inf,n);
    > Pmoins=array(-1,n);Pplus=array(1,n);Cmoins=array(0,n);Cplus=array(5,n);
    > res=OptimPriceStorage(Y,Pmoins,Pplus,Cmoins,Cplus)
    >
    > ####
    > # construction of a vector of
    > # continuous convex piecewise linear functions
    >
    > CCPWLfuncList=new(cplfunctionvec)
    > CCPWLfuncList$push_back(new(cplfunction,c(-1,1) ,c(-Inf,0),0))
    > CCPWLfuncList$push_back(new(cplfunction,c(-1,1) ,c(-Inf,0),0))
    >
    > CCPWLfuncList=new(cplfunctionvec)
    > n=1000; Y=rnorm(n); S1=array(-1,n);S2=array(1,n); B0=array(-Inf,n); B1=rnorm(n);
    > for (i in 1:n){
    + CCPWLfuncList$push_back(new(cplfunction,c(S1[i],S2[i]) ,c(B0[i],B1[i]),0))
    + }
    > CCPWLfuncList$size() ## gives the size
    [1] 1000
    > ## The same but faster
    > CCPWLfuncList=new(cplfunctionvec)
    > CCPWLfuncList$SerialPush_2Breaks_Functions(S1,S2,B0,B1);
    >
    > #### method OptimMargInt solves
    > # min_x sum_i=1^n C_i(x_i)
    > # Pmoins_i<= x_i <=Pplus_i i=1,...,n
    > # Cmoins_i<= sum_j=1^i x_j <=Cplus_i i=1,...,n
    >
    > Pmoins=array(-1,n);Pplus=array(1,n);Cmoins=array(0,n);Cplus=array(5,n);
    > res=CCPWLfuncList$OptimMargInt(Pmoins,Pplus,Cmoins,Cplus)
    
    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application's support team for more information.
    Assertion failed!
    
    Program: D:\RCompile\recent\R\bin\i386\Rterm.exe
    File: ../inst/include/cplfunction.hpp, Line 999
    
    Expression: left_val< itbegin->first
Flavor: r-devel-windows-ix86+x86_64

Version: 0.4.2
Check: running examples for arch 'x64'
Result: ERROR
    Running examples in 'ConConPiWiFun-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: cplfunctionvec
    > ### Title: This class implements "optimized list" of continuous convex
    > ### piecewise linear functions
    > ### Aliases: cplfunctionvec Rcpp_cplfunctionvec-class
    > ### SerialOptimPriceStorage OptimPriceStorage
    > ### show,Rcpp_cplfunctionvec-method
    > ### Keywords: ~kwd1 ~kwd2
    >
    > ### ** Examples
    >
    >
    >
    > #### function OptimPriceStorage solves
    > # min_x sum_i=1^n Y_i x_i
    > # Pmoins_i<= x_i <=Pplus_i i=1,...,n
    > # Cmoins_i<= sum_j=1^i x_j <=Cplus_i i=1,...,n
    >
    > n=10000; Y=runif(n,0,10); B0=array(-Inf,n);
    > Pmoins=array(-1,n);Pplus=array(1,n);Cmoins=array(0,n);Cplus=array(5,n);
    > res=OptimPriceStorage(Y,Pmoins,Pplus,Cmoins,Cplus)
    >
    > ####
    > # construction of a vector of
    > # continuous convex piecewise linear functions
    >
    > CCPWLfuncList=new(cplfunctionvec)
    > CCPWLfuncList$push_back(new(cplfunction,c(-1,1) ,c(-Inf,0),0))
    > CCPWLfuncList$push_back(new(cplfunction,c(-1,1) ,c(-Inf,0),0))
    >
    > CCPWLfuncList=new(cplfunctionvec)
    > n=1000; Y=rnorm(n); S1=array(-1,n);S2=array(1,n); B0=array(-Inf,n); B1=rnorm(n);
    > for (i in 1:n){
    + CCPWLfuncList$push_back(new(cplfunction,c(S1[i],S2[i]) ,c(B0[i],B1[i]),0))
    + }
    > CCPWLfuncList$size() ## gives the size
    [1] 1000
    > ## The same but faster
    > CCPWLfuncList=new(cplfunctionvec)
    > CCPWLfuncList$SerialPush_2Breaks_Functions(S1,S2,B0,B1);
    >
    > #### method OptimMargInt solves
    > # min_x sum_i=1^n C_i(x_i)
    > # Pmoins_i<= x_i <=Pplus_i i=1,...,n
    > # Cmoins_i<= sum_j=1^i x_j <=Cplus_i i=1,...,n
    >
    > Pmoins=array(-1,n);Pplus=array(1,n);Cmoins=array(0,n);Cplus=array(5,n);
    > res=CCPWLfuncList$OptimMargInt(Pmoins,Pplus,Cmoins,Cplus)
    
    This application has requested the Runtime to terminate it in an unusual way.
    Please contact the application's support team for more information.
    Assertion failed!
    
    Program: D:\RCompile\recent\R\bin\x64\Rterm.exe
    File: ../inst/include/cplfunction.hpp, Line 999
    
    Expression: left_val< itbegin->first
Flavor: r-devel-windows-ix86+x86_64