* using log directory 'd:/Rcompile/CRANpkg/local/2.4/sp.Rcheck' * using R version 2.4.1 (2006-12-18) * checking for file 'sp/DESCRIPTION' ... OK * this is package 'sp' version '0.9-14' * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'sp' can be installed ... OK * checking package directory ... OK * checking for portable file names ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking R files for syntax errors ... OK * checking R files for non-ASCII characters ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the name space can be loaded with stated dependencies ... 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 for CRLF line endings in C/C++/Fortran sources/headers ... OK * checking for portable use of $BLAS_LIBS ... OK * creating sp-Ex.R ... OK * checking examples ... ERROR Running examples in 'sp-Ex.R' failed. The error most likely occurred in: > ### * SpatialGridDataFrame-class > > flush(stderr()); flush(stdout()) > > ### Name: SpatialGridDataFrame-class > ### Title: Class "SpatialGridDataFrame" > ### Aliases: SpatialGridDataFrame-class [,SpatialGridDataFrame-method > ### show,SpatialGridDataFrame-method cbind.SpatialGridDataFrame > ### plot.SpatialGridDataFrame print.summary.SpatialGridDataFrame > ### coerce,SpatialGridDataFrame,SpatialPointsDataFrame-method > ### coerce,SpatialGridDataFrame,SpatialPixelsDataFrame-method > ### coerce,SpatialGridDataFrame,data.frame-method > ### coerce,SpatialGridDataFrame,matrix-method > ### as.data.frame.SpatialGridDataFrame > ### Keywords: classes > > ### ** Examples > > data(meuse.grid) # only the non-missing valued cells > coordinates(meuse.grid) = c("x", "y") # promote to SpatialPointsDataFrame > gridded(meuse.grid) <- TRUE # promote to SpatialPixelsDataFrame > x = as(meuse.grid, "SpatialGridDataFrame") # creates the full grid > x[["idist"]] = 1 - x[["dist"]] # assigns new attribute Error in x[["dist"]] : object is not subsettable Execution halted