CRAN Package Check Results for Package akima

Last updated on 2017-01-17 08:47:41.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.6-2 7.78 19.69 27.47 OK
r-devel-linux-x86_64-debian-gcc 0.6-2 7.41 19.21 26.62 OK
r-devel-linux-x86_64-fedora-clang 0.6-2 42.92 OK --no-stop-on-test-error
r-devel-linux-x86_64-fedora-gcc 0.6-2 42.52 OK --no-stop-on-test-error
r-devel-macos-x86_64-clang 0.6-2 38.21 OK --no-stop-on-test-error
r-devel-windows-ix86+x86_64 0.6-2 43.00 45.00 88.00 OK
r-patched-linux-x86_64 0.6-2 7.01 16.37 23.38 OK
r-patched-solaris-sparc 0.6-2 243.10 OK
r-patched-solaris-x86 0.6-2 51.30 ERROR
r-release-linux-x86_64 0.6-2 6.85 16.42 23.27 OK
r-release-osx-x86_64-mavericks 0.6-2 OK
r-release-windows-ix86+x86_64 0.6-2 30.00 69.00 99.00 OK
r-oldrel-windows-ix86+x86_64 0.6-2 27.00 52.00 79.00 OK

Check Details

Version: 0.6-2
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
    > ### 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)
    > li.zmin <- min(akima.li$z,na.rm=TRUE)
    > li.zmax <- max(akima.li$z,na.rm=TRUE)
    > breaks <- pretty(c(li.zmin,li.zmax),10)
    > colors <- heat.colors(length(breaks)-1)
    > with(akima.li, image (x,y,z, breaks=breaks, col=colors))
    > with(akima.li,contour(x,y,z, levels=breaks, add=TRUE))
    > points (akima, pch = 3)
    >
    > ## increase smoothness (using finer grid):
    > akima.smooth <-
    + with(akima, interp(x, y, z, nx=100, ny=100))
    > si.zmin <- min(akima.smooth$z,na.rm=TRUE)
    > si.zmax <- max(akima.smooth$z,na.rm=TRUE)
    > breaks <- pretty(c(si.zmin,si.zmax),10)
    > colors <- heat.colors(length(breaks)-1)
    >
    > image (akima.smooth, main = "interp(<akima data>, *) on finer grid",
    + breaks=breaks, col=colors)
    > contour(akima.smooth, add = TRUE, levels=breaks, 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]))
    > p.zmin <- min(akima.part$z,na.rm=TRUE)
    > p.zmax <- max(akima.part$z,na.rm=TRUE)
    > breaks <- pretty(c(p.zmin,p.zmax),10)
    > colors <- heat.colors(length(breaks)-1)
    >
    > image(akima.part, breaks=breaks, col=colors)
    > title("interp() on subset of only 15 points")
    > contour(akima.part, levels=breaks, add=TRUE)
    > points(akima$x[1:15],akima$y[1:15], col = "blue")
    >
    > ## spline interpolation
    > akima.spl <- with(akima, interp(x, y, z, nx=100, ny=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