CRAN Package Check Results for Package pass

Last updated on 2018-06-17 19:49:51 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0 0.91 21.73 22.64 ERROR
r-devel-linux-x86_64-debian-gcc 1.0 0.96 17.25 18.21 ERROR
r-devel-linux-x86_64-fedora-clang 1.0 26.57 NOTE
r-devel-linux-x86_64-fedora-gcc 1.0 24.99 NOTE
r-devel-windows-ix86+x86_64 1.0 4.00 31.00 35.00 NOTE
r-patched-linux-x86_64 1.0 1.08 20.40 21.48 ERROR
r-patched-solaris-x86 1.0 38.20 NOTE
r-release-linux-x86_64 1.0 1.31 20.40 21.71 ERROR
r-release-windows-ix86+x86_64 1.0 4.00 34.00 38.00 NOTE
r-release-osx-x86_64 1.0 NOTE
r-oldrel-windows-ix86+x86_64 1.0 2.00 40.00 42.00 NOTE
r-oldrel-osx-x86_64 1.0 NOTE

Check Details

Version: 1.0
Check: DESCRIPTION meta-information
Result: NOTE
    Malformed Description field: should contain one or more complete sentences.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 1.0
Check: S3 generic/method consistency
Result: NOTE
    Found the following apparent S3 methods exported but not registered:
     plot.pass print.pass
    See section ‘Registering S3 methods’ in the ‘Writing R Extensions’
    manual.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64

Version: 1.0
Check: R code for possible problems
Result: NOTE
    pass: no visible global function definition for ‘predict’
    plot.pass: no visible global function definition for ‘par’
    plot.pass: no visible global function definition for ‘plot’
    Undefined global functions or variables:
     par plot predict
    Consider adding
     importFrom("graphics", "par", "plot")
     importFrom("stats", "predict")
    to your NAMESPACE file.
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-windows-ix86+x86_64, r-release-osx-x86_64, r-oldrel-windows-ix86+x86_64, r-oldrel-osx-x86_64

Version: 1.0
Check: examples
Result: ERROR
    Running examples in ‘pass-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: pass
    > ### Title: Prediction and Stability Selection of Tuning Parameters
    > ### Aliases: pass print.pass plot.pass
    >
    > ### ** Examples
    >
    >
    > library(MASS)
    > library(lars)
    > library(ncvreg)
    >
    > beta=c(3,1.5,0,0,2,0,0,0)
    > p=8
    > n=100
    > sigma=1
    > rho=0.5
    >
    > set.seed(100)
    > x=matrix(0, n, p)
    > x[,1]<-rnorm(n, 0, 1)
    > for (i in 2:p) x[,i]<-rho*x[,i-1]+sqrt(1-rho^2)*rnorm(n, 0, 1)
    > y=x%*%beta+sigma*rnorm(n, 0, 1)
    > data<-cbind(x,y)
    >
    > lambda.grid=10^seq(-2,2,length=20)
    > results<-pass(data=data, base="LASSO", lambda.grid=lambda.grid, num.grid=20, num.split=20)
    > print(results)
    $lambda.grid
     [1] 0.01000000 0.01623777 0.02636651 0.04281332 0.06951928
     [6] 0.11288379 0.18329807 0.29763514 0.48329302 0.78475997
    [11] 1.27427499 2.06913808 3.35981829 5.45559478 8.85866790
    [16] 14.38449888 23.35721469 37.92690191 61.58482111 100.00000000
    
    $alpha
    [1] 0.1
    
    $base
    [1] "LASSO"
    
    $pass.values
     [1] -0.61621160 -0.68204640 -0.52133683 -0.37043903 -0.24355235 -0.16246667
     [7] 0.03215725 0.17204187 0.23497962 0.29096183 0.33641525 0.48958752
    [13] 0.50791579 0.35603254 0.15893821 0.06692801 0.04165713 -0.04935058
    [19] -0.04935058 -0.04935058
    
    $kappa.values
     [1] -0.9000000 -1.0000000 -0.7500000 -0.5500000 -0.3379121 -0.2271429
     [7] 0.0452381 0.2374451 0.3009395 0.3796767 0.4648529 0.7029412
    [13] 0.9000000 0.9500000 0.7892857 0.6308425 0.7000000 -1.0000000
    [19] -1.0000000 -1.0000000
    
    $lambda.pass
    [1] 3.359818
    
    $lambda.kappa
    [1] 3.359818
    
    $beta.kappa
    [1] 2.9558668 0.9032691 0.0000000 0.0000000 1.5692925 0.0000000 0.0000000
    [8] 0.0000000
    
    $beta.pass
    [1] 2.9558668 0.9032691 0.0000000 0.0000000 1.5692925 0.0000000 0.0000000
    [8] 0.0000000
    
    $subset.kappa
    [1] 1 2 5
    
    $subset.pass
    [1] 1 2 5
    
    attr(,"class")
    [1] "pass"
    > plot(results)
    Error in xy.coords(x, y, xlabel, ylabel, log) :
     'x' is a list, but does not have components 'x' and 'y'
    Calls: plot -> plot.default -> xy.coords
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64