* using log directory 'd:/Rcompile/CRANpkg/local/2.12/sampSurf.Rcheck' * using R version 2.12.2 (2011-02-25) * using platform: i386-pc-mingw32 (32-bit) * using session charset: ISO8859-1 * checking for file 'sampSurf/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'sampSurf' version '0.5-6' * checking package name space information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'sampSurf' 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 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 whether the package can be unloaded cleanly ... OK * checking whether the name space can be loaded with stated dependencies ... OK * checking whether the name space can be unloaded cleanly ... OK * checking for unstated dependencies in R code ... WARNING Warning in get_S4_generics_with_methods(code_env) : Generics g in env = where hasMethods(g, env) errors: 'plot3D' May need something like importFrom("rasterVis", "plot3D") in NAMESPACE. See the information on DESCRIPTION files in the chapter 'Creating R packages' of the 'Writing R Extensions' manual. * checking S3 generic/method consistency ... OK * checking replacement functions ... WARNING Warning in get_S4_generics_with_methods(code_env) : Generics g in env = where hasMethods(g, env) errors: 'plot3D' May need something like importFrom("rasterVis", "plot3D") in NAMESPACE. The argument of a replacement function which corresponds to the right hand side must be named 'value'. * checking foreign function calls ... WARNING Warning in get_S4_generics_with_methods(code_env) : Generics g in env = where hasMethods(g, env) errors: 'plot3D' May need something like importFrom("rasterVis", "plot3D") in NAMESPACE. See the chapter 'System and foreign language interfaces' of the 'Writing R Extensions' manual. * checking R code for possible problems ... OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking examples ... ERROR Running examples in 'sampSurf-Ex.R' failed The error most likely occurred in: > ### Name: izGrid > ### Title: Generate Objects of Class "'InclusionZoneGrid'" > ### Aliases: izGrid > ### Keywords: ~kwd1 ~kwd2 > > ### ** Examples > > tr = Tract(c(x=20,y=20), cellSize=0.5) > btr = bufferedTract(5, tr) > dlogs = downLogs(1, btr@bufferRect) > sup = standUpIZ(dlogs@logs$log.1, 2) > izgSU = izGrid(sup, btr) > plot(izgSU, axes=TRUE) Error in rgb(tx, tx, tx, max = max) : color intensity nan, not in [0,1] Calls: plot -> plot -> .local Execution halted