CRAN Package Check Results for Package penalizedSVM

Last updated on 2015-08-31 08:46:59.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1 0.82 21.27 22.09 NOTE
r-devel-linux-x86_64-debian-gcc 1.1 0.77 20.81 21.58 NOTE
r-devel-linux-x86_64-fedora-clang 1.1 42.78 NOTE
r-devel-linux-x86_64-fedora-gcc 1.1 40.26 NOTE
r-devel-osx-x86_64-clang 1.1 40.23 NOTE
r-devel-windows-ix86+x86_64 1.1 6.00 43.00 49.00 NOTE
r-patched-linux-x86_64 1.1 1.22 21.68 22.90 NOTE
r-patched-solaris-sparc 1.1 272.60 NOTE
r-patched-solaris-x86 1.1 61.30 NOTE
r-release-linux-x86_64 1.1 0.85 21.93 22.78 NOTE
r-release-osx-x86_64-mavericks 1.1 NOTE
r-release-windows-ix86+x86_64 1.1 5.00 61.00 66.00 NOTE
r-oldrel-windows-ix86+x86_64 1.1 10.00 59.00 69.00 NOTE

Check Details

Version: 1.1
Check: package dependencies
Result: NOTE
    Depends: includes the non-default packages:
     ‘e1071’ ‘MASS’ ‘corpcor’ ‘statmod’ ‘tgp’ ‘mlegp’ ‘lhs’
    Adding so many packages to the search path is excessive and importing
    selectively is preferable.
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-osx-x86_64-clang, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-linux-x86_64, r-release-osx-x86_64-mavericks, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.1
Check: dependencies in R code
Result: NOTE
    'library' or 'require' calls to packages already attached by Depends:
     ‘MASS’ ‘corpcor’ ‘e1071’ ‘lhs’ ‘mlegp’ ‘statmod’ ‘tgp’
     Please remove these calls from your code.
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-osx-x86_64-clang, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-linux-x86_64, r-release-osx-x86_64-mavericks, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.1
Check: S3 generic/method consistency
Result: NOTE
    Found the following apparent S3 methods exported but not registered:
     predict.penSVM print.1norm.svm print.scad.svm svm.fs svm.fs.default
     svm.fs.default
    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-devel-osx-x86_64-clang, r-patched-linux-x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-linux-x86_64

Version: 1.1
Check: R code for possible problems
Result: NOTE
    .DIRdivide: no visible global function definition for ‘plot’
    .DIRdivide: no visible global function definition for ‘text’
    .DIRdivide: no visible global function definition for ‘legend’
    .DrHSVM.initial: no visible global function definition for ‘optimize’
    .EstNuLong: no visible global function definition for ‘runif’
    .erf: no visible global function definition for ‘pnorm’
    .plot.EPSGO.parms: no visible global function definition for ‘par’
    .plot.EPSGO.parms: no visible global function definition for ‘plot’
    .plot.EPSGO.parms: no visible global function definition for ‘abline’
    .plot.EPSGO.parms: no visible global function definition for ‘text’
    .replaceinf: no visible global function definition for ‘fcn_values<-’
    .run.cv: no visible global function definition for ‘predict’
    .run.discrete: no visible global function definition for ‘str’
    Direct: no visible global function definition for ‘pdf’
    Direct: no visible global function definition for ‘par’
    Direct: no visible global function definition for ‘dev.off’
    EPSGO: no visible global function definition for ‘pdf’
    EPSGO: no visible global function definition for ‘par’
    EPSGO: no visible global function definition for ‘plot’
    EPSGO: no visible global function definition for ‘abline’
    EPSGO: no visible global function definition for ‘text’
    EPSGO: no visible global function definition for ‘runif’
    EPSGO: no visible global function definition for ‘sd’
    EPSGO: no visible global function definition for ‘dev.off’
    ExpImprovement: no visible global function definition for ‘predict’
    ExpImprovement: no visible global function definition for ‘pnorm’
    ExpImprovement: no visible global function definition for ‘dnorm’
    sim.data: no visible global function definition for ‘runif’
    sim.data: no visible global function definition for ‘plogis’
    Undefined global functions or variables:
     abline dev.off dnorm fcn_values<- legend optimize par pdf plogis plot
     pnorm predict runif sd str text
    Consider adding
     importFrom("grDevices", "dev.off", "pdf")
     importFrom("graphics", "abline", "legend", "par", "plot", "text")
     importFrom("stats", "dnorm", "optimize", "plogis", "pnorm", "predict",
     "runif", "sd")
     importFrom("utils", "str")
    to your NAMESPACE.
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

