CRAN Package Check Results for Package lokern

Last updated on 2015-09-06 23:47:29.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.1-6 2.52 11.88 14.40 NOTE
r-devel-linux-x86_64-debian-gcc 1.1-6 2.45 11.91 14.36 NOTE
r-devel-linux-x86_64-fedora-clang 1.1-6 26.82 NOTE
r-devel-linux-x86_64-fedora-gcc 1.1-6 24.59 NOTE
r-devel-osx-x86_64-clang 1.1-6 26.73 OK
r-devel-windows-ix86+x86_64 1.1-6 9.00 33.00 42.00 NOTE
r-patched-linux-x86_64 1.1-6 2.49 12.36 14.85 OK
r-patched-solaris-sparc 1.1-6 136.70 OK --no-examples --no-tests
r-patched-solaris-x86 1.1-6 37.60 OK --no-tests
r-release-linux-x86_64 1.1-6 2.58 12.32 14.90 OK
r-release-osx-x86_64-mavericks 1.1-6 OK
r-release-windows-ix86+x86_64 1.1-6 14.00 39.00 53.00 ERROR
r-oldrel-windows-ix86+x86_64 1.1-6 15.00 33.00 48.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