Last updated on 2014-10-02 01:48:10.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.5-11 | 6.25 | 11.31 | 17.56 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.5-11 | 6.10 | 10.87 | 16.97 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.5-11 | 30.46 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.5-11 | 29.10 | OK | |||
r-devel-osx-x86_64-clang | 0.5-11 | 34.18 | OK | |||
r-devel-windows-ix86+x86_64 | 0.5-11 | 22.00 | 22.00 | 44.00 | OK | |
r-patched-linux-x86_64 | 0.5-11 | 6.10 | 11.14 | 17.24 | OK | |
r-patched-solaris-sparc | 0.5-11 | 173.80 | OK | |||
r-patched-solaris-x86 | 0.5-11 | 42.20 | ERROR | |||
r-release-linux-ix86 | 0.5-11 | 9.48 | 17.98 | 27.45 | OK | |
r-release-linux-x86_64 | 0.5-11 | 6.12 | 10.98 | 17.10 | OK | |
r-release-osx-x86_64-mavericks | 0.5-11 | OK | ||||
r-release-windows-ix86+x86_64 | 0.5-11 | 28.00 | 22.00 | 50.00 | OK | |
r-oldrel-windows-ix86+x86_64 | 0.5-11 | 23.00 | 25.00 | 48.00 | OK |
Memtest notes: valgrind
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