- using R version 2.8.0 (2008-10-20)
- using session charset: ASCII
- checking for file 'spatstat/DESCRIPTION' ... OK
- this is package 'spatstat' version '1.14-5'
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking for executable files ... OK
- checking whether package 'spatstat' can be installed ... OK
- checking package directory ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking R files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking for unstated dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... OK
- checking Rd files ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking data for non-ASCII characters ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking for portable use of $BLAS_LIBS ... OK
- creating spatstat-Ex.R ... OK
- checking examples ... OK
- checking tests ... ERROR
Running the tests in 'tests/ppmBadData.R' failed.
Last 13 lines of output:
> BAR <- function(x) { exp(-6.618913 + 5.855337 * x - 8.432483 * x^2) }
> V <- im(BAR(M$v), xcol=X, yrow=X)
> # V <- eval.im(exp(-6.618913 + 5.855337 * M - 8.432483 * M^2))
> set.seed(SEED)
> Y <- rpoispp(V)
> fY <- ppm(Y, ~cv + I(cv^2), covariates=list(cv=M), correction="translate")
Warning message:
Values of the covariate 'cv' were NA or undefined at 96% (1757 out of 1839) of the quadrature points. Occurred while executing: ppm(Y, ~cv + I(cv^2), covariates = list(cv = M), correction = "translate")
> diagnose.ppm(fY)
Error in if (nsea > 0) colours <- rev(rainbow(nsea, start = 3/6, end = 4/6)) :
missing value where TRUE/FALSE needed
Calls: diagnose.ppm ... plot -> plot -> plot.diagppm -> resid4plot -> beachcolours
Execution halted
- elapsed time (check, wall clock): 6:53