CRAN Package Check Results for Package spa

Last updated on 2019-04-22 07:47:03 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0 3.42 28.60 32.02 ERROR
r-devel-linux-x86_64-debian-gcc 2.0 2.61 22.84 25.45 ERROR
r-devel-linux-x86_64-fedora-clang 2.0 38.55 ERROR
r-devel-linux-x86_64-fedora-gcc 2.0 36.96 ERROR
r-devel-windows-ix86+x86_64 2.0 10.00 39.00 49.00 ERROR
r-patched-linux-x86_64 2.0 3.51 28.18 31.69 ERROR
r-patched-solaris-x86 2.0 68.70 ERROR
r-release-linux-x86_64 2.0 2.21 28.81 31.02 NOTE
r-release-windows-ix86+x86_64 2.0 5.00 57.00 62.00 NOTE
r-release-osx-x86_64 2.0 NOTE
r-oldrel-windows-ix86+x86_64 2.0 4.00 57.00 61.00 NOTE
r-oldrel-osx-x86_64 2.0 NOTE

Check Details

Version: 2.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: 2.0
Check: R code for possible problems
Result: NOTE
    plot.spa: no visible global function definition for 'plot'
    plot.spa: no visible global function definition for 'lines'
    plot.spa: no visible global function definition for 'points'
    plot.spa: no visible global function definition for 'gray'
    plot.spa: no visible global function definition for 'box'
    predict.spa: no visible global function definition for 'fitted'
    predict.spa: no visible global function definition for 'coef'
    spa.gcv: no visible global function definition for 'density'
    spa.gcv: no visible global function definition for 'quantile'
    spa.sim: no visible global function definition for 'runif'
    spa.sim: no visible global function definition for 'rnorm'
    spa.sim: no visible global function definition for 'rbinom'
    update.spa: no visible global function definition for 'quantile'
    Undefined global functions or variables:
     box coef density fitted gray lines plot points quantile rbinom rnorm
     runif
    Consider adding
     importFrom("grDevices", "gray")
     importFrom("graphics", "box", "lines", "plot", "points")
     importFrom("stats", "coef", "density", "fitted", "quantile", "rbinom",
     "rnorm", "runif")
    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: 2.0
Check: Rd line widths
Result: NOTE
    Rd file 'predict.spa.Rd':
     \examples lines wider than 100 characters:
     title(switch(attr(dat,"type"),moon="Two Moon Simulated Data",supervised="Supervised Border Simulated set"))
    
    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: 2.0
Check: examples
Result: ERROR
    Running examples in 'spa-Ex.R' failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: predict.spa
    > ### Title: Inductive Predict Procedure For SPA
    > ### Aliases: predict.spa
    > ### Keywords: classes models methods
    >
    > ### ** Examples
    >
    > ## Use simulated example (two moon) and generate a contour plot of the border
    > set.seed(100)
    > dat=spa.sim(type="moon")
    >
    > L=which(!is.na(dat$y))
    > U=which(is.na(dat$y))
    > Dij=as.matrix(daisy(dat[,-1]))
    >
    > ##Use spa to train with a supervised/transductive kernel smoother
    > gsup<-spa(dat$y[L],graph=Dij[L,L],control=spa.control(gcv="lGCV"))
    Error in if (g1 < g2) { : missing value where TRUE/FALSE needed
    Calls: spa -> spa.gcv
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64

Version: 2.0
Check: examples
Result: ERROR
    Running examples in ‘spa-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: predict.spa
    > ### Title: Inductive Predict Procedure For SPA
    > ### Aliases: predict.spa
    > ### Keywords: classes models methods
    >
    > ### ** Examples
    >
    > ## Use simulated example (two moon) and generate a contour plot of the border
    > set.seed(100)
    > dat=spa.sim(type="moon")
    >
    > L=which(!is.na(dat$y))
    > U=which(is.na(dat$y))
    > Dij=as.matrix(daisy(dat[,-1]))
    >
    > ##Use spa to train with a supervised/transductive kernel smoother
    > gsup<-spa(dat$y[L],graph=Dij[L,L],control=spa.control(gcv="lGCV"))
    Error in if (g1 < g2) { : missing value where TRUE/FALSE needed
    Calls: spa -> spa.gcv
    Execution halted
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64, r-patched-solaris-x86