CRAN Package Check Results for Package rasterDT

Last updated on 2021-10-17 07:50:54 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.1 23.91 237.40 261.31 NOTE
r-devel-linux-x86_64-debian-gcc 0.3.1 22.16 174.52 196.68 NOTE
r-devel-linux-x86_64-fedora-clang 0.3.1 320.30 NOTE
r-devel-linux-x86_64-fedora-gcc 0.3.1 155.45 NOTE
r-devel-windows-x86_64 0.3.1 38.00 207.00 245.00 NOTE
r-devel-windows-x86_64-gcc10-UCRT 0.3.1 NOTE
r-patched-linux-x86_64 0.3.1 22.57 227.93 250.50 NOTE
r-patched-solaris-x86 0.3.1 213.80 NOTE
r-release-linux-x86_64 0.3.1 22.61 227.10 249.71 NOTE
r-release-macos-arm64 0.3.1 NOTE
r-release-macos-x86_64 0.3.1 NOTE
r-release-windows-ix86+x86_64 0.3.1 47.00 260.00 307.00 NOTE
r-oldrel-macos-x86_64 0.3.1 OK
r-oldrel-windows-ix86+x86_64 0.3.1 28.00 139.00 167.00 ERROR

Check Details

Version: 0.3.1
Check: LazyData
Result: NOTE
     'LazyData' is specified without a 'data' directory
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-x86_64, r-devel-windows-x86_64-gcc10-UCRT, r-patched-linux-x86_64, r-patched-solaris-x86, r-release-linux-x86_64, r-release-macos-arm64, r-release-macos-x86_64, r-release-windows-ix86+x86_64

