CRAN Package Check Results for Package spa

Last updated on 2019-03-14 00:46:58 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.0 3.35 28.69 32.04 ERROR
r-devel-linux-x86_64-debian-gcc 2.0 2.49 23.06 25.55 ERROR
r-devel-linux-x86_64-fedora-clang 2.0 38.72 ERROR
r-devel-linux-x86_64-fedora-gcc 2.0 39.74 ERROR
r-devel-windows-ix86+x86_64 2.0 10.00 54.00 64.00 ERROR
r-patched-linux-x86_64 2.0 2.83 29.05 31.88 NOTE
r-patched-solaris-x86 2.0 78.10 NOTE
r-release-linux-x86_64 NOTE
r-release-windows-ix86+x86_64 2.0 6.00 62.00 68.00 NOTE
r-release-osx-x86_64 2.0 NOTE
r-oldrel-windows-ix86+x86_64 2.0 6.00 57.00 63.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

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