CRAN Package Check Results for Package laGP

Last updated on 2018-02-25 00:48:46 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.5-1 13.59 61.46 75.05 OK --no-vignettes
r-devel-linux-x86_64-debian-gcc 1.5-1 9.78 47.39 57.17 OK --no-vignettes
r-devel-linux-x86_64-fedora-clang 1.5-1 92.19 OK --no-vignettes
r-devel-linux-x86_64-fedora-gcc 1.5-1 88.22 OK --no-vignettes
r-devel-windows-ix86+x86_64 1.5-1 50.00 95.00 145.00 OK --no-vignettes
r-patched-linux-x86_64 1.5-1 8.60 64.34 72.94 OK --no-vignettes
r-patched-solaris-x86 1.5-1 107.60 OK --no-vignettes
r-release-linux-x86_64 1.5-1 8.89 63.13 72.02 OK --no-vignettes
r-release-windows-ix86+x86_64 1.5-1 41.00 124.00 165.00 OK --no-vignettes
r-release-osx-x86_64 1.5-1 OK --no-vignettes
r-oldrel-windows-ix86+x86_64 1.5-1 29.00 131.00 160.00 OK --no-vignettes
r-oldrel-osx-x86_64 1.5-1 ERROR --no-vignettes

Check Details

Version: 1.5-1
Flags: --no-vignettes
Check: examples
Result: ERROR
    Running examples in ‘laGP-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: alcGP
    > ### Title: Improvement statistics for sequential or local design
    > ### Aliases: alcGP alcGPsep alcrayGP alcrayGPsep mspeGP fishGP ieciGP
    > ### ieciGPsep alcoptGP dalcGP alcoptGPsep dalcGPsep
    > ### Keywords: nonparametric nonlinear smooth models regression spatial
    >
    > ### ** Examples
    >
    > ## this follows the example in predGP, but only evaluates
    > ## information statistics documented here
    >
    > ## Simple 2-d test function used in Gramacy & Apley (2015);
    > ## thanks to Lee, Gramacy, Taddy, and others who have used it before
    > f2d <- function(x, y=NULL)
    + {
    + if(is.null(y)) {
    + if(!is.matrix(x)) x <- matrix(x, ncol=2)
    + y <- x[,2]; x <- x[,1]
    + }
    + g <- function(z)
    + return(exp(-(z-1)^2) + exp(-0.8*(z+1)^2) - 0.05*sin(8*(z+0.1)))
    + z <- -g(x)*g(y)
    + }
    >
    > ## design with N=441
    > x <- seq(-2, 2, length=11)
    > X <- as.matrix(expand.grid(x, x))
    > Z <- f2d(X)
    >
    > ## fit a GP
    > gpi <- newGP(X, Z, d=0.35, g=1/1000, dK=TRUE)
    >
    > ## predictive grid with NN=400
    > xx <- seq(-1.9, 1.9, length=20)
    > XX <- as.matrix(expand.grid(xx, xx))
    >
    > ## predict
    > alc <- alcGP(gpi, XX)
    > mspe <- mspeGP(gpi, XX)
    > fish <- fishGP(gpi, XX)
    >
    > ## visualize the result
    > par(mfrow=c(1,3))
    > image(xx, xx, matrix(sqrt(alc), nrow=length(xx)), col=heat.colors(128),
    + xlab="x1", ylab="x2", main="sqrt ALC")
    > image(xx, xx, matrix(sqrt(mspe), nrow=length(xx)), col=heat.colors(128),
    + xlab="x1", ylab="x2", main="sqrt MSPE")
    > image(xx, xx, matrix(log(fish), nrow=length(xx)), col=heat.colors(128),
    + xlab="x1", ylab="x2", main="log fish")
    >
    > ## clean up
    > deleteGP(gpi)
    >
    > ## search the new location to augment the current local design
    > xx <- seq(-1.9, 1.9, length=10)
    > XX <- as.matrix(expand.grid(xx, xx))
    > e.alc <- laGP.R(XX, start=6, end=100, X, Z, method="alc", close=10000, parallel="omp")
    Error in .C("alcGP_omp_R", gpi = as.integer(gpi), m = as.integer(m), Xcand = as.double(t(Xcand)), :
     "alcGP_omp_R" not available for .C() for package "laGP"
    Calls: laGP.R -> alcGP -> .C
    Execution halted
Flavor: r-oldrel-osx-x86_64