Version: 0.3.1
Check: examples
Result: ERROR
    Running examples in 'rasterDT-Ex.R' failed
    The error most likely occurred in:
    
    > ### Name: fasterizeDT
    > ### Title: Polygon Rasterization Using Numeric, Factor, or Character Fields
    > ### Aliases: fasterizeDT
    >
    > ### ** Examples
    >
    > ## Load example polygons and prepare a template raster
    > SPDF <- rgdal::readOGR(system.file("external", package = "raster"), "lux")
    OGR data source with driver: ESRI Shapefile
    Source: "D:\temp\RtmpWIgYKL\RLIBS_16cd4394a3e2b\raster\external", layer: "lux"
    with 12 features
    It has 5 fields
    > llratio <- 1/cos(pi * mean(coordinates(SPDF)[, 2])/180)
    > rr <- raster(extent(SPDF),
    + resolution = c(llratio * 0.01, 0.01),
    + crs = proj4string(SPDF))
    Warning in proj4string(SPDF) :
     CRS object has comment, which is lost in output
    >
    > ## An integer-valued field produces a numeric raster
    > rInt <- fasterizeDT(SPDF, rr, field = "ID_2")
    > plot(rInt, col = colorRampPalette(blues9)(12))
    >
    > ## A character-valued field returns a factor raster
    > rFac <- fasterizeDT(SPDF, rr, field = "NAME_2")
    > if (require(rasterVis)) {
    + levelplot(rFac)
    + }
    Loading required package: rasterVis
    Loading required package: terra
    terra version 1.4.7
    
    Attaching package: 'terra'
    
    The following objects are masked from 'package:data.table':
    
     copy, shift
    
    The following objects are masked from 'package:raster':
    
     RGB, adjacent, animate, area, bbox, boundaries, buffer,
     cellFromRowCol, cellFromRowColCombine, cellFromXY, clamp, click,
     colFromCell, colFromX, cover, crop, crosstab, crs, crs<-,
     disaggregate, distance, erase, extend, extract, flip, focal, freq,
     geom, hasValues, inMemory, init, interpolate, mask, modal, mosaic,
     ncell, ncol<-, nrow<-, origin, origin<-, plotRGB, rasterize,
     readStart, readStop, rectify, res, res<-, resample, rotate,
     rowColFromCell, rowFromCell, rowFromY, setMinMax, setValues, shift,
     stretch, symdif, terrain, trim, values, values<-, writeRaster,
     writeStart, writeStop, writeValues, xFromCell, xFromCol, xmax,
     xmax<-, xmin, xmin<-, xres, xyFromCell, yFromCell, yFromRow, ymax,
     ymax<-, ymin, ymin<-, yres, zonal, zoom
    
    The following objects are masked from 'package:sp':
    
     bbox, disaggregate
    
    Loading required package: lattice
    Loading required package: latticeExtra
    Warning: replacing previous import 'raster::init' by 'terra::init' when loading 'rasterVis'
    Warning: replacing previous import 'raster::writeStop' by 'terra::writeStop' when loading 'rasterVis'
    Warning: replacing previous import 'raster::extract' by 'terra::extract' when loading 'rasterVis'
    Warning: replacing previous import 'raster::yFromCell' by 'terra::yFromCell' when loading 'rasterVis'
    Warning: replacing previous import 'raster::adjacent' by 'terra::adjacent' when loading 'rasterVis'
    Warning: replacing previous import 'raster::cellFromRowColCombine' by 'terra::cellFromRowColCombine' when loading 'rasterVis'
    Warning: replacing previous import 'raster::RGB' by 'terra::RGB' when loading 'rasterVis'
    Warning: replacing previous import 'raster::nrow<-' by 'terra::nrow<-' when loading 'rasterVis'
    Warning: replacing previous import 'raster::rotate' by 'terra::rotate' when loading 'rasterVis'
    Warning: replacing previous import 'raster::click' by 'terra::click' when loading 'rasterVis'
    Warning: replacing previous import 'raster::readStart' by 'terra::readStart' when loading 'rasterVis'
    Warning: replacing previous import 'raster::ymax<-' by 'terra::ymax<-' when loading 'rasterVis'
    Warning: replacing previous import 'raster::mosaic' by 'terra::mosaic' when loading 'rasterVis'
    Warning: replacing previous import 'raster::yres' by 'terra::yres' when loading 'rasterVis'
    Warning: replacing previous import 'raster::xres' by 'terra::xres' when loading 'rasterVis'
    Warning: replacing previous import 'raster::ymin' by 'terra::ymin' when loading 'rasterVis'
    Warning: replacing previous import 'raster::mask' by 'terra::mask' when loading 'rasterVis'
    Warning: replacing previous import 'raster::xmin' by 'terra::xmin' when loading 'rasterVis'
    Warning: replacing previous import 'raster::animate' by 'terra::animate' when loading 'rasterVis'
    Warning: replacing previous import 'raster::cellFromRowCol' by 'terra::cellFromRowCol' when loading 'rasterVis'
    Warning: replacing previous import 'raster::hasValues' by 'terra::hasValues' when loading 'rasterVis'
    Warning: replacing previous import 'raster::rasterize' by 'terra::rasterize' when loading 'rasterVis'
    Warning: replacing previous import 'raster::writeStart' by 'terra::writeStart' when loading 'rasterVis'
    Warning: replacing previous import 'raster::setValues' by 'terra::setValues' when loading 'rasterVis'
    Warning: replacing previous import 'raster::resample' by 'terra::resample' when loading 'rasterVis'
    Warning: replacing previous import 'raster::xyFromCell' by 'terra::xyFromCell' when loading 'rasterVis'
    Warning: replacing previous import 'raster::stretch' by 'terra::stretch' when loading 'rasterVis'
    Warning: replacing previous import 'raster::cover' by 'terra::cover' when loading 'rasterVis'
    Warning: replacing previous import 'raster::writeValues' by 'terra::writeValues' when loading 'rasterVis'
    Warning: replacing previous import 'raster::values' by 'terra::values' when loading 'rasterVis'
    Warning: replacing previous import 'raster::cellFromXY' by 'terra::cellFromXY' when loading 'rasterVis'
    Warning: replacing previous import 'raster::xmin<-' by 'terra::xmin<-' when loading 'rasterVis'
    Warning: replacing previous import 'raster::modal' by 'terra::modal' when loading 'rasterVis'
    Warning: replacing previous import 'raster::res' by 'terra::res' when loading 'rasterVis'
    Warning: replacing previous import 'raster::freq' by 'terra::freq' when loading 'rasterVis'
    Warning: replacing previous import 'raster::ncell' by 'terra::ncell' when loading 'rasterVis'
    Warning: replacing previous import 'raster::trim' by 'terra::trim' when loading 'rasterVis'
    Warning: replacing previous import 'raster::area' by 'terra::area' when loading 'rasterVis'
    Warning: replacing previous import 'raster::erase' by 'terra::erase' when loading 'rasterVis'
    Warning: replacing previous import 'raster::writeRaster' by 'terra::writeRaster' when loading 'rasterVis'
    Warning: replacing previous import 'raster::res<-' by 'terra::res<-' when loading 'rasterVis'
    Warning: replacing previous import 'raster::extend' by 'terra::extend' when loading 'rasterVis'
    Warning: replacing previous import 'raster::yFromRow' by 'terra::yFromRow' when loading 'rasterVis'
    Warning: replacing previous import 'raster::crs' by 'terra::crs' when loading 'rasterVis'
    Warning: replacing previous import 'raster::clamp' by 'terra::clamp' when loading 'rasterVis'
    Warning: replacing previous import 'raster::colFromCell' by 'terra::colFromCell' when loading 'rasterVis'
    Warning: replacing previous import 'raster::zonal' by 'terra::zonal' when loading 'rasterVis'
    Warning: replacing previous import 'raster::boundaries' by 'terra::boundaries' when loading 'rasterVis'
    Warning: replacing previous import 'raster::symdif' by 'terra::symdif' when loading 'rasterVis'
    Warning: replacing previous import 'raster::ncol<-' by 'terra::ncol<-' when loading 'rasterVis'
    Warning: replacing previous import 'raster::origin' by 'terra::origin' when loading 'rasterVis'
    Warning: replacing previous import 'raster::rowColFromCell' by 'terra::rowColFromCell' when loading 'rasterVis'
    Warning: replacing previous import 'raster::terrain' by 'terra::terrain' when loading 'rasterVis'
    Warning: replacing previous import 'raster::geom' by 'terra::geom' when loading 'rasterVis'
    Warning: replacing previous import 'raster::xFromCell' by 'terra::xFromCell' when loading 'rasterVis'
    Warning: replacing previous import 'raster::crs<-' by 'terra::crs<-' when loading 'rasterVis'
    Warning: replacing previous import 'raster::rowFromCell' by 'terra::rowFromCell' when loading 'rasterVis'
    Warning: replacing previous import 'raster::inMemory' by 'terra::inMemory' when loading 'rasterVis'
    Warning: replacing previous import 'raster::xmax<-' by 'terra::xmax<-' when loading 'rasterVis'
    Warning: replacing previous import 'raster::crosstab' by 'terra::crosstab' when loading 'rasterVis'
    Warning: replacing previous import 'raster::disaggregate' by 'terra::disaggregate' when loading 'rasterVis'
    Warning: replacing previous import 'raster::zoom' by 'terra::zoom' when loading 'rasterVis'
    Warning: replacing previous import 'raster::values<-' by 'terra::values<-' when loading 'rasterVis'
    Warning: replacing previous import 'raster::setMinMax' by 'terra::setMinMax' when loading 'rasterVis'
    Warning: replacing previous import 'raster::distance' by 'terra::distance' when loading 'rasterVis'
    Warning: replacing previous import 'raster::readStop' by 'terra::readStop' when loading 'rasterVis'
    Warning: replacing previous import 'raster::origin<-' by 'terra::origin<-' when loading 'rasterVis'
    Warning: replacing previous import 'raster::flip' by 'terra::flip' when loading 'rasterVis'
    Warning: replacing previous import 'raster::crop' by 'terra::crop' when loading 'rasterVis'
    Warning: replacing previous import 'raster::xFromCol' by 'terra::xFromCol' when loading 'rasterVis'
    Warning: replacing previous import 'raster::interpolate' by 'terra::interpolate' when loading 'rasterVis'
    Warning: replacing previous import 'raster::bbox' by 'terra::bbox' when loading 'rasterVis'
    Warning: replacing previous import 'raster::shift' by 'terra::shift' when loading 'rasterVis'
    Warning: replacing previous import 'raster::focal' by 'terra::focal' when loading 'rasterVis'
    Warning: replacing previous import 'raster::buffer' by 'terra::buffer' when loading 'rasterVis'
    Warning: replacing previous import 'raster::ymin<-' by 'terra::ymin<-' when loading 'rasterVis'
    Warning: replacing previous import 'raster::colFromX' by 'terra::colFromX' when loading 'rasterVis'
    Warning: replacing previous import 'raster::ymax' by 'terra::ymax' when loading 'rasterVis'
    Warning: replacing previous import 'raster::rectify' by 'terra::rectify' when loading 'rasterVis'
    Warning: replacing previous import 'raster::xmax' by 'terra::xmax' when loading 'rasterVis'
    Warning: replacing previous import 'raster::rowFromY' by 'terra::rowFromY' when loading 'rasterVis'
    Warning: replacing previous import 'raster::plotRGB' by 'terra::plotRGB' when loading 'rasterVis'
    Error in (function (classes, fdef, mtable) :
     unable to find an inherited method for function 'xmin' for signature '"Extent"'
    Calls: levelplot ... levelplot -> .local -> .levelplot -> xmin -> <Anonymous>
    Execution halted
Flavor: r-oldrel-windows-ix86+x86_64