CRAN Package Check Results for Package RgoogleMaps

Last updated on 2018-04-22 23:50:37 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.4.1 2.14 32.29 34.43 OK
r-devel-linux-x86_64-debian-gcc 1.4.1 1.51 27.22 28.73 ERROR
r-devel-linux-x86_64-fedora-clang 1.4.1 46.27 OK
r-devel-linux-x86_64-fedora-gcc 1.4.1 45.20 ERROR
r-devel-windows-ix86+x86_64 1.4.1 7.00 59.00 66.00 OK
r-devel-osx-x86_64 1.4.1 OK
r-patched-linux-x86_64 1.4.1 2.04 34.71 36.75 ERROR
r-patched-solaris-x86 1.4.1 61.30 OK
r-release-linux-x86_64 1.4.1 1.20 38.36 39.56 OK
r-release-windows-ix86+x86_64 1.4.1 5.00 47.00 52.00 OK
r-release-osx-x86_64 1.4.1 OK
r-oldrel-windows-ix86+x86_64 1.4.1 7.00 43.00 50.00 OK

Check Details

Version: 1.4.1
Check: examples
Result: ERROR
    Running examples in ‘RgoogleMaps-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### Name: GetMap.bbox
    > ### Title: GetMap bbox
    > ### Aliases: GetMap.bbox
    >
    > ### ** Examples
    >
    >
    >
    > mymarkers <- cbind.data.frame(lat = c(38.898648,38.889112, 38.880940),
    +
    +
    + lon = c(-77.037692, -77.050273, -77.03660), size = c('tiny','tiny','tiny'),
    +
    +
    + col = c('blue', 'green', 'red'), char = c('','',''));
    >
    >
    >
    >
    >
    > ##get the bounding box:
    >
    >
    > bb <- qbbox(lat = mymarkers[,"lat"], lon = mymarkers[,"lon"]);
    >
    >
    >
    >
    >
    > ##download the map:
    >
    >
    > MyMap <- GetMap.bbox(bb$lonR, bb$latR, destfile = "DC.png", GRAYSCALE =TRUE,
    +
    +
    + markers = mymarkers);
    >
    >
    > ##The function qbbox() basically computes a bounding box for the given lat,lon
    >
    >
    > #points with a few additional options such as quantile boxes, additional buffers, etc.
    >
    >
    > bb <- qbbox(c(40.702147,40.711614,40.718217),c(-74.015794,-74.012318,-73.998284),
    +
    +
    + TYPE = "all", margin = list(m=rep(5,4), TYPE = c("perc", "abs")[1]));
    >
    >
    > ##download the map:
    >
    >
    > MyMap <- GetMap.bbox(bb$lonR, bb$latR,destfile = "MyTile3.png", maptype = "satellite")
    Warning in download.file(urlStr, destfile, mode = "wb", quiet = TRUE) :
     cannot open URL 'http://maps.google.com/maps/api/staticmap?center=40.710182,-74.007039&zoom=15&size=640x640&maptype=satellite&format=png32&sensor=true': HTTP status was '403 Forbidden'
    Error in download.file(urlStr, destfile, mode = "wb", quiet = TRUE) :
     cannot open URL 'http://maps.google.com/maps/api/staticmap?center=40.710182,-74.007039&zoom=15&size=640x640&maptype=satellite&format=png32&sensor=true'
    Calls: GetMap.bbox -> GetMap -> download.file
    Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.4.1
Check: examples
Result: ERROR
    Running examples in ‘RgoogleMaps-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: PlotOnStaticMap
    > ### Title: overlays plot on background image of map tile
    > ### Aliases: PlotOnStaticMap
    >
    > ### ** Examples
    >
    >
    >
    > #The first step naturally will be to download a static map from the Google server. A simple example:
    >
    >
    >
    >
    >
    > lat = c(40.702147,40.711614,40.718217);
    >
    >
    > lon = c(-74.015794,-74.012318,-73.998284);
    >
    >
    > center = c(mean(lat), mean(lon));
    >
    >
    > zoom <- min(MaxZoom(range(lat), range(lon)));
    >
    >
    > #this overhead is taken care of implicitly by GetMap.bbox();
    >
    >
    > MyMap <- GetMap(center=center, zoom=zoom,markers = paste0("&markers=color:blue|label:S|",
    +
    +
    + "40.702147,-74.015794&markers=color:green|label:G|40.711614,-74.012318&markers=",
    +
    +
    + "color:red|color:red|label:C|40.718217,-73.998284"), destfile = "MyTile1.png");
    Warning in download.file(urlStr, destfile, mode = "wb", quiet = TRUE) :
     cannot open URL 'http://maps.google.com/maps/api/staticmap?center=40.7106593333333,-74.0087986666667&zoom=15&size=640x640&maptype=mobile&format=png32&sensor=true&markers=color:blue|label:S|40.702147,-74.015794&markers=color:green|label:G|40.711614,-74.012318&markers=color:red|color:red|label:C|40.718217,-73.998284': HTTP status was '403 Forbidden'
    Error in download.file(urlStr, destfile, mode = "wb", quiet = TRUE) :
     cannot open URL 'http://maps.google.com/maps/api/staticmap?center=40.7106593333333,-74.0087986666667&zoom=15&size=640x640&maptype=mobile&format=png32&sensor=true&markers=color:blue|label:S|40.702147,-74.015794&markers=color:green|label:G|40.711614,-74.012318&markers=color:red|color:red|label:C|40.718217,-73.998284'
    Calls: GetMap -> download.file
    Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.4.1
Check: examples
Result: ERROR
    Running examples in ‘RgoogleMaps-Ex.R’ failed
    The error most likely occurred in:
    
    > base::assign(".ptime", proc.time(), pos = "CheckExEnv")
    > ### 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)
    Warning in download.file(urlStr, destfile, mode = "wb", quiet = TRUE) :
     cannot open URL 'http://maps.google.com/maps/api/staticmap?center=42.67456,-76.00365&zoom=9&size=640x640&maptype=mobile&format=png32&sensor=true': HTTP status was '403 Forbidden'
    Error in download.file(urlStr, destfile, mode = "wb", quiet = TRUE) :
     cannot open URL 'http://maps.google.com/maps/api/staticmap?center=42.67456,-76.00365&zoom=9&size=640x640&maptype=mobile&format=png32&sensor=true'
    Calls: GetMap -> download.file
    Execution halted
Flavor: r-patched-linux-x86_64