- using R version 3.0.1 Patched (2013-05-18 r62762)
- using platform: i386-pc-solaris2.10 (32-bit)
- using session charset: UTF-8
- checking for file ‘RgoogleMaps/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘RgoogleMaps’ version ‘1.2.0.3’
- checking package namespace information ... OK
- checking package dependencies ... NOTE
Package suggested but not available for checking: ‘PBSmapping’
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘RgoogleMaps’ can be installed ... OK
- checking installed package size ... OK
- checking package directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over 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 namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... 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
PlotPolysOnStaticMap: no visible global function definition for
‘addPolys’
ReadMapTile: no visible binding for global variable ‘MetaInfo’
- 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 contents of ‘data’ directory ... OK
- checking data for non-ASCII characters ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking examples ... ERROR
Running examples in ‘RgoogleMaps-Ex.R’ failed
The error most likely occurred in:
> ### Name: NYleukemia
> ### Title: Upstate New York Leukemia Data
> ### Aliases: NYleukemia
> ### Keywords: datasets
>
> ### ** Examples
>
> data(NYleukemia)
> population <- NYleukemia$data$population
> cases <- NYleukemia$data$cases
> mapNY <- GetMap(center=c(lon=-76.00365, lat=42.67456), destfile = "NYstate.png", maptype = "mobile", zoom=9)
[1] "http://maps.google.com/maps/api/staticmap?center=-76.00365,42.67456&zoom=9&size=640x640&maptype=mobile&format=png32&sensor=true"
> ColorMap(100*cases/population, mapNY, NYleukemia$spatial.polygon, add = FALSE,alpha = 0.35, log = TRUE, location = "topleft")
Loading required package: RColorBrewer
Loading required package: sp
Attaching package: ‘sp’
The following object is masked from ‘package:RgoogleMaps’:
degAxis
Loading required package: PBSmapping
Warning in library(package, lib.loc = lib.loc, character.only = TRUE, logical.return = TRUE, :
there is no package called ‘PBSmapping’
Error in `[<-.data.frame`(`*tmp*`, , "col", value = c("#FC4E2A59", "#E31A1C59", :
replacement has 281 rows, data has 9464
Calls: ColorMap -> PlotPolysOnStaticMap -> [<- -> [<-.data.frame
Execution halted