CRAN Package Check Results for Package akima

Last updated on 2014-12-21 01:46:53.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.5-11 6.23 11.70 17.94 OK
r-devel-linux-x86_64-debian-gcc 0.5-11 6.00 10.64 16.64 OK
r-devel-linux-x86_64-fedora-clang 0.5-11 32.45 OK
r-devel-linux-x86_64-fedora-gcc 0.5-11 30.22 OK
r-devel-osx-x86_64-clang 0.5-11 34.83 OK
r-devel-windows-ix86+x86_64 0.5-11 35.00 28.00 63.00 OK
r-patched-linux-x86_64 0.5-11 6.14 10.93 17.08 OK
r-patched-solaris-sparc 0.5-11 173.80 OK
r-patched-solaris-x86 0.5-11 41.60 ERROR
r-release-linux-ix86 0.5-11 9.19 17.17 26.36 OK
r-release-linux-x86_64 0.5-11 6.54 10.92 17.46 OK
r-release-osx-x86_64-mavericks 0.5-11 OK
r-release-windows-ix86+x86_64 0.5-11 23.00 24.00 47.00 OK
r-oldrel-windows-ix86+x86_64 0.5-11 23.00 25.00 48.00 OK

Memtest notes: valgrind

Check Details

Version: 0.5-11
Check: examples
Result: ERROR
    Running examples in ‘akima-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: interp
    > ### Title: Gridded Bivariate Interpolation for Irregular Data
    > ### Aliases: interp interp.new interp.old
    > ### Keywords: dplot
    >
    > ### ** Examples
    >
    > data(akima)
    > plot(y ~ x, data = akima, main = "akima example data")
    > with(akima, text(x, y, formatC(z,dig=2), adj = -0.1))
    >
    > ## linear interpolation
    > akima.li <- interp(akima$x, akima$y, akima$z)
    > image (akima.li, add=TRUE)
    > contour(akima.li, add=TRUE)
    > points (akima, pch = 3)
    >
    > ## increase smoothness (using finer grid):
    > akima.smooth <-
    + with(akima, interp(x, y, z, xo=seq(0,25, length=100),
    + yo=seq(0,20, length=100)))
    > image (akima.smooth, main = "interp(<akima data>, *) on finer grid")
    > contour(akima.smooth, add = TRUE, col = "thistle")
    > points(akima, pch = 3, cex = 2, col = "blue")
    > # use triangulation package to show underlying triangulation:
    > ## Not run:
    > ##D if(library(tripack, logical.return=TRUE))
    > ##D plot(tri.mesh(akima), add=TRUE, lty="dashed")
    > ## End(Not run)
    > # use only 15 points (interpolation only within convex hull!)
    > akima.part <- with(akima, interp(x[1:15], y[1:15], z[1:15]))
    > image(akima.part)
    > title("interp() on subset of only 15 points")
    > contour(akima.part, add=TRUE)
    > points(akima$x[1:15],akima$y[1:15], col = "blue")
    >
    > ## spline interpolation, two variants (AMS 526 "Old", AMS 761 "New")
    > ## -----------------------------------------------------------------
    > ## "Old": use 5 points to calculate derivatives -> many NAs
    > akima.sO <- interp.old(akima$x, akima$y, akima$z,
    + xo=seq(0,25, length=100), yo=seq(0,20, length=100), ncp=5)
    > table(is.na(akima.sO$z)) ## 3990 NA's; = 40 %
    
    FALSE
    10000
    > akima.sO <- with(akima,
    + interp.old(x,y,z, xo=seq(0,25, length=100), yo=seq(0,20, len=100), ncp = 4))
    > sum(is.na(akima.sO$z)) ## still 3429
    [1] 0
    > image (akima.sO, main = "interp.old(*, ncp = 4) [almost useless]")
    > contour(akima.sO, add = TRUE)
    >
    > ## "New:"
    > akima.spl <- with(akima, interp.new(x,y,z, xo=seq(0,25, length=100),
    + yo=seq(0,20, length=100)))
    > ## equivalent call via setting linear=FALSE in interp():
    > akima.spl <- with(akima, interp(x,y,z, xo=seq(0,25, length=100),
    + yo=seq(0,20, length=100),
    + linear=FALSE))
    >
    > contour(akima.spl, main = "smooth interp(*, linear = FALSE)")
    Warning in min(x) : no non-missing arguments to min; returning Inf
    Warning in max(x) : no non-missing arguments to max; returning -Inf
    Error in contour.default(akima.spl, main = "smooth interp(*, linear = FALSE)") :
     no contour values
    Calls: contour -> contour.default
    Execution halted
Flavor: r-patched-solaris-x86