CRAN Package Check Results for Package kko

Last updated on 2024-07-21 15:53:36 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 6.07 75.32 81.39 OK
r-devel-linux-x86_64-debian-gcc 1.0.1 6.02 55.72 61.74 OK
r-devel-linux-x86_64-fedora-clang 1.0.1 103.24 OK
r-devel-linux-x86_64-fedora-gcc 1.0.1 107.41 OK
r-devel-windows-x86_64 1.0.1 8.00 90.00 98.00 OK
r-patched-linux-x86_64 1.0.1 8.11 70.06 78.17 OK
r-release-linux-x86_64 1.0.1 6.81 68.95 75.76 OK
r-release-macos-arm64 1.0.1 44.00 OK
r-release-macos-x86_64 1.0.1 70.00 OK
r-release-windows-x86_64 1.0.1 8.00 90.00 98.00 OK
r-oldrel-macos-arm64 1.0.1 49.00 OK
r-oldrel-macos-x86_64 1.0.1 77.00 OK
r-oldrel-windows-x86_64 1.0.1 9.00 378.00 387.00 ERROR

Check Details

Version: 1.0.1
Check: examples
Result: ERROR Running examples in 'kko-Ex.R' failed The error most likely occurred in: > ### Name: KO_evaluation > ### Title: evaluate performance of KKO selection > ### Aliases: KO_evaluation > > ### ** Examples > > library(knockoff) > p=5 # number of predictors > sig_mag=100 # signal strength > n= 100 # sample size > rkernel="laplacian" # kernel choice > s=2 # sparsity, number of nonzero component functions > rk_scale=1 # scaling paramtere of kernel > rfn_range=c(2,3,4) # number of random features > cv_folds=15 # folds of cross-validation in group lasso > n_stb=10 # number of subsampling for importance scores > n_stb_tune=5 # number of subsampling for tuning random feature number > frac_stb=1/2 # fraction of subsample > nCores_para=2 # number of cores for parallelization > X=matrix(rnorm(n*p),n,p)%*%chol(toeplitz(0.3^(0:(p-1)))) # generate design > X_k = create.second_order(X) # generate knockoff > reg_coef=c(rep(1,s),rep(0,p-s)) # regression coefficient > reg_coef=reg_coef*(2*(rnorm(p)>0)-1)*sig_mag > y=X%*% reg_coef + rnorm(n) # response > > kko_fit=kko(X,y,X_k,rfn_range,n_stb_tune,n_stb,cv_folds,frac_stb,nCores_para,rkernel,rk_scale) Error in makePSOCKcluster(names = spec, ...) : Cluster setup failed. 2 of 2 workers failed to connect. Calls: kko -> rk_subsample -> <Anonymous> -> makePSOCKcluster Execution halted Flavor: r-oldrel-windows-x86_64