CRAN Package Check Results for Package terra

Last updated on 2022-05-22 08:54:46 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.5-21 488.01 345.94 833.95 WARN
r-devel-linux-x86_64-debian-gcc 1.5-21 454.30 248.72 703.02 NOTE
r-devel-linux-x86_64-fedora-clang 1.5-21 1130.52 WARN
r-devel-linux-x86_64-fedora-gcc 1.5-21 1135.76 OK
r-devel-windows-x86_64 1.5-21 628.00 835.00 1463.00 NOTE
r-patched-linux-x86_64 1.5-21 476.69 324.96 801.65 OK
r-release-linux-x86_64 1.5-21 464.60 322.82 787.42 OK
r-release-macos-arm64 1.5-21 454.00 ERROR
r-release-macos-x86_64 1.5-21 43.00 ERROR
r-release-windows-x86_64 1.5-21 651.00 834.00 1485.00 NOTE
r-oldrel-macos-arm64 1.5-21 251.00 NOTE
r-oldrel-macos-x86_64 1.5-21 393.00 NOTE
r-oldrel-windows-ix86+x86_64 1.5-21 1257.00 872.00 2129.00 NOTE

Additional issues

clang14

Check Details

Version: 1.5-21
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     RcppFunctions.cpp:389:14: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     arith.cpp:166:8: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./vecmath.h:621:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     ./vecmath.h:642:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     ./vecmath.h:686:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     ./vecmath.h:664:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     gdalio.cpp:316:13: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./geos_spat.h:332:6: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     raster_methods.cpp:1166:9: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     raster_methods.cpp:2712:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     raster_methods.cpp:2727:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     raster_methods.cpp:2744:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     raster_methods.cpp:2761:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     raster_methods.cpp:2833:11: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     raster_methods.cpp:2868:12: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     raster_methods.cpp:2891:12: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     raster_methods.cpp:2929:12: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     raster_methods.cpp:2953:12: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     raster_stats.cpp:177:6: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     spatBase.cpp:440:10: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     spatRaster.cpp:1658:21: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     spatRaster.cpp:2011:6: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     spatVector.cpp:798:7: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     spatVector.cpp:866:7: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./vecmath.h:485:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     write_gdal.cpp:355:6: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
Flavor: r-devel-linux-x86_64-debian-clang

Version: 1.5-21
Check: HTML version of manual
Result: NOTE
    Found the following problems:
    terra-package.Rd:37:1: Warning: trimming empty <h3>
    terra-package.Rd:801:1: Warning: trimming empty <h3>
    terra-package.Rd:837:1: Warning: trimming empty <h3>
    terra-package.Rd:1202:1: Warning: trimming empty <h3>
    terra-package.Rd:1237:1: Warning: trimming empty <h3>
    terra-package.Rd:1283:1: Warning: trimming empty <h3>
    terra-package.Rd:1489:1: Warning: trimming empty <h3>
    terra-package.Rd:1716:1: Warning: trimming empty <h3>
Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

Version: 1.5-21
Check: whether package can be installed
Result: WARN
    Found the following significant warnings:
     RcppFunctions.cpp:389:14: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     arith.cpp:166:8: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./vecmath.h:621:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     ./vecmath.h:642:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     ./vecmath.h:686:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     ./vecmath.h:664:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     gdalio.cpp:316:13: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./geos_spat.h:332:6: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     raster_methods.cpp:1166:9: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     raster_methods.cpp:2712:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     raster_methods.cpp:2727:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     raster_methods.cpp:2744:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     raster_methods.cpp:2761:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     raster_methods.cpp:2833:11: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     raster_methods.cpp:2868:12: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     raster_methods.cpp:2891:12: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     raster_methods.cpp:2929:12: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     raster_methods.cpp:2953:12: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     raster_stats.cpp:177:6: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     spatBase.cpp:440:10: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     spatVector.cpp:798:7: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     spatVector.cpp:866:7: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     spatRaster.cpp:1658:21: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     spatRaster.cpp:2011:6: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
     ./vecmath.h:485:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
     write_gdal.cpp:355:6: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
Flavor: r-devel-linux-x86_64-fedora-clang

Version: 1.5-21
Check: installed package size
Result: NOTE
     installed size is 32.2Mb
     sub-directories of 1Mb or more:
     R 1.8Mb
     libs 29.5Mb
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-windows-x86_64, r-release-macos-arm64, r-release-windows-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-ix86+x86_64

Version: 1.5-21
Check: examples
Result: ERROR
    Running examples in ‘terra-Ex.R’ failed
    The error most likely occurred in:
    
    > ### Name: writeCDF
    > ### Title: Write raster data to a NetCDF file
    > ### Aliases: writeCDF writeCDF,SpatRasterDataset-method
    > ### writeCDF,SpatRaster-method
    > ### Keywords: spatial methods
    >
    > ### ** Examples
    >
    > f <- system.file("ex/elev.tif", package="terra")
    > r <- rast(f)
    > fname <- paste0(tempfile(), ".nc")
    > rr <- writeCDF(r, fname, overwrite=TRUE, varname="alt",
    + longname="elevation in m above sea level", unit="m")
    Warning: `/Volumes/Temp/tmp/RtmpDL93k1/file35ce4d27d462.nc' not recognized as a supported file format. (GDAL error 4)
    Error: [rast] cannot open file: /Volumes/Temp/tmp/RtmpDL93k1/file35ce4d27d462.nc
    Execution halted
Flavor: r-release-macos-arm64

Version: 1.5-21
Check: whether package can be installed
Result: ERROR
    Installation failed.
Flavor: r-release-macos-x86_64