CRAN Package Check Results for Package NCutYX

Last updated on 2020-08-07 01:49:53 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.1.0 29.01 68.60 97.61 OK
r-devel-linux-x86_64-debian-gcc 0.1.0 23.18 51.25 74.43 OK
r-devel-linux-x86_64-fedora-clang 0.1.0 132.89 NOTE
r-devel-linux-x86_64-fedora-gcc 0.1.0 122.89 NOTE
r-devel-windows-ix86+x86_64 0.1.0 84.00 131.00 215.00 OK
r-patched-linux-x86_64 0.1.0 26.78 66.12 92.90 OK
r-patched-solaris-x86 0.1.0 113.30 ERROR
r-release-linux-x86_64 0.1.0 26.57 66.39 92.96 OK
r-release-macos-x86_64 0.1.0 NOTE
r-release-windows-ix86+x86_64 0.1.0 89.00 151.00 240.00 OK
r-oldrel-macos-x86_64 0.1.0 NOTE
r-oldrel-windows-ix86+x86_64 0.1.0 49.00 117.00 166.00 OK

Check Details

Version: 0.1.0
Check: installed package size
Result: NOTE
     installed size is 6.4Mb
     sub-directories of 1Mb or more:
     data 1.5Mb
     libs 4.0Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.1.0
Check: dependencies in R code
Result: NOTE
    Namespaces in Imports field not imported from:
     ‘MASS’ ‘fields’ ‘mvtnorm’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-solaris-x86, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.1.0
Check: examples
Result: ERROR
    Running examples in ‘NCutYX-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: ancut
    > ### Title: Cluster the Columns of Y into K Groups with the Help of External
    > ### Features X.
    > ### Aliases: ancut
    >
    > ### ** Examples
    >
    > #This sets up the initial parameters for the simulation.
    > library(MASS)#for mvrnorm
    > library(fields)
    Loading required package: spam
    Loading required package: dotCall64
    Loading required package: grid
    Spam version 2.5-1 (2019-12-12) is loaded.
    Type 'help( Spam)' or 'demo( spam)' for a short introduction
    and overview of this package.
    Help for individual functions is also obtained by adding the
    suffix '.spam' to the function name, e.g. 'help( chol.spam)'.
    
    Attaching package: ‘spam’
    
    The following objects are masked from ‘package:base’:
    
     backsolve, forwardsolve
    
    Loading required package: maps
    See https://github.com/NCAR/Fields for
     an extensive vignette, other supplements and source code
    > n=30 #Sample size
    > B=50 #Number of iterations in the simulated annealing algorithm.
    > L=10000 #Temperature coefficient.
    > p=50 #Number of columns of Y.
    > q=p #Number of columns of X.
    > h1=0.15
    > h2=0.25
    >
    > S=matrix(0.2,q,q)
    > S[1:(q/2),(q/2+1):q]=0
    > S[(q/2+1):q,1:(q/2)]=0
    > S=S-diag(diag(S))+diag(q)
    >
    > mu=rep(0,q)
    >
    > W0=matrix(1,p,p)
    > W0[1:(p/2),1:(p/2)]=0
    > W0[(p/2+1):p,(p/2+1):p]=0
    > Denum=sum(W0)
    >
    > B2=matrix(0,q,p)
    > for (i in 1:(p/2)){
    + B2[1:(q/2),i]=runif(q/2,h1,h2)
    + in1=sample.int(q/2,6)
    + B2[-in1,i]=0
    + }
    >
    > for (i in (p/2+1):p){
    + B2[(q/2+1):q,i]=runif(q/2,h1,h2)
    + in2=sample(seq(q/2+1,q),6)
    + B2[-in2,i]=0
    + }
    >
    > X=mvrnorm(n, mu, S)
    > Z=X%*%B2
    > Y=Z+matrix(rnorm(n*p,0,1),n,p)
    > #Our method
    > Res=ancut(Y=Y,X=X,B=B,L=L,alpha=0,ncv=3)
    Error in if (J2 > J) { : missing value where TRUE/FALSE needed
    Calls: ancut
    Execution halted
Flavor: r-patched-solaris-x86