Version: 1.1
Check: Rd line widths
Result: NOTE
    Rd file 'EPSGO.Rd':
     \examples lines wider than 100 characters:
     # computation intensive; for demostration reasons only for the first 100 features
     system.time(fit<-EPSGO(Q.func, bounds=bounds, parms.coding="log2", fminlower=0,
     show='none', N=21, maxevals=500,
     pdf.name=NULL, seed=seed,
     # Q.func specific parameters:
     x.svm=t(train$x)[,1:100], y.svm=train$y, inner.val.method="cv" ... [TRUNCATED]
     cross.inner=5, maxIter=10 ))
     print(paste("minimal 5-fold cv error:", fit$fmin, "by log2(lambda1)=", fit$xmin))
    
    Rd file 'predict.Rd':
     \examples lines wider than 100 characters:
     # cross.outer= 0, grid.search = "discrete",
     # lambda1.set=lambda1.1norm, show="none",
     # parms.coding = "none",
     # maxIter = 700, inner.val.method = "cv", cross.inner= 5,
     # seed=seed, verbose=FALSE )
    
    Rd file 'svm.fs.Rd':
     \usage lines wider than 90 characters:
     # chose the search method for tuning lambda1,2: 'interval' or 'discrete'
     # method for the inner validation: cross validation, gacv
     \examples lines wider than 100 characters:
     system.time(scad.fix<- svm.fs(t(train$x)[,1:100], y=train$y, fs.method="scad",
     cross.outer= 0, grid.search = "discrete ... [TRUNCATED]
     lambda1.set=lambda1.scad,
     parms.coding = "none", show="none",
     maxIter = 10, inner.val.method = "cv", ... [TRUNCATED]
     seed=seed, verbose=FALSE) )
     #epsi.set<-vector(); for (num in (1:9)) epsi.set<-sort(c(epsi.set, c(num*10^seq(-5, -1, 1 ))) )
     # cross.outer= 0, grid.search = "discrete ... [TRUNCATED]
     # lambda1.set=lambda1.1norm,
     # parms.coding = "none", show="none",
     # maxIter = 700, inner.val.method = "cv", ... [TRUNCATED]
     # seed=seed, verbose=FALSE )
     system.time( scad<- svm.fs(t(train$x)[,1:100], y=train$y, fs.method="scad", bounds=bounds,
     cross.outer= 0, grid.search = "interval ... [TRUNCATED]
     inner.val.method = "cv", cross.inner= 5 ... [TRUNCATED]
     seed=seed, parms.coding = "log2", show ... [TRUNCATED]
    
    These lines will be truncated in the PDF 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-release-linux-x86_64

Version: 1.1
Check: Rd \usage sections
Result: NOTE
    S3 methods shown with full name in documentation object 'print':
     ‘print.scad.svm’ ‘print.1norm.svm’
    
    The \usage entries for S3 methods should use the \method markup and not
    their full name.
    See chapter ‘Writing R documentation files’ 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-devel-osx-x86_64-clang, r-devel-windows-ix86+x86_64, r-patched-linux-x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-linux-x86_64, r-release-osx-x86_64-mavericks, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.1
Check: R code for possible problems
Result: NOTE
    .replaceinf: no visible global function definition for ‘fcn_values<-’
    Undefined global functions or variables:
     fcn_values<-
Flavor: r-devel-osx-x86_64-clang

Version: 1.1
Check: R code for possible problems
Result: NOTE
    .replaceinf: no visible global function definition for ‘fcn_values<-’
Flavors: r-patched-linux-x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-linux-x86_64, r-release-osx-x86_64-mavericks, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64