CRAN Package Check Results for Package raster

Last updated on 2015-07-01 03:47:43.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 2.3-40 27.95 99.74 127.69 ERROR
r-devel-linux-x86_64-debian-gcc 2.3-40 27.54 102.60 130.14 ERROR
r-devel-linux-x86_64-fedora-clang 2.3-40 250.95 ERROR
r-devel-linux-x86_64-fedora-gcc 2.3-40 234.47 ERROR
r-devel-osx-x86_64-clang 2.3-40 235.08 ERROR
r-devel-windows-ix86+x86_64 2.3-40 102.00 159.00 261.00 ERROR
r-patched-linux-x86_64 2.3-40 28.24 117.79 146.03 OK
r-patched-solaris-sparc 2.3-40 1666.00 OK
r-patched-solaris-x86 2.3-40 332.90 OK
r-release-linux-x86_64 2.3-40 27.59 117.70 145.29 OK
r-release-osx-x86_64-mavericks 2.3-40 NOTE
r-release-windows-ix86+x86_64 2.3-40 91.00 215.00 306.00 NOTE
r-oldrel-windows-ix86+x86_64 2.3-40 71.00 341.00 412.00 NOTE

Check Details

Version: 2.3-40
Check: R code for possible problems
Result: NOTE
    ..moran: no visible global function definition for ‘na.omit’
    ..stackOpen: no visible global function definition for ‘read.table’
    .SRTM: no visible global function definition for ‘unzip’
    .addToList: no visible global function definition for ‘extends’
    .adjacentUD: no visible global function definition for ‘na.omit’
    .arrow: no visible global function definition for ‘arrows’
    .asRaster: no visible global function definition for ‘rgb’
    .asRaster: no visible global function definition for ‘col2rgb’
    .cellValues: no visible global function definition for ‘na.omit’
    .cmip5: no visible global function definition for ‘unzip’
    .cor: no visible global function definition for ‘na.omit’
    .cor: no visible global function definition for ‘cor’
    .cor: no visible binding for global variable ‘sd’
    .count: no visible global function definition for ‘na.omit’
    .coverIdentity: no visible global function definition for ‘.hasSlot’
    .cropSpatialLines: no visible global function definition for ‘.hasSlot’
    .cropSpatialPolygons: no visible global function definition for
     ‘.hasSlot’
    .csTextFun: no visible binding for global variable ‘sd’
    .destair: no visible global function definition for ‘as’
    .destair: no visible global function definition for ‘.hasSlot’
    .distanceRows: no visible global function definition for ‘na.omit’
    .doExtract: no visible global function definition for ‘na.omit’
    .download: no visible global function definition for ‘download.file’
    .eqStretch: no visible global function definition for ‘ecdf’
    .eqStretchVec: no visible global function definition for ‘ecdf’
    .getCRSfromGridMap4: no visible global function definition for
     ‘na.omit’
    .getCellFromClick: no visible global function definition for ‘locator’
    .getCellFromClick: no visible global function definition for ‘na.omit’
    .getClicks: no visible global function definition for ‘locator’
    .getGDALtransient: no visible global function definition for ‘new’
    .getPutVals: no visible global function definition for ‘.hasSlot’
    .getPutVals: no visible global function definition for ‘na.omit’
    .getmetadata: no visible global function definition for ‘as’
    .hist1: no visible global function definition for ‘na.omit’
    .imageplot: no visible global function definition for ‘heat.colors’
    .imageplot: no visible global function definition for ‘par’
    .imageplot: no visible binding for global variable ‘mtext’
    .imageplotplt: no visible global function definition for ‘par’
    .kde2d: no visible global function definition for ‘dnorm’
    .kernelDens : .bandwidth.nrd: no visible global function definition for
     ‘var’
    .linesToRaster: no visible global function definition for ‘as’
    .naChanged: no visible global function definition for ‘.hasSlot’
    .old_rasterTmpFile: no visible global function definition for ‘runif’
    .oldcrosstab: no visible global function definition for ‘xtabs’
    .plot2: no visible global function definition for ‘terrain.colors’
    .plot2: no visible global function definition for ‘axTicks’
    .plot2: no visible global function definition for ‘par’
    .plot2: no visible global function definition for ‘axis’
    .plotCT: no visible global function definition for ‘plot.new’
    .plotCT: no visible global function definition for ‘par’
    .plotCT: no visible global function definition for ‘rasterImage’
    .plotCT : <anonymous>: no visible global function definition for ‘par’
    .plotLegend: no visible global function definition for ‘axTicks’
    .plotLegend: no visible global function definition for ‘box’
    .plotdens: no visible global function definition for ‘na.omit’
    .plotraster: no visible global function definition for ‘terrain.colors’
    .plotraster2: no visible global function definition for
     ‘terrain.colors’
    .pointsToRaster : fun: no visible global function definition for
     ‘na.omit’
    .polygonsToRaster : fun: no visible global function definition for
     ‘na.omit’
    .polyimage: no visible global function definition for ‘heat.colors’
    .polyimage : drapecolor: no visible global function definition for
     ‘heat.colors’
    .polyimage: no visible global function definition for ‘polygon’
    .printSpatial: no visible global function definition for ‘.hasSlot’
    .raster: no visible global function definition for ‘unzip’
    .rasterFromGDAL: no visible global function definition for ‘new’
    .rasterFromGDAL: no visible global function definition for ‘rgb’
    .rasterFromRasterFile: no visible global function definition for ‘as’
    .rasterImagePlot: no visible global function definition for ‘par’
    .rasterImagePlot: no visible global function definition for
     ‘rasterImage’
    .rasterImagePlot: no visible global function definition for ‘axTicks’
    .rasterImagePlot: no visible binding for global variable ‘mtext’
    .readCells: no visible global function definition for ‘na.omit’
    .readCellsAscii: no visible global function definition for ‘na.omit’
    .replace: no visible global function definition for ‘na.omit’
    .sendCall: no visible binding for global variable ‘start’
    .setCT: no visible global function definition for ‘rgb’
    .setCT: no visible global function definition for ‘col2rgb’
    .stopGDALwriting: no visible global function definition for ‘new’
    .unweightRAT: no visible global function definition for ‘na.omit’
    .updateGDAL: no visible global function definition for ‘new’
    .updateMinMax: no visible global function definition for ‘na.omit’
    .worldclim: no visible global function definition for ‘unzip’
    .writeAscii: no visible global function definition for ‘write.table’
    .writeGDALall : <anonymous>: no visible global function definition for
     ‘sd’
    .writeGDALall: no visible global function definition for ‘sd’
    .writeValuesBrickCDF: no visible global function definition for
     ‘na.omit’
    .writeValuesCDF: no visible global function definition for ‘na.omit’
    .xyvBuf: no visible global function definition for ‘flush.console’
    .xyvBuf : fun2: no visible global function definition for ‘na.omit’
    GearyLocal: no visible binding for global variable ‘sd’
    MoranLocal: no visible binding for global variable ‘sd’
    adjacent: no visible global function definition for ‘na.omit’
    blockSize: no visible global function definition for ‘slot’
    ccodes: no visible global function definition for ‘read.csv’
    deratify: no visible global function definition for ‘na.omit’
    drawExtent: no visible global function definition for ‘locator’
    drawLine: no visible global function definition for ‘locator’
    drawPoly: no visible global function definition for ‘locator’
    factorValues: no visible global function definition for ‘na.omit’
    filledContour: no visible global function definition for
     ‘filled.contour’
    offs<- : <anonymous>: no visible binding for global variable ‘offset’
    pbCreate: no visible global function definition for ‘txtProgressBar’
    pbStep: no visible global function definition for ‘setTxtProgressBar’
    projectExtent: no visible global function definition for ‘validObject’
    projectRaster: no visible global function definition for ‘validObject’
    projectRaster: no visible global function definition for
     ‘flush.console’
    projection: no visible global function definition for ‘extends’
    rasterToContour: no visible global function definition for
     ‘contourLines’
    rasterToPoints: no visible global function definition for ‘na.omit’
    res<-: no visible global function definition for ‘extends’
    sampleInt: no visible global function definition for ‘runif’
    scalebar: no visible global function definition for ‘par’
    scalebar: no visible global function definition for ‘polygon’
    stackOpen: no visible global function definition for ‘read.table’
    stackSave: no visible global function definition for ‘write.table’
    xyFromCell: no visible global function definition for ‘na.omit’
    .project,SpatialGrid: no visible global function definition for ‘as’
    .project,SpatialPixels: no visible global function definition for ‘as’
    Arith,Extent-numeric: no visible global function definition for
     ‘callGeneric’
    Arith,Raster-Raster: no visible global function definition for
     ‘callGeneric’
    Arith,RasterLayer-logical: no visible global function definition for
     ‘callGeneric’
    Arith,RasterLayer-numeric: no visible global function definition for
     ‘callGeneric’
    Arith,RasterLayerSparse-numeric: no visible global function definition
     for ‘callGeneric’
    Arith,RasterStackBrick-logical: no visible global function definition
     for ‘callGeneric’
    Arith,RasterStackBrick-numeric: no visible global function definition
     for ‘callGeneric’
    Arith,logical-RasterLayer: no visible global function definition for
     ‘callGeneric’
    Arith,logical-RasterStackBrick: no visible global function definition
     for ‘callGeneric’
    Arith,numeric-Extent: no visible global function definition for
     ‘callGeneric’
    Arith,numeric-RasterLayer: no visible global function definition for
     ‘callGeneric’
    Arith,numeric-RasterLayerSparse: no visible global function definition
     for ‘callGeneric’
    Arith,numeric-RasterStackBrick: no visible global function definition
     for ‘callGeneric’
    Compare,Extent-Extent: no visible global function definition for
     ‘callGeneric’
    Compare,Raster-Raster: no visible global function definition for
     ‘callGeneric’
    Compare,Raster-logical: no visible global function definition for
     ‘callGeneric’
    Compare,Raster-numeric: no visible global function definition for
     ‘callGeneric’
    Compare,logical-Raster: no visible global function definition for
     ‘callGeneric’
    Compare,numeric-Raster: no visible global function definition for
     ‘callGeneric’
    Logic,Raster-Raster: no visible global function definition for
     ‘callGeneric’
    Math2,Extent: no visible global function definition for ‘callGeneric’
    Math2,Raster: no visible global function definition for ‘callGeneric’
    Math,Raster: no visible global function definition for ‘callGeneric’
    Math,RasterLayerSparse: no visible global function definition for
     ‘callGeneric’
    [,Raster-RasterLayer-missing: no visible global function definition for
     ‘callNextMethod’
    area,SpatialPolygons : <anonymous>: no visible global function
     definition for ‘slot’
    click,SpatialLines: no visible global function definition for ‘as’
    click,SpatialLines: no visible global function definition for
     ‘.hasSlot’
    click,SpatialPoints: no visible global function definition for ‘as’
    click,SpatialPoints: no visible global function definition for
     ‘.hasSlot’
    coerce,Raster-SpatialGrid: no visible global function definition for
     ‘as’
    coerce,Raster-SpatialGridDataFrame: no visible global function
     definition for ‘as’
    coerce,Raster-SpatialPixels: no visible global function definition for
     ‘as’
    coerce,Raster-SpatialPixelsDataFrame: no visible global function
     definition for ‘as’
    coerce,Raster-SpatialPolygons: no visible global function definition
     for ‘as’
    coerce,RasterLayer-RasterLayerSparse: no visible global function
     definition for ‘new’
    coerce,RasterLayer-RasterLayerSparse: no visible global function
     definition for ‘na.omit’
    coerce,STSDF-RasterBrick: no visible global function definition for
     ‘as’
    coerce,SpatialGrid-BasicRaster: no visible global function definition
     for ‘new’
    coerce,SpatialLines-VectorLayer: no visible global function definition
     for ‘new’
    coerce,SpatialLines-VectorLayer: no visible global function definition
     for ‘.hasSlot’
    coerce,SpatialPixels-BasicRaster: no visible global function definition
     for ‘new’
    coerce,SpatialPoints-VectorLayer: no visible global function definition
     for ‘new’
    coerce,SpatialPoints-VectorLayer: no visible global function definition
     for ‘.hasSlot’
    coerce,SpatialPolygons-VectorLayer: no visible global function
     definition for ‘new’
    coerce,SpatialPolygons-VectorLayer: no visible global function
     definition for ‘.hasSlot’
    coerce,VectorLayer-Spatial: no visible global function definition for
     ‘as’
    coerce,data.frame-SpatialLinesDataFrame: no visible global function
     definition for ‘as’
    coerce,data.frame-SpatialPolygonsDataFrame: no visible global function
     definition for ‘as’
    coerce<-,RasterLayerSparse-RasterLayer: no visible global function
     definition for ‘slot<-’
    coerce<-,RasterLayerSparse-RasterLayer: no visible global function
     definition for ‘slot’
    crop,Spatial: no visible global function definition for ‘as’
    crop,Spatial: no visible global function definition for ‘validObject’
    cv,ANY: no visible global function definition for ‘sd’
    erase,SpatialPolygons-SpatialPolygons: no visible global function
     definition for ‘.hasSlot’
    erase,SpatialPolygons-SpatialPolygons: no visible global function
     definition for ‘as’
    extend,Extent: no visible global function definition for ‘validObject’
    extent,numeric: no visible global function definition for ‘new’
    extract,SpatialPolygons-SpatialPoints: no visible global function
     definition for ‘.hasSlot’
    intersect,SpatialLines-SpatialPolygons: no visible global function
     definition for ‘.hasSlot’
    intersect,SpatialPoints-SpatialPolygons: no visible global function
     definition for ‘.hasSlot’
    intersect,SpatialPolygons-SpatialPolygons: no visible global function
     definition for ‘.hasSlot’
    intersect,SpatialVector-ANY: no visible global function definition for
     ‘as’
    names,Raster: no visible global function definition for ‘.hasSlot’
    names<-,Raster: no visible global function definition for ‘.hasSlot’
    plot,VectorLayer-ANY: no visible global function definition for ‘as’
    print,Raster: no visible global function definition for
     ‘callNextMethod’
    spplot,VectorLayer: no visible global function definition for ‘as’
    stack,SpatialPixelsDataFrame: no visible global function definition for
     ‘as’
    union,SpatialPolygons-SpatialPolygons: no visible global function
     definition for ‘.hasSlot’
    union,SpatialPolygons-missing: no visible global function definition
     for ‘.hasSlot’
    union,SpatialPolygons-missing: no visible global function definition
     for ‘as’
    writeValues,RasterLayer-vector: no visible global function definition
     for ‘na.omit’
    writeValues,RasterLayer-vector: no visible global function definition
     for ‘write.table’
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-ix86+x86_64

Version: 2.3-40
Check: examples
Result: ERROR
    Running examples in ‘raster-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: adjacent
    > ### Title: Adjacent cells
    > ### Aliases: adjacent
    > ### Keywords: spatial
    >
    > ### ** Examples
    >
    > r <- raster(nrows=10, ncols=10)
    > adjacent(r, cells=c(1, 55), directions=8, pairs=TRUE)
     from to
     [1,] 55 44
     [2,] 1 10
     [3,] 55 54
     [4,] 1 20
     [5,] 55 64
     [6,] 55 46
     [7,] 1 2
     [8,] 55 56
     [9,] 1 12
    [10,] 55 66
    [11,] 55 45
    [12,] 1 11
    [13,] 55 65
    >
    > a <- adjacent(r, cell = c(1,55,90), directions=4, sorted=TRUE)
    > a
     from to
     [1,] 1 2
     [2,] 1 10
     [3,] 1 11
     [4,] 55 45
     [5,] 55 54
     [6,] 55 56
     [7,] 55 65
     [8,] 90 80
     [9,] 90 81
    [10,] 90 89
    [11,] 90 100
    >
    > r[c(1,55,90)] <- 1
    > r[a] <- 2
    > plot(r)
    >
    > # same result as above
    > rook <- matrix(c(NA, 1, NA,
    + 1, 0, 1,
    + NA, 1, NA), ncol=3, byrow=TRUE)
    >
    > adjacent(r, cells = c(1,55,90), directions=rook, sorted=TRUE)
     from to
     [1,] 1 2
     [2,] 1 10
     [3,] 1 11
     [4,] 55 45
     [5,] 55 54
     [6,] 55 56
     [7,] 55 65
     [8,] 90 80
     [9,] 90 81
    [10,] 90 89
    [11,] 90 100
    >
    >
    > # Count the number of times that a cell with a certain value
    > # occurs next to a cell with a certain value
    > set.seed(0)
    > r <- raster(ncol=10, nrow=10)
    > r[] <- round(runif(ncell(r)) * 5)
    > a <- adjacent(r, 1:ncell(r), 4, pairs=TRUE)
    > tb <- table(r[a[,1]], r[a[,2]])
    > tb
    
     0 1 2 3 4 5
     0 2 4 7 4 10 0
     1 4 14 14 7 19 6
     2 7 14 30 15 35 8
     3 4 7 15 14 13 3
     4 10 19 35 13 20 5
     5 0 6 8 3 5 0
    > plot(raster(tb[], xmn=-0.5, xmx=5.5, ymn=-0.5, ymx=5.5))
    Error in plot(raster(tb[], xmn = -0.5, xmx = 5.5, ymn = -0.5, ymx = 5.5)) :
     error in evaluating the argument 'x' in selecting a method for function 'plot': Error in (function (classes, fdef, mtable) :
     unable to find an inherited method for function ‘raster’ for signature ‘"table"’
    Calls: raster -> <Anonymous>
    Execution halted
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-osx-x86_64-clang

Version: 2.3-40
Check: package dependencies
Result: NOTE
    Package suggested but not available for checking: 'ncdf4'
Flavors: r-devel-windows-ix86+x86_64, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64

Version: 2.3-40
Check: running examples for arch ‘i386’
Result: ERROR
    Running examples in 'raster-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: adjacent
    > ### Title: Adjacent cells
    > ### Aliases: adjacent
    > ### Keywords: spatial
    >
    > ### ** Examples
    >
    > r <- raster(nrows=10, ncols=10)
    > adjacent(r, cells=c(1, 55), directions=8, pairs=TRUE)
     from to
     [1,] 55 44
     [2,] 1 10
     [3,] 55 54
     [4,] 1 20
     [5,] 55 64
     [6,] 55 46
     [7,] 1 2
     [8,] 55 56
     [9,] 1 12
    [10,] 55 66
    [11,] 55 45
    [12,] 1 11
    [13,] 55 65
    >
    > a <- adjacent(r, cell = c(1,55,90), directions=4, sorted=TRUE)
    > a
     from to
     [1,] 1 2
     [2,] 1 10
     [3,] 1 11
     [4,] 55 45
     [5,] 55 54
     [6,] 55 56
     [7,] 55 65
     [8,] 90 80
     [9,] 90 81
    [10,] 90 89
    [11,] 90 100
    >
    > r[c(1,55,90)] <- 1
    > r[a] <- 2
    > plot(r)
    >
    > # same result as above
    > rook <- matrix(c(NA, 1, NA,
    + 1, 0, 1,
    + NA, 1, NA), ncol=3, byrow=TRUE)
    >
    > adjacent(r, cells = c(1,55,90), directions=rook, sorted=TRUE)
     from to
     [1,] 1 2
     [2,] 1 10
     [3,] 1 11
     [4,] 55 45
     [5,] 55 54
     [6,] 55 56
     [7,] 55 65
     [8,] 90 80
     [9,] 90 81
    [10,] 90 89
    [11,] 90 100
    >
    >
    > # Count the number of times that a cell with a certain value
    > # occurs next to a cell with a certain value
    > set.seed(0)
    > r <- raster(ncol=10, nrow=10)
    > r[] <- round(runif(ncell(r)) * 5)
    > a <- adjacent(r, 1:ncell(r), 4, pairs=TRUE)
    > tb <- table(r[a[,1]], r[a[,2]])
    > tb
    
     0 1 2 3 4 5
     0 2 4 7 4 10 0
     1 4 14 14 7 19 6
     2 7 14 30 15 35 8
     3 4 7 15 14 13 3
     4 10 19 35 13 20 5
     5 0 6 8 3 5 0
    > plot(raster(tb[], xmn=-0.5, xmx=5.5, ymn=-0.5, ymx=5.5))
    Error in plot(raster(tb[], xmn = -0.5, xmx = 5.5, ymn = -0.5, ymx = 5.5)) :
     error in evaluating the argument 'x' in selecting a method for function 'plot': Error in (function (classes, fdef, mtable) :
     unable to find an inherited method for function 'raster' for signature '"table"'
    Calls: raster -> <Anonymous>
    Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 2.3-40
Check: running examples for arch ‘x64’
Result: ERROR
    Running examples in 'raster-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: adjacent
    > ### Title: Adjacent cells
    > ### Aliases: adjacent
    > ### Keywords: spatial
    >
    > ### ** Examples
    >
    > r <- raster(nrows=10, ncols=10)
    > adjacent(r, cells=c(1, 55), directions=8, pairs=TRUE)
     from to
     [1,] 55 44
     [2,] 1 10
     [3,] 55 54
     [4,] 1 20
     [5,] 55 64
     [6,] 55 46
     [7,] 1 2
     [8,] 55 56
     [9,] 1 12
    [10,] 55 66
    [11,] 55 45
    [12,] 1 11
    [13,] 55 65
    >
    > a <- adjacent(r, cell = c(1,55,90), directions=4, sorted=TRUE)
    > a
     from to
     [1,] 1 2
     [2,] 1 10
     [3,] 1 11
     [4,] 55 45
     [5,] 55 54
     [6,] 55 56
     [7,] 55 65
     [8,] 90 80
     [9,] 90 81
    [10,] 90 89
    [11,] 90 100
    >
    > r[c(1,55,90)] <- 1
    > r[a] <- 2
    > plot(r)
    >
    > # same result as above
    > rook <- matrix(c(NA, 1, NA,
    + 1, 0, 1,
    + NA, 1, NA), ncol=3, byrow=TRUE)
    >
    > adjacent(r, cells = c(1,55,90), directions=rook, sorted=TRUE)
     from to
     [1,] 1 2
     [2,] 1 10
     [3,] 1 11
     [4,] 55 45
     [5,] 55 54
     [6,] 55 56
     [7,] 55 65
     [8,] 90 80
     [9,] 90 81
    [10,] 90 89
    [11,] 90 100
    >
    >
    > # Count the number of times that a cell with a certain value
    > # occurs next to a cell with a certain value
    > set.seed(0)
    > r <- raster(ncol=10, nrow=10)
    > r[] <- round(runif(ncell(r)) * 5)
    > a <- adjacent(r, 1:ncell(r), 4, pairs=TRUE)
    > tb <- table(r[a[,1]], r[a[,2]])
    > tb
    
     0 1 2 3 4 5
     0 2 4 7 4 10 0
     1 4 14 14 7 19 6
     2 7 14 30 15 35 8
     3 4 7 15 14 13 3
     4 10 19 35 13 20 5
     5 0 6 8 3 5 0
    > plot(raster(tb[], xmn=-0.5, xmx=5.5, ymn=-0.5, ymx=5.5))
    Error in plot(raster(tb[], xmn = -0.5, xmx = 5.5, ymn = -0.5, ymx = 5.5)) :
     error in evaluating the argument 'x' in selecting a method for function 'plot': Error in (function (classes, fdef, mtable) :
     unable to find an inherited method for function 'raster' for signature '"table"'
    Calls: raster -> <Anonymous>
    Execution halted
Flavor: r-devel-windows-ix86+x86_64

Version: 2.3-40
Check: package dependencies
Result: NOTE
    Packages suggested but not available for checking: ‘rgdal’ ‘rgeos’
Flavor: r-release-osx-x86_64-mavericks

Version: 2.3-40
Check: Rd cross-references
Result: NOTE
    Package unavailable to check Rd xrefs: ‘rgdal’
Flavor: r-release-osx-x86_64-mavericks