* using log directory 'd:/Rcompile/CRANpkg/local/2.10/geosphere.Rcheck' * using R version 2.10.1 (2009-12-14) * using session charset: ISO8859-1 * checking for file 'geosphere/DESCRIPTION' ... OK * checking extension type ... Package * this is package 'geosphere' version '1.2-13' * checking package name space information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking whether package 'geosphere' 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 name space 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 ... NOTE .pointsToMatrix: no visible global function definition for 'is.projected' .pointsToMatrix: no visible global function definition for 'coordinates' .spDistPoint2Line: no visible global function definition for 'is.projected' makeLine: no visible global function definition for 'is.projected' makeLine: no visible global function definition for 'Line' makeLine: no visible global function definition for 'Lines' makeLine: no visible global function definition for 'SpatialLines' makeLine: no visible global function definition for 'SpatialLinesDataFrame' makePoly: no visible global function definition for 'is.projected' makePoly: no visible global function definition for 'Polygon' makePoly: no visible global function definition for 'Polygons' makePoly: no visible global function definition for 'SpatialPolygons' makePoly: no visible global function definition for 'SpatialPolygonsDataFrame' plotArrows: no visible global function definition for 'bbox' * 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 data for non-ASCII characters ... OK * checking examples ... ERROR Running examples in 'geosphere-Ex.R' failed. The error most likely occurred in: > ### * span > > flush(stderr()); flush(stdout()) > > ### Name: span > ### Title: Span of polygons > ### Aliases: span span,SpatialPolygons-method span,matrix-method > ### Keywords: methods spatial > > ### ** Examples > > pol <- rbind(c(-180,-20), c(-160,5), c(-60, 0), c(-160,-60), c(-180,-20)) > plot(pol) > lines(pol) > # lon and lat span in m > span(pol, fun=max) Loading required package: sp Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, : there is no package called 'sp' Error in .local(x, ...) : you need to install the "sp" package to use this function Calls: span -> span -> .local Execution halted