Last updated on 2014-10-10 15:49:29.
Package | ERROR | WARN | NOTE | OK |
---|---|---|---|---|
akima | 1 | 13 | ||
ash | 14 | |||
OPDOE | 15 | |||
sgeostat | 14 | |||
tripack | 14 |
Current CRAN status: ERROR: 1, OK: 13
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
Current CRAN status: OK: 14
Current CRAN status: OK: 15
Current CRAN status: NOTE: 14
Version: 1.0-25
Check: top-level files
Result: NOTE
File
LICENSE
is not mentioned in the DESCRIPTION file.
Non-standard files/directories found at top level:
‘digi.R’ ‘maas.dig’ ‘makefile’ ‘www-SGeoStat’ ‘zn_map.eps’
‘zn_map.gif’ ‘zn_map.ps’
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-patched-linux-x86_64, r-release-linux-x86_64
Version: 1.0-25
Check: Rd line widths
Result: NOTE
Rd file 'fit.variogram.Rd':
\examples lines wider than 100 characters:
maas.vmod.fixed<-fit.variogram("gaussian",maas.v,nugget=60000,sill=110000,range=800,plot.it=TRUE,iterations=0)
These lines will be truncated in the PDF manual.
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-patched-linux-x86_64, r-release-linux-x86_64
Version: 1.0-25
Check: top-level files
Result: NOTE
File
LICENSE
is not mentioned in the DESCRIPTION file.
Flavors: r-devel-osx-x86_64-clang, r-devel-windows-ix86+x86_64, r-patched-solaris-sparc, r-patched-solaris-x86, r-release-linux-ix86, r-release-osx-x86_64-mavericks, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64
Current CRAN status: OK: 14