CRAN Package Check Results for Package lokern

Last updated on 2015-07-29 23:47:13.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1-6 2.46 11.98 14.44 NOTE
r-devel-linux-x86_64-debian-gcc 1.1-6 2.46 12.34 14.79 NOTE
r-devel-linux-x86_64-fedora-clang 1.1-6 28.04 NOTE
r-devel-linux-x86_64-fedora-gcc 1.1-6 26.46 NOTE
r-devel-osx-x86_64-clang 1.1-6 25.82 OK
r-devel-windows-ix86+x86_64 1.1-6 14.00 40.00 54.00 NOTE
r-patched-linux-x86_64 1.1-6 2.75 12.69 15.44 OK
r-patched-solaris-sparc 1.1-6 136.70 OK --no-examples --no-tests
r-patched-solaris-x86 1.1-6 37.40 OK --no-tests
r-release-linux-x86_64 1.1-6 2.48 12.21 14.69 OK
r-release-osx-x86_64-mavericks 1.1-6 OK
r-release-windows-ix86+x86_64 1.1-6 12.00 43.00 55.00 ERROR
r-oldrel-windows-ix86+x86_64 1.1-6 13.00 31.00 44.00 OK

Memtest notes: valgrind valgrind

Check Details

Version: 1.1-6
Check: R code for possible problems
Result: NOTE
    glkerns: no visible global function definition for ‘xy.coords’
    lines.KernS: no visible global function definition for ‘lines’
    lokerns: no visible global function definition for ‘xy.coords’
    plot.KernS: no visible global function definition for ‘plot’
    predict.KernS: no visible global function definition for ‘spline’
    print.KernS: no visible global function definition for ‘str’
    residuals.KernS: no visible global function definition for ‘fitted’
    Undefined global functions or variables:
     fitted lines plot spline str xy.coords
    Consider adding
     importFrom("grDevices", "xy.coords")
     importFrom("graphics", "lines", "plot")
     importFrom("stats", "fitted", "spline")
     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-6
Check: running examples for arch ‘x64’
Result: ERROR
    Running examples in 'lokern-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: KernS-methods
    > ### Title: Methods for ("KernS" classed) Results of lokerns() and glkerns()
    > ### Aliases: fitted.KernS lines.KernS plot.KernS predict.KernS print.KernS
    > ### residuals.KernS
    > ### Keywords: utilities
    >
    > ### ** Examples
    >
    > ## "interesting" artificial data:
    > set.seed(47)
    > x <- sort(round(10*runif(250),2))
    > fx <- 5 - x/2 + 3*exp(-(x-5)^2)
    > y <- fx + rnorm(fx)/4
    > plot(x,y)
    > lof <- lokerns(x,y)
    > plot(lof)
    > plot(lof, cex = 1/4)# maybe preferable
    > ## Simpler, using the lines() method:
    > plot(x,y); lines(lof, lwd=2, col=2)
    >
    > qqnorm(residuals(lof)) # hmm... overfitting?
    > stopifnot(all.equal(y, fitted(lof) + residuals(lof), tolerance = 1e-15),
    + predict(lof)$y == fitted(lof))
    > tt <- seq(0, 10, by=1/32)
    > p0 <- predict(lof, x=tt)
    Error in if (r$iter < 0) r$iter <- NA_integer_ :
     missing value where TRUE/FALSE needed
    Calls: predict -> predict.KernS -> do.call -> <Anonymous>
    Execution halted
Flavor: r-release-windows-ix86+x86_64