• using R version 2.14.1 (2011-12-22)
  • using platform: i386-apple-darwin9.8.0 (32-bit)
  • using session charset: ASCII
  • checking for file 'pgirmess/DESCRIPTION' ... OK
  • this is package 'pgirmess' version '1.5.2'
  • checking package dependencies ... NOTE
    Package suggested but not available for checking: 'rgdal'
  • checking if this is a source package ... OK
  • checking if there is a namespace ... NOTE
    As from R 2.14.0 all packages need a namespace.
    One will be generated on installation, but it is better to handcraft a
    NAMESPACE file: R CMD build will produce a suitable starting point.
  • checking for executable files ... OK
  • checking whether package 'pgirmess' can be installed ... OK
  • checking installed package size ... 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 whether the package can be unloaded cleanly ... 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
    readGDALbbox: no visible global function definition for 'GDALinfo'
    readGDALbbox: no visible global function definition for 'readGDAL'
    writePRJ: no visible global function definition for 'showWKT'
  • checking Rd files ... OK
  • checking Rd metadata ... OK
  • checking Rd cross-references ... NOTE
    Package(s) unavailable to check Rd xrefs: 'rgdal'
  • 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 contents of 'data' directory ... OK
  • checking data for non-ASCII characters ... OK
  • checking data for ASCII and uncompressed saves ... OK
  • checking examples ... ERROR
    Running examples in 'pgirmess-Ex.R' failed
    The error most likely occurred in:

    > ### Name: rwhatbufCat2
    > ### Title: Analyses the contents of a raster file readable with rgdal of
    > ### categorical values within various buffer sizes centred on points
    > ### Aliases: rwhatbufCat2
    > ### Keywords: spatial
    >
    > ### ** Examples
    >
    >
    > library(sp)
    >
    > myrastername<-system.file("pictures/SP27GTIF.TIF", package = "rgdal")[1]
    >
    > mylocations<-structure(list(x = c(694728, 684662, 702339, 691819, 700091), y = c(1906654, 1886491, 1884426, 1884373, 1886872)), .Names = c("x", "y"), row.names = c(NA, -5L), class = "data.frame")
    > coordinates(mylocations)<-~x+y
    >
    > result<-rwhatbufCat2(myrastername,mylocations,c(500,1000))
    Loading required package: splancs
    Loading required package: rgdal
    Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
    there is no package called 'rgdal'
    Number of buffers to compute: 10
    Loading required package: rgdal
    Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
    there is no package called 'rgdal'
    Error in readGDALbbox(rast, buffP, silent = TRUE) :
    could not find function "GDALinfo"
    Calls: rwhatbufCat2 -> readGDALbbox
    Execution halted
  • elapsed time (check, wall clock): 0